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

java.lang.Object
  extended by org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
      extended by org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
          extended by org.openstreetmap.josm.gui.preferences.projection.UTM_France_DOM_ProjectionChoice
All Implemented Interfaces:
ProjectionChoice

public class UTM_France_DOM_ProjectionChoice
extends ListProjectionChoice


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
ListProjectionChoice.CBPanel
 
Field Summary
private static java.lang.Integer FortMarigotEPSG
           
private static java.lang.String FortMarigotName
           
private static java.lang.String Guyane92Name
           
private static java.lang.Integer GuyaneEPSG
           
private static java.lang.Integer MartiniqueEPSG
           
private static java.lang.String MartiniqueName
           
private static java.lang.String Reunion92Name
           
private static java.lang.Integer ReunionEPSG
           
private static java.lang.Integer SainteAnneEPSG
           
private static java.lang.String SainteAnneName
           
private static java.lang.Integer[] utmEPSGs
           
private static java.lang.String[] utmGeodesicsNames
           
 
Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
defaultIndex, entries, index, label
 
Fields inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
cacheDir, id, name
 
Constructor Summary
UTM_France_DOM_ProjectionChoice()
           
 
Method Summary
 java.lang.String[] allCodes()
          Return all projection codes supported by this projection choice.
 java.lang.String getCurrentCode()
           
 java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
          Get Preferences from projection code.
 java.lang.String getProjectionName()
           
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 org.openstreetmap.josm.gui.preferences.projection.ListProjectionChoice
getPreferencePanel, getPreferences, setPreferences
 
Methods inherited from class org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice
getCacheDir, getId, getProjection, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

FortMarigotEPSG

private static final java.lang.Integer FortMarigotEPSG

SainteAnneEPSG

private static final java.lang.Integer SainteAnneEPSG

MartiniqueEPSG

private static final java.lang.Integer MartiniqueEPSG

ReunionEPSG

private static final java.lang.Integer ReunionEPSG

GuyaneEPSG

private static final java.lang.Integer GuyaneEPSG

utmEPSGs

private static final java.lang.Integer[] utmEPSGs
Constructor Detail

UTM_France_DOM_ProjectionChoice

public UTM_France_DOM_ProjectionChoice()
Method Detail

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

getProjectionName

public java.lang.String getProjectionName()
Specified by:
getProjectionName in class AbstractProjectionChoice

getCurrentCode

public java.lang.String getCurrentCode()
Specified by:
getCurrentCode in class AbstractProjectionChoice

allCodes

public java.lang.String[] allCodes()
Description copied from interface: ProjectionChoice
Return all projection codes supported by this projection choice.


getPreferencesFromCode

public java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
Description copied from interface: ProjectionChoice
Get Preferences from 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.


JOSM