| java.lang.Object net.infonode.tabbedpanel.TabFactory
TabFactory | public class TabFactory (Code) | | Factory methods for creating different tabs
author: $Author: jesper $ version: $Revision: 1.10 $ See Also: Tab See Also: TitledTab |
Method Summary | |
public static TitledTab | createTitledTab(String text, Icon icon) | public static TitledTab | createTitledTab(String text, Icon icon, JComponent contentComponent) | public static TitledTab | createTitledTab(String text, Icon icon, JComponent contentComponent, JComponent titleComponent) | public static TitledTab | createTitledTab(String text, Icon icon, Icon highlightedIcon, Icon disabledIcon, JComponent contentComponent, JComponent titleComponent) |
createTitledTab | public static TitledTab createTitledTab(String text, Icon icon)(Code) | | Creates a TitledTab with a text and an icon
Parameters: text - the text Parameters: icon - the icon or null for no icon the created TitledTab |
createTitledTab | public static TitledTab createTitledTab(String text, Icon icon, JComponent contentComponent)(Code) | | Creates a TitledTab with a text, an icon and a content component
Parameters: text - the text Parameters: icon - the icon or null for no icon Parameters: contentComponent - the content component for the tab the created TitledTab |
createTitledTab | public static TitledTab createTitledTab(String text, Icon icon, JComponent contentComponent, JComponent titleComponent)(Code) | | Creates a TitledTab with a text, an icon, a title component and a
content component
Parameters: text - the text Parameters: icon - the icon or null for no icon Parameters: contentComponent - the content component for the tab Parameters: titleComponent - the title component for the tab the created TitledTab |
createTitledTab | public static TitledTab createTitledTab(String text, Icon icon, Icon highlightedIcon, Icon disabledIcon, JComponent contentComponent, JComponent titleComponent)(Code) | | 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 Parameters: icon - the icon for the normal state or null for no icon Parameters: highlightedIcon - the icon for the highlighted state or null fo no icon Parameters: disabledIcon - the icon for the disabled state or null for no icon Parameters: contentComponent - the content component for the tab Parameters: titleComponent - the title component for the tab the created TitledTab |
|
|