public static enum RnDisplayObject.Category extends java.lang.Enum<RnDisplayObject.Category>
RnDisplayObjects
bestimmt, wann er gezeichnet wird.
Im DOTRnPainter
wird diese Kategorie mit der des aktiven DOTRn
-Objekts
verglichen: ist sie kleiner oder gleich deren Wert, so wird das Objekt gezeichnet.Modifier and Type | Method and 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.
|
public static final RnDisplayObject.Category NULL
public static final RnDisplayObject.Category ONE
public static final RnDisplayObject.Category TWO
public static final RnDisplayObject.Category THREE
public static final RnDisplayObject.Category FOUR
public static RnDisplayObject.Category[] values()
for (RnDisplayObject.Category c : RnDisplayObject.Category.values()) System.out.println(c);
public static RnDisplayObject.Category 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 int getOrdinal()