-
- All Known Implementing Classes:
AppearanceSettingsPage,KeymapSettingsPage,SelectAndEditProfileSettingsPage,SimpleSettingsPage
public interface SettingsPageA content page in aSettingsPanel.- Author:
- Tobias Pietzsch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply()Called by theSettingsPanelif user presses "OK" or "Apply".voidcancel()Called by theSettingsPanelif user presses "Cancel".JPanelgetJPanel()StringgetTreePath()Get the path of this page in the settings tree.org.scijava.listeners.Listeners<ModificationListener>modificationListeners()
-
-
-
Method Detail
-
getTreePath
String getTreePath()
Get the path of this page in the settings tree.The path is split at "
>" to get the nodes along the settings tree branch.- Returns:
- the path.
-
getJPanel
JPanel getJPanel()
-
modificationListeners
org.scijava.listeners.Listeners<ModificationListener> modificationListeners()
-
cancel
void cancel()
Called by theSettingsPanelif user presses "Cancel". Should restore any modified state to the original state.
-
apply
void apply()
Called by theSettingsPanelif user presses "OK" or "Apply". Should commit any modified state.
-
-