org.openstreetmap.josm.gui.preferences.display
Class DisplayPreference

java.lang.Object
  extended by org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
      extended by org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
          extended by org.openstreetmap.josm.gui.preferences.display.DisplayPreference
All Implemented Interfaces:
PreferenceSetting, TabPreferenceSetting

public class DisplayPreference
extends DefaultTabPreferenceSetting


Nested Class Summary
static class DisplayPreference.Factory
           
 
Field Summary
 javax.swing.JTabbedPane displaycontent
           
 
Constructor Summary
private DisplayPreference()
           
 
Method Summary
 void addGui(PreferenceTabbedPane gui)
          Add the GUI elements to the dialog.
 boolean ok()
          Called when OK is pressed to save the setting in the preferences file.
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
createPreferenceTabWithScrollPane, getDescription, getIconName, getTitle, getTooltip
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
isExpert
 
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
 

Field Detail

displaycontent

public final javax.swing.JTabbedPane displaycontent
Constructor Detail

DisplayPreference

private DisplayPreference()
Method Detail

ok

public boolean ok()
Description copied from interface: PreferenceSetting
Called when OK is pressed to save the setting in the preferences file. Return true when restart is required.


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.



JOSM