public class GaussKruegerProjectionChoice extends ListProjectionChoice
ListProjectionChoice.CBPanel| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String[] |
zones |
defaultIndex, entries, index, labelid, name| Constructor and Description |
|---|
GaussKruegerProjectionChoice()
Constructs a new
GaussKruegerProjectionChoice. |
| 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, setPreferencesgetId, getProjection, toStringprivate static java.lang.String[] zones
public GaussKruegerProjectionChoice()
GaussKruegerProjectionChoice.public java.lang.String getCurrentCode()
AbstractProjectionChoicegetCurrentCode in class AbstractProjectionChoiceprotected java.lang.String indexToZone(int index)
ListProjectionChoiceindexToZone in class ListProjectionChoiceindex - 0-based indexListProjectionChoice.zoneToIndex(java.lang.String)protected int zoneToIndex(java.lang.String zone)
ListProjectionChoicezoneToIndex in class ListProjectionChoicezone - preference valueListProjectionChoice.indexToZone(int)public java.lang.String[] allCodes()
ProjectionChoicepublic java.util.Collection<java.lang.String> getPreferencesFromCode(java.lang.String code)
ProjectionChoicecode - projection codepublic java.lang.String getProjectionName()
AbstractProjectionChoicegetProjectionName in class AbstractProjectionChoice