public interface TabPreferenceSetting extends PreferenceSetting
| Modifier and Type | Method and Description |
|---|---|
void |
addSubTab(SubPreferenceSetting sub,
String title,
Component component)
Adds a new sub preference settings tab with the given title and component.
|
void |
addSubTab(SubPreferenceSetting sub,
String title,
Component component,
String tip)
Adds a new sub preference settings tab with the given title, component and tooltip.
|
String |
getDescription()
Called during preferences tab initialization to display a description in one sentence for this tab.
|
String |
getIconName()
Called during preferences dialog initialization to display the preferences tab with the returned icon.
|
Component |
getSubTab(SubPreferenceSetting sub)
Returns the tab component related to the specified sub preference settings
|
String |
getTitle()
Called during preferences tab initialization to display its title.
|
String |
getTooltip()
Called during preferences dialog initialization to display the preferences tab with the returned tooltip.
|
void |
registerSubTab(SubPreferenceSetting sub,
Component component)
Registers a sub preference settings to an existing tab component.
|
boolean |
selectSubTab(SubPreferenceSetting subPref)
Selects the specified sub preference settings, if applicable.
|
addGui, isExpert, okString getIconName()
String getTitle()
String getTooltip()
String getDescription()
void addSubTab(SubPreferenceSetting sub, String title, Component component)
sub - The new sub preference settings.title - The tab title.component - The tab component.void addSubTab(SubPreferenceSetting sub, String title, Component component, String tip)
sub - The new sub preference settings.title - The tab title.component - The tab component.tip - The tab tooltip.void registerSubTab(SubPreferenceSetting sub, Component component)
sub - The new sub preference settings.component - The component for which a tab already exists.Component getSubTab(SubPreferenceSetting sub)
sub - The requested sub preference settings.boolean selectSubTab(SubPreferenceSetting subPref)
subPref - The sub preference settings to be selected.