public class GaussKruegerProjectionChoice extends ListProjectionChoice
ListProjectionChoice.CBPanel
Modifier and Type | Field and Description |
---|---|
private static String[] |
zones |
defaultIndex, entries, index, label
cacheDir, 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, setPreferences
getCacheDir, getId, getProjection, toString
public GaussKruegerProjectionChoice()
GaussKruegerProjectionChoice
.public String getCurrentCode()
getCurrentCode
in class AbstractProjectionChoice
protected String indexToZone(int index)
ListProjectionChoice
indexToZone
in class ListProjectionChoice
protected int zoneToIndex(String zone)
ListProjectionChoice
zoneToIndex
in class ListProjectionChoice
public String[] allCodes()
ProjectionChoice
public Collection<String> getPreferencesFromCode(String code)
ProjectionChoice
public String getProjectionName()
getProjectionName
in class AbstractProjectionChoice