public final class ServerAccessPreference extends DefaultTabPreferenceSetting
Modifier and Type | Class and Description |
---|---|
static class |
ServerAccessPreference.Factory
Factory used to create a new
ServerAccessPreference . |
Modifier and Type | Field and Description |
---|---|
private OsmApiUrlInputPanel |
pnlApiUrlPreferences
indicates whether to use the default OSM URL or not
|
Modifier | Constructor and Description |
---|---|
private |
ServerAccessPreference() |
Modifier and Type | Method and Description |
---|---|
void |
addApiUrlChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener that will be notified of API URL change.
|
void |
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.
|
protected javax.swing.JPanel |
buildContentPanel()
Builds the panel for entering the server access preferences
|
protected javax.swing.JPanel |
buildTabbedServerPreferences()
Builds the tabbed pane with the server preferences
|
boolean |
ok()
Saves the values to the preferences
|
addSubTab, addSubTab, createPreferenceTabWithScrollPane, getDescription, getIconName, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTab
isExpert
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isExpert
private OsmApiUrlInputPanel pnlApiUrlPreferences
private ServerAccessPreference()
protected javax.swing.JPanel buildTabbedServerPreferences()
protected javax.swing.JPanel buildContentPanel()
public final void addApiUrlChangeListener(java.beans.PropertyChangeListener listener)
listener
- the listenerpublic void addGui(PreferenceTabbedPane gui)
PreferenceSetting
public boolean ok()