public class GPXPreference extends DefaultTabPreferenceSetting
Modifier and Type | Class and Description |
---|---|
static class |
GPXPreference.Factory
Factory used to create a new
GPXPreference . |
Modifier and Type | Field and Description |
---|---|
private GPXSettingsPanel |
gpxPanel |
Constructor and Description |
---|
GPXPreference() |
Modifier and Type | Method and Description |
---|---|
void |
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.
|
String |
getHelpContext()
Returns the help context for this preferences settings tab.
|
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.
|
addSubTab, addSubTab, canBeHidden, createPreferenceTabWithScrollPane, getDescription, getIconName, getSelectedSubTab, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTab
saveBoolean, saveDouble, saveInt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIcon
private GPXSettingsPanel gpxPanel
GPXPreference()
public void addGui(PreferenceTabbedPane gui)
PreferenceSetting
gui
- the preferences tab panepublic boolean ok()
PreferenceSetting
true
if restart is requiredpublic boolean isExpert()
PreferenceSetting
isExpert
in interface PreferenceSetting
isExpert
in class DefaultPreferenceSetting
public String getHelpContext()
TabPreferenceSetting
getHelpContext
in interface TabPreferenceSetting
getHelpContext
in class DefaultTabPreferenceSetting