Package de.kappich.pat.gnd.rnPlugin
Enum RnDisplayObject.Category
- java.lang.Object
-
- java.lang.Enum<RnDisplayObject.Category>
-
- de.kappich.pat.gnd.rnPlugin.RnDisplayObject.Category
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RnDisplayObject.Category>
,java.lang.constant.Constable
- Enclosing class:
- RnDisplayObject
public static enum RnDisplayObject.Category extends java.lang.Enum<RnDisplayObject.Category>
Die Kategorie einesRnDisplayObjects
bestimmt, wann er gezeichnet wird. ImDOTRnPainter
wird diese Kategorie mit der des aktivenDOTRn
-Objekts verglichen: ist sie kleiner oder gleich deren Wert, so wird das Objekt gezeichnet.
-
-
Method Summary
Modifier and Type Method Description int
getOrdinal()
Der Getter für den Ordinal-Wert.static RnDisplayObject.Category
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RnDisplayObject.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final RnDisplayObject.Category NULL
-
ONE
public static final RnDisplayObject.Category ONE
-
TWO
public static final RnDisplayObject.Category TWO
-
THREE
public static final RnDisplayObject.Category THREE
-
FOUR
public static final RnDisplayObject.Category FOUR
-
-
Method Detail
-
values
public static RnDisplayObject.Category[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RnDisplayObject.Category valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()
Der Getter für den Ordinal-Wert.- Returns:
-
-