Interface PreferenceSetting
-
- All Known Subinterfaces:
SubPreferenceSetting
,TabPreferenceSetting
- All Known Implementing Classes:
AdvancedPreference
,AudioPreference
,BackupPreference
,ColorPreference
,DefaultPreferenceSetting
,DefaultTabPreferenceSetting
,DisplayPreference
,DrawingPreference
,ExtensibleTabPreferenceSetting
,GPXPreference
,ImageryPreference
,LafPreference
,LanguagePreference
,MapPaintPreference
,PluginPreference
,ProjectionPreference
,ProxyPreference
,RemoteControlPreference
,ServerAccessPreference
,ShortcutPreference
,TaggingPresetPreference
,ToolbarPreferences.Settings
,ValidatorPreference
,ValidatorTagCheckerRulesPreference
,ValidatorTestsPreference
public interface PreferenceSetting
Base interface of Preferences settings, should not be directly implemented, seeTabPreferenceSetting
andSubPreferenceSetting
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.boolean
isExpert()
Called to know if the preferences tab has only to be displayed in expert mode.boolean
ok()
Called when OK is pressed to save the setting in the preferences file.
-
-
-
Method Detail
-
addGui
void addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog. The elements should be initialized after the current preferences.- Parameters:
gui
- the preferences tab pane
-
ok
boolean ok()
Called when OK is pressed to save the setting in the preferences file. Return true when restart is required.- Returns:
true
if restart is required
-
isExpert
boolean isExpert()
Called to know if the preferences tab has only to be displayed in expert mode.- Returns:
- true if the tab has only to be displayed in expert mode, false otherwise.
-
-