Package de.kappich.pat.gnd.properties
Enum Class DistanceRasterType
- All Implemented Interfaces:
PropertyValue
,Serializable
,Comparable<DistanceRasterType>
,Constable
DistanceRasterType
ist eine Enumeration für die verschiedenen Abstandsstufen des Kilometrierungs- und des Stationierungs-Plugins.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFIFTY
steht für die 50-Meter-StufeFIFTY_THOUSAND
steht für die 50-Kilometer-StufeFIVE_HUNDRED
steht für die 500-Meter-StufeFIVE_THOUSAND
steht für die 5-Kilometer-StufeONE_HUNDRED
steht für die 100-Meter-StufeONE_THOUSAND
steht für die 1-Kilometer-StufeTEN
steht für die 10-Meter-StufeTEN_THOUSAND
steht für die 10-Kilometer-Stufe -
Method Summary
Modifier and TypeMethodDescriptionstatic DistanceRasterType
getType
(int value) int
getValue()
void
putPreferences
(Preferences prefs) Diese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel "PROPERTY_VALUE"(verplichtend) weg.toString()
static DistanceRasterType
Returns the enum constant of this class with the specified name.static DistanceRasterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEN
TEN
steht für die 10-Meter-Stufe -
FIFTY
FIFTY
steht für die 50-Meter-Stufe -
ONE_HUNDRED
ONE_HUNDRED
steht für die 100-Meter-Stufe -
FIVE_HUNDRED
FIVE_HUNDRED
steht für die 500-Meter-Stufe -
ONE_THOUSAND
ONE_THOUSAND
steht für die 1-Kilometer-Stufe -
FIVE_THOUSAND
FIVE_THOUSAND
steht für die 5-Kilometer-Stufe -
TEN_THOUSAND
TEN_THOUSAND
steht für die 10-Kilometer-Stufe -
FIFTY_THOUSAND
FIFTY_THOUSAND
steht für die 50-Kilometer-Stufe
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
- Parameters:
value
- ein Wert einer Kilometrierungsstufe- Returns:
- die zugehörige Kilometrierungsstufe oder
null
-
putPreferences
Description copied from interface:PropertyValue
Diese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel "PROPERTY_VALUE"(verplichtend) weg.- Specified by:
putPreferences
in interfacePropertyValue
- Parameters:
prefs
- die Preferences
-
getValue
public int getValue()- Returns:
- den Wert der Kilometrierungsstufe
-
getFormat
- Returns:
- das Dezimalformat zur Darstellung des Werts der Kilometrierungsstufe
-
toString
- Overrides:
toString
in classEnum<DistanceRasterType>
-