public class GaussKruegerProjectionChoice extends ListProjectionChoice
ListProjectionChoice.CBPanel| Modifier and Type | Field and Description |
|---|---|
private static String[] |
zones |
defaultIndex, entries, index, labelcacheDir, id, name| Constructor and Description |
|---|
GaussKruegerProjectionChoice()
Constructs a new
GaussKruegerProjectionChoice. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
allCodes()
Return all projection codes supported by this projection choice.
|
String |
getCurrentCode() |
Collection<String> |
getPreferencesFromCode(String code)
Get Preferences from projection code.
|
String |
getProjectionName() |
protected String |
indexToZone(int index)
Convert 0-based index to preference value.
|
protected int |
zoneToIndex(String zone)
Convert preference value to 0-based index.
|
getPreferencePanel, getPreferences, setPreferencesgetCacheDir, getId, getProjection, toStringpublic GaussKruegerProjectionChoice()
GaussKruegerProjectionChoice.public String getCurrentCode()
getCurrentCode in class AbstractProjectionChoiceprotected String indexToZone(int index)
ListProjectionChoiceindexToZone in class ListProjectionChoiceprotected int zoneToIndex(String zone)
ListProjectionChoicezoneToIndex in class ListProjectionChoicepublic String[] allCodes()
ProjectionChoicepublic Collection<String> getPreferencesFromCode(String code)
ProjectionChoicepublic String getProjectionName()
getProjectionName in class AbstractProjectionChoice