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 ConstantDescriptionFIFTYsteht für die 50-Meter-StufeFIFTY_THOUSANDsteht für die 50-Kilometer-StufeFIVE_HUNDREDsteht für die 500-Meter-StufeFIVE_THOUSANDsteht für die 5-Kilometer-StufeONE_HUNDREDsteht für die 100-Meter-StufeONE_THOUSANDsteht für die 1-Kilometer-StufeTENsteht für die 10-Meter-StufeTEN_THOUSANDsteht für die 10-Kilometer-Stufe -
Method Summary
Modifier and TypeMethodDescriptionstatic DistanceRasterTypegetType(int value) intgetValue()voidputPreferences(Preferences prefs) Diese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel "PROPERTY_VALUE"(verplichtend) weg.toString()static DistanceRasterTypeReturns 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
TENsteht für die 10-Meter-Stufe -
FIFTY
FIFTYsteht für die 50-Meter-Stufe -
ONE_HUNDRED
ONE_HUNDREDsteht für die 100-Meter-Stufe -
FIVE_HUNDRED
FIVE_HUNDREDsteht für die 500-Meter-Stufe -
ONE_THOUSAND
ONE_THOUSANDsteht für die 1-Kilometer-Stufe -
FIVE_THOUSAND
FIVE_THOUSANDsteht für die 5-Kilometer-Stufe -
TEN_THOUSAND
TEN_THOUSANDsteht für die 10-Kilometer-Stufe -
FIFTY_THOUSAND
FIFTY_THOUSANDsteht 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:PropertyValueDiese Methode schreibt einen Wert der implentierenden Klasse unter dem Schlüssel "PROPERTY_VALUE"(verplichtend) weg.- Specified by:
putPreferencesin 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:
toStringin classEnum<DistanceRasterType>
-