|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.tabbedpanel.TabFactory
Factory methods for creating different tabs
Tab
,
TitledTab
Method Summary | |
static TitledTab |
createTitledTab(String text,
Icon icon)
Creates a TitledTab with a text and an icon |
static TitledTab |
createTitledTab(String text,
Icon icon,
Icon highlightedIcon,
Icon disabledIcon,
JComponent contentComponent,
JComponent titleComponent)
Creates a TitledTab with a text, a different icon for each of the states, a title component and a content component |
static TitledTab |
createTitledTab(String text,
Icon icon,
JComponent contentComponent)
Creates a TitledTab with a text, an icon and a content component |
static TitledTab |
createTitledTab(String text,
Icon icon,
JComponent contentComponent,
JComponent titleComponent)
Creates a TitledTab with a text, an icon, a title component and a content component |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TitledTab createTitledTab(String text, Icon icon)
text
- the texticon
- the icon or null for no icon
public static TitledTab createTitledTab(String text, Icon icon, JComponent contentComponent)
text
- the texticon
- the icon or null for no iconcontentComponent
- the content component for the tab
public static TitledTab createTitledTab(String text, Icon icon, JComponent contentComponent, JComponent titleComponent)
text
- the texticon
- the icon or null for no iconcontentComponent
- the content component for the tabtitleComponent
- the title component for the tab
public static TitledTab createTitledTab(String text, Icon icon, Icon highlightedIcon, Icon disabledIcon, JComponent contentComponent, JComponent titleComponent)
text
- the texticon
- the icon for the normal state or null for no iconhighlightedIcon
- the icon for the highlighted state or null fo no icondisabledIcon
- the icon for the disabled state or null for no iconcontentComponent
- the content component for the tabtitleComponent
- the title component for the tab
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |