org.openstreetmap.josm.gui.preferences.projection
Class SwissGridProjectionChoice

java.lang.Object
  extended by org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
      extended by org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
          extended by org.openstreetmap.josm.gui.preferences.projection.SwissGridProjectionChoice
All Implemented Interfaces:
ProjectionChoice

public class SwissGridProjectionChoice
extends SingleProjectionChoice


Field Summary
 
Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
code
 
Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
cacheDir, id, name
 
Constructor Summary
SwissGridProjectionChoice()
           
 
Method Summary
 javax.swing.JPanel getPreferencePanel(java.awt.event.ActionListener listener)
          Generate and provide the GUI.
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
allCodes, getCurrentCode, getPreferences, getPreferencesFromCode, getProjectionName, setPreferences, toString
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
getCacheDir, getId, getProjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwissGridProjectionChoice

public SwissGridProjectionChoice()
Method Detail

getPreferencePanel

public javax.swing.JPanel getPreferencePanel(java.awt.event.ActionListener listener)
Description copied from interface: ProjectionChoice
Generate and provide the GUI. It will be displayed to the user. Call the listener, when the user makes changes in the GUI, so the projection info in the top panel gets updated.

Specified by:
getPreferencePanel in interface ProjectionChoice
Overrides:
getPreferencePanel in class SingleProjectionChoice
Parameters:
listener - listener for any change of preferences
Returns:
the GUI panel


JOSM