Class SwissGridProjectionChoice
- java.lang.Object
-
- org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
-
- org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
-
- org.openstreetmap.josm.gui.preferences.projection.SwissGridProjectionChoice
-
- All Implemented Interfaces:
ProjectionChoice
public class SwissGridProjectionChoice extends SingleProjectionChoice
ProjectionChoice for Swiss grid, CH1903 / LV03 military coordinates (EPSG:21781).This is the old system and not CH1903+ from 1995.
- See Also:
- swiss grid
-
-
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
id, name
-
-
Constructor Summary
Constructors Constructor Description SwissGridProjectionChoice()
Constructs a newSwissGridProjectionChoice
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
getId, getProjection, toString
-
-
-
-
Constructor Detail
-
SwissGridProjectionChoice
public SwissGridProjectionChoice()
Constructs a newSwissGridProjectionChoice
.
-
-
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 interfaceProjectionChoice
- Overrides:
getPreferencePanel
in classSingleProjectionChoice
- Parameters:
listener
- listener for any change of preferences- Returns:
- the GUI panel
-
-