Class UTMFranceDOMProjectionChoice
java.lang.Object
org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
org.openstreetmap.josm.gui.preferences.projection.UTMFranceDOMProjectionChoice
- All Implemented Interfaces:
ProjectionChoice
ProjectionChoice for various French overseas territories (EPSG:2969,2970,2972,2973,2975).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
ListProjectionChoice.CBPanel -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Integerprivate static final Stringprivate static final Stringprivate static final Integerprivate static final Integerprivate static final Stringprivate static final Stringprivate static final Integerprivate static final Integerprivate static final Stringprivate static final Integer[]private static final String[]Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
defaultIndex, entries, index, labelFields inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
id, name -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newUTMFranceDOMProjectionChoice. -
Method Summary
Modifier and TypeMethodDescriptionString[]allCodes()Return all projection codes supported by this projection choice.Returns current projection code.getPreferencesFromCode(String code) Get Preferences from projection code.Returns projection name.protected StringindexToZone(int index) Convert 0-based index to preference value.protected intzoneToIndex(String zone) Convert preference value to 0-based index.Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
getPreferencePanel, getPreferences, setPreferencesMethods inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
getId, getProjection, toString
-
Field Details
-
FORT_MARIGOT_NAME
-
SAINTE_ANNE_NAME
-
MARTINIQUE_NAME
-
REUNION_92_NAME
-
GUYANE_92_NAME
-
UTM_GEODESIC_NAMES
-
FORT_MARIGOT_EPSG
-
SAINTE_ANNE_EPSG
-
MARTINIQUE_EPSG
-
REUNION_EPSG
-
GUYANE_EPSG
-
UTM_EPSGS
-
-
Constructor Details
-
UTMFranceDOMProjectionChoice
public UTMFranceDOMProjectionChoice()Constructs a newUTMFranceDOMProjectionChoice.
-
-
Method Details
-
indexToZone
Description copied from class:ListProjectionChoiceConvert 0-based index to preference value.- Specified by:
indexToZonein classListProjectionChoice- Parameters:
index- 0-based index- Returns:
- preference value
- See Also:
-
zoneToIndex
Description copied from class:ListProjectionChoiceConvert preference value to 0-based index.- Specified by:
zoneToIndexin classListProjectionChoice- Parameters:
zone- preference value- Returns:
- 0-based index
- See Also:
-
getProjectionName
Description copied from class:AbstractProjectionChoiceReturns projection name.- Specified by:
getProjectionNamein classAbstractProjectionChoice- Returns:
- projection name
-
getCurrentCode
Description copied from class:AbstractProjectionChoiceReturns current projection code.- Specified by:
getCurrentCodein classAbstractProjectionChoice- Returns:
- current projection code
-
allCodes
Description copied from interface:ProjectionChoiceReturn all projection codes supported by this projection choice.- Returns:
- all supported projection codes
-
getPreferencesFromCode
Description copied from interface:ProjectionChoiceGet Preferences from projection code.- Parameters:
code- projection code- Returns:
- null when code is not part of this projection choice. An empty Collection as return value indicates, that the code is supported, but no preferences are required to set it up.
-