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
ProjectionChoice for Swiss grid, CH1903 / LV03 military coordinates (EPSG:21781).
This is the old system and not CH1903+ from 1995.
- See Also:
-
Field Summary
Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
codeFields inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
id, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPreferencePanel(ActionListener listener) Generate and provide the GUI.Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.SingleProjectionChoice
allCodes, getCurrentCode, getPreferences, getPreferencesFromCode, getProjectionName, setPreferencesMethods inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
getId, getProjection, toString
-
Constructor Details
-
SwissGridProjectionChoice
public SwissGridProjectionChoice()Constructs a newSwissGridProjectionChoice.
-
-
Method Details
-
getPreferencePanel
Description copied from interface:ProjectionChoiceGenerate 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:
getPreferencePanelin interfaceProjectionChoice- Overrides:
getPreferencePanelin classSingleProjectionChoice- Parameters:
listener- listener for any change of preferences- Returns:
- the GUI panel
-