All Packages Class Hierarchy This Package Previous Next Index
Class jumbo.xml.gui.TabbedPane
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JTabbedPane
|
+----jumbo.xml.gui.TabbedPane
- public class TabbedPane
- extends JTabbedPane
a simple implementation of JTabbedPane to support jumbo.xml. Components
are cached in a Hashtable so cannot be added several times by mistake.
Tooltips are enabled.
- Author:
- P.Murray-Rust, 1998
-
MAXTABLENGTH
- the initial maximum character length of tabs
-
TabbedPane()
- default constructor
-
add(Component, String, String)
- add a component, supported by title (on the tab) and tooltip for that tab
-
setMaxTabLength(int)
- change the maximum tab length.
MAXTABLENGTH
public static final int MAXTABLENGTH
- the initial maximum character length of tabs
TabbedPane
public TabbedPane()
- default constructor
add
public void add(Component component,
String title,
String toolTip)
- add a component, supported by title (on the tab) and tooltip for that tab
- Parameters:
- Component - component the component
- String - title the title (truncated if too long)
- String - toolTip the tooltip for the tab
setMaxTabLength
public void setMaxTabLength(int max)
- change the maximum tab length. Will not affect existing tabs
- Parameters:
- int - max new maximum length of tab in characters.
All Packages Class Hierarchy This Package Previous Next Index