-
- All Known Subinterfaces:
CancelableSettingsTab
- All Known Implementing Classes:
ReminderSettingsTab
public interface SettingsTab
Represents a page in the settings dialog. If you want to detect a cancel pressed action, you should useCancelableSettingsTab
- Author:
- Martin Oberhauser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JPanel
createSettingsPanel()
Creates the settings panel for this tab.javax.swing.Icon
getIcon()
Returns the icon of the tab-sheet.java.lang.String
getTitle()
Returns the title of the tab-sheet.void
saveSettings()
Called by the host-application, if the user wants to save the settings.
-
-
-
Method Detail
-
createSettingsPanel
javax.swing.JPanel createSettingsPanel()
Creates the settings panel for this tab.- Returns:
- The panel with the settings GUI.
-
saveSettings
void saveSettings()
Called by the host-application, if the user wants to save the settings.
-
getIcon
javax.swing.Icon getIcon()
Returns the icon of the tab-sheet.
For plugins the plugin icon is used if this method returns null.- Returns:
- The icon to show for this settings tab.
-
getTitle
java.lang.String getTitle()
Returns the title of the tab-sheet.
For plugins the return value of this method is ignored since version 2.7- Returns:
- The title to show for this settings tab.
-
-