public interface TabPreferenceSetting extends PreferenceSetting
Modifier and Type | Method and Description |
---|---|
void |
addSubTab(SubPreferenceSetting sub,
java.lang.String title,
java.awt.Component component)
Adds a new sub preference settings tab with the given title and component.
|
void |
addSubTab(SubPreferenceSetting sub,
java.lang.String title,
java.awt.Component component,
java.lang.String tip)
Adds a new sub preference settings tab with the given title, component and tooltip.
|
java.lang.String |
getDescription()
Called during preferences tab initialization to display a description in one sentence for this tab.
|
java.lang.String |
getHelpContext()
Returns the help context for this preferences settings tab.
|
java.lang.String |
getIconName()
Called during preferences dialog initialization to display the preferences tab with the returned icon.
|
java.awt.Component |
getSubTab(SubPreferenceSetting sub)
Returns the tab component related to the specified sub preference settings
|
java.lang.String |
getTitle()
Called during preferences tab initialization to display its title.
|
java.lang.String |
getTooltip()
Called during preferences dialog initialization to display the preferences tab with the returned tooltip.
|
void |
registerSubTab(SubPreferenceSetting sub,
java.awt.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, ok
java.lang.String getIconName()
java.lang.String getTitle()
java.lang.String getTooltip()
java.lang.String getDescription()
void addSubTab(SubPreferenceSetting sub, java.lang.String title, java.awt.Component component)
sub
- The new sub preference settings.title
- The tab title.component
- The tab component.void addSubTab(SubPreferenceSetting sub, java.lang.String title, java.awt.Component component, java.lang.String tip)
sub
- The new sub preference settings.title
- The tab title.component
- The tab component.tip
- The tab tooltip.void registerSubTab(SubPreferenceSetting sub, java.awt.Component component)
sub
- The new sub preference settings.component
- The component for which a tab already exists.java.awt.Component getSubTab(SubPreferenceSetting sub)
sub
- The requested sub preference settings.boolean selectSubTab(SubPreferenceSetting subPref)
subPref
- The sub preference settings to be selected.java.lang.String getHelpContext()