public enum DistanceRasterType extends java.lang.Enum<DistanceRasterType> implements PropertyValue
DistanceRasterType
ist eine Enumeration für die verschiedenen Abstandsstufen des
Kilometrierungs- und des Stationierungs-Plugins.Enum Constant and Description |
---|
FIFTY
FIFTY steht für die 50-Meter-Stufe |
FIFTY_THOUSAND
FIFTY_THOUSAND steht für die 50-Kilometer-Stufe |
FIVE_HUNDRED
FIVE_HUNDRED steht für die 500-Meter-Stufe |
FIVE_THOUSAND
FIVE_THOUSAND steht für die 5-Kilometer-Stufe |
ONE_HUNDRED
ONE_HUNDRED steht für die 100-Meter-Stufe |
ONE_THOUSAND
ONE_THOUSAND steht für die 1-Kilometer-Stufe |
TEN
TEN steht für die 10-Meter-Stufe |
TEN_THOUSAND
TEN_THOUSAND steht für die 10-Kilometer-Stufe |
Modifier and Type | Method and Description |
---|---|
java.text.DecimalFormat |
getFormat() |
static DistanceRasterType |
getType(int value) |
int |
getValue() |
void |
putPreferences(java.util.prefs.Preferences prefs)
Diese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel
"PROPERTY_VALUE"(verplichtend) weg.
|
java.lang.String |
toString() |
static DistanceRasterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceRasterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceRasterType TEN
TEN
steht für die 10-Meter-Stufepublic static final DistanceRasterType FIFTY
FIFTY
steht für die 50-Meter-Stufepublic static final DistanceRasterType ONE_HUNDRED
ONE_HUNDRED
steht für die 100-Meter-Stufepublic static final DistanceRasterType FIVE_HUNDRED
FIVE_HUNDRED
steht für die 500-Meter-Stufepublic static final DistanceRasterType ONE_THOUSAND
ONE_THOUSAND
steht für die 1-Kilometer-Stufepublic static final DistanceRasterType FIVE_THOUSAND
FIVE_THOUSAND
steht für die 5-Kilometer-Stufepublic static final DistanceRasterType TEN_THOUSAND
TEN_THOUSAND
steht für die 10-Kilometer-Stufepublic static final DistanceRasterType FIFTY_THOUSAND
FIFTY_THOUSAND
steht für die 50-Kilometer-Stufepublic static DistanceRasterType[] values()
for (DistanceRasterType c : DistanceRasterType.values()) System.out.println(c);
public static DistanceRasterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void putPreferences(java.util.prefs.Preferences prefs)
PropertyValue
putPreferences
in interface PropertyValue
prefs
- die Preferences@Nullable public static DistanceRasterType getType(int value)
value
- ein Wert einer Kilometrierungsstufenull
public int getValue()
public java.text.DecimalFormat getFormat()
public java.lang.String toString()
toString
in class java.lang.Enum<DistanceRasterType>