- java.lang.Object
-
- bdv.ui.appearance.AppearanceSettingsPage
-
- All Implemented Interfaces:
SettingsPage
public class AppearanceSettingsPage extends Object implements SettingsPage
Preferences page for changingAppearance.
-
-
Constructor Summary
Constructors Constructor Description AppearanceSettingsPage(AppearanceManager manager)AppearanceSettingsPage(String treePath, AppearanceManager manager)
-
Method Summary
All Methods Instance Methods Concrete 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()
-
-
-
Constructor Detail
-
AppearanceSettingsPage
public AppearanceSettingsPage(AppearanceManager manager)
-
AppearanceSettingsPage
public AppearanceSettingsPage(String treePath, AppearanceManager manager)
-
-
Method Detail
-
getTreePath
public String getTreePath()
Description copied from interface:SettingsPageGet the path of this page in the settings tree.The path is split at "
>" to get the nodes along the settings tree branch.- Specified by:
getTreePathin interfaceSettingsPage- Returns:
- the path.
-
getJPanel
public JPanel getJPanel()
- Specified by:
getJPanelin interfaceSettingsPage
-
modificationListeners
public org.scijava.listeners.Listeners<ModificationListener> modificationListeners()
- Specified by:
modificationListenersin interfaceSettingsPage
-
cancel
public void cancel()
Description copied from interface:SettingsPageCalled by theSettingsPanelif user presses "Cancel". Should restore any modified state to the original state.- Specified by:
cancelin interfaceSettingsPage
-
apply
public void apply()
Description copied from interface:SettingsPageCalled by theSettingsPanelif user presses "OK" or "Apply". Should commit any modified state.- Specified by:
applyin interfaceSettingsPage
-
-