org.openstreetmap.josm.gui.preferences.projection
Class UTM_France_DOM_ProjectionChoice
java.lang.Object
org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
org.openstreetmap.josm.gui.preferences.projection.UTM_France_DOM_ProjectionChoice
- All Implemented Interfaces:
- Alias, ProjectionChoice
public class UTM_France_DOM_ProjectionChoice
- extends ListProjectionChoice
- implements Alias
Method Summary |
java.lang.String[] |
allCodes()
Return all projection codes supported by this projection class. |
java.lang.String |
getAlias()
|
java.util.Collection<java.lang.String> |
getPreferencesFromCode(java.lang.String code)
Get Preferences from projection code. |
Projection |
getProjection()
Get the projection that matches the internal state. |
protected java.lang.String |
indexToZone(int index)
Convert 0-based index to preference value. |
protected int |
zoneToIndex(java.lang.String zone)
Convert preference value to 0-based index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FortMarigotName
private static final java.lang.String FortMarigotName
SainteAnneName
private static final java.lang.String SainteAnneName
MartiniqueName
private static final java.lang.String MartiniqueName
Reunion92Name
private static final java.lang.String Reunion92Name
Guyane92Name
private static final java.lang.String Guyane92Name
utmGeodesicsNames
private static final java.lang.String[] utmGeodesicsNames
UTM_France_DOM_ProjectionChoice
public UTM_France_DOM_ProjectionChoice()
indexToZone
protected java.lang.String indexToZone(int index)
- Description copied from class:
ListProjectionChoice
- Convert 0-based index to preference value.
- Specified by:
indexToZone
in class ListProjectionChoice
zoneToIndex
protected int zoneToIndex(java.lang.String zone)
- Description copied from class:
ListProjectionChoice
- Convert preference value to 0-based index.
- Specified by:
zoneToIndex
in class ListProjectionChoice
getProjection
public Projection getProjection()
- Description copied from interface:
ProjectionChoice
- Get the projection that matches the internal state.
- Specified by:
getProjection
in interface ProjectionChoice
allCodes
public java.lang.String[] allCodes()
- Description copied from interface:
ProjectionChoice
- Return all projection codes supported by this projection class.
- Specified by:
allCodes
in interface ProjectionChoice
getPreferencesFromCode
public java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
- Description copied from interface:
ProjectionChoice
- Get Preferences from projection code.
- Specified by:
getPreferencesFromCode
in interface ProjectionChoice
- 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.
getAlias
public java.lang.String getAlias()
- Specified by:
getAlias
in interface Alias
JOSM