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

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

public class SwissGridProjectionChoice
extends SingleProjectionChoice


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, getAlias, getId, getPreferences, getPreferencesFromCode, getProjection, setPreferences, toString
 
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