net.infonode.tabbedpanel
public class TabFactory extends Object
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, 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
|
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
|
Parameters: text the text icon the icon or null for no icon
Returns: the created TitledTab
Parameters: text the text icon the icon or null for no icon contentComponent the content component for the tab
Returns: the created TitledTab
Parameters: text the text icon the icon or null for no icon contentComponent the content component for the tab titleComponent the title component for the tab
Returns: the created TitledTab
Parameters: text the text icon the icon for the normal state or null for no icon highlightedIcon the icon for the highlighted state or null fo no icon disabledIcon the icon for the disabled state or null for no icon contentComponent the content component for the tab titleComponent the title component for the tab
Returns: the created TitledTab