Class ExtensibleTabPreferenceSetting
- java.lang.Object
-
- org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
-
- org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
-
- org.openstreetmap.josm.gui.preferences.ExtensibleTabPreferenceSetting
-
- All Implemented Interfaces:
PreferenceSetting
,TabPreferenceSetting
- Direct Known Subclasses:
ColorPreference
,DisplayPreference
,ImageryPreference
,PluginPreference
,ValidatorPreference
public abstract class ExtensibleTabPreferenceSetting extends DefaultTabPreferenceSetting
Abstract base class forTabPreferenceSetting
implementations extensible solely by inner tabs. Support for common functionality, like icon, title and adding a tab (SubPreferenceSetting
).- Since:
- 17314
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtensibleTabPreferenceSetting()
Constructs a newExtensibleTabPreferenceSetting
.protected
ExtensibleTabPreferenceSetting(java.lang.String iconName, java.lang.String title, java.lang.String description)
protected
ExtensibleTabPreferenceSetting(java.lang.String iconName, java.lang.String title, java.lang.String description, boolean isExpert)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.-
Methods inherited from class org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
addSubTab, addSubTab, canBeHidden, createPreferenceTabWithScrollPane, getDescription, getHelpContext, getIconName, getSelectedSubTab, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTab
-
Methods inherited from class org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
isExpert, saveBoolean, saveDouble, saveInt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.gui.preferences.PreferenceSetting
isExpert, ok
-
Methods inherited from interface org.openstreetmap.josm.gui.preferences.TabPreferenceSetting
getIcon
-
-
-
-
Constructor Detail
-
ExtensibleTabPreferenceSetting
protected ExtensibleTabPreferenceSetting()
Constructs a newExtensibleTabPreferenceSetting
.
-
ExtensibleTabPreferenceSetting
protected ExtensibleTabPreferenceSetting(java.lang.String iconName, java.lang.String title, java.lang.String description)
-
ExtensibleTabPreferenceSetting
protected ExtensibleTabPreferenceSetting(java.lang.String iconName, java.lang.String title, java.lang.String description, boolean isExpert)
-
-
Method Detail
-
addGui
public void addGui(PreferenceTabbedPane gui)
Description copied from interface:PreferenceSetting
Add the GUI elements to the dialog. The elements should be initialized after the current preferences.- Parameters:
gui
- the preferences tab pane
-
-