public class UTMFranceDOMProjectionChoice extends ListProjectionChoice
ListProjectionChoice.CBPanel
Modifier and Type | Field and Description |
---|---|
private static java.lang.Integer |
FORT_MARIGOT_EPSG |
private static java.lang.String |
FORT_MARIGOT_NAME |
private static java.lang.String |
GUYANE_92_NAME |
private static java.lang.Integer |
GUYANE_EPSG |
private static java.lang.Integer |
MARTINIQUE_EPSG |
private static java.lang.String |
MARTINIQUE_NAME |
private static java.lang.String |
REUNION_92_NAME |
private static java.lang.Integer |
REUNION_EPSG |
private static java.lang.Integer |
SAINTE_ANNE_EPSG |
private static java.lang.String |
SAINTE_ANNE_NAME |
private static java.lang.Integer[] |
UTM_EPSGS |
private static java.lang.String[] |
UTM_GEODESIC_NAMES |
defaultIndex, entries, index, label
id, name
Constructor and Description |
---|
UTMFranceDOMProjectionChoice()
Constructs a new
UTMFranceDOMProjectionChoice . |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
allCodes()
Return all projection codes supported by this projection choice.
|
java.lang.String |
getCurrentCode()
Returns current projection code.
|
java.util.Collection<java.lang.String> |
getPreferencesFromCode(java.lang.String code)
Get Preferences from projection code.
|
java.lang.String |
getProjectionName()
Returns projection name.
|
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.
|
getPreferencePanel, getPreferences, setPreferences
getId, getProjection, toString
private static final java.lang.String FORT_MARIGOT_NAME
private static final java.lang.String SAINTE_ANNE_NAME
private static final java.lang.String MARTINIQUE_NAME
private static final java.lang.String REUNION_92_NAME
private static final java.lang.String GUYANE_92_NAME
private static final java.lang.String[] UTM_GEODESIC_NAMES
private static final java.lang.Integer FORT_MARIGOT_EPSG
private static final java.lang.Integer SAINTE_ANNE_EPSG
private static final java.lang.Integer MARTINIQUE_EPSG
private static final java.lang.Integer REUNION_EPSG
private static final java.lang.Integer GUYANE_EPSG
private static final java.lang.Integer[] UTM_EPSGS
public UTMFranceDOMProjectionChoice()
UTMFranceDOMProjectionChoice
.protected java.lang.String indexToZone(int index)
ListProjectionChoice
indexToZone
in class ListProjectionChoice
index
- 0-based indexListProjectionChoice.zoneToIndex(java.lang.String)
protected int zoneToIndex(java.lang.String zone)
ListProjectionChoice
zoneToIndex
in class ListProjectionChoice
zone
- preference valueListProjectionChoice.indexToZone(int)
public java.lang.String getProjectionName()
AbstractProjectionChoice
getProjectionName
in class AbstractProjectionChoice
public java.lang.String getCurrentCode()
AbstractProjectionChoice
getCurrentCode
in class AbstractProjectionChoice
public java.lang.String[] allCodes()
ProjectionChoice
public java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
ProjectionChoice
code
- projection code