public enum StateType extends java.lang.Enum<StateType>
This enumeration provides a list of possible states for Geometries displayed in a jME3 scene. The states should be reflected somehow in the view, but may or may not have any direct tie to the corresponding model.
Enum Constant and Description |
---|
Disabled
The view is disabled.
|
None
The view has the normal or default features.
|
Selected
The view has been selected or has focus.
|
Temporary
The view is only temporary.
|
Modifier and Type | Method and Description |
---|---|
com.jme3.math.ColorRGBA |
getColor()
Gets the color associated with this StateType.
|
static StateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateType None
The view has the normal or default features.
public static final StateType Selected
The view has been selected or has focus.
public static final StateType Temporary
The view is only temporary.
public static final StateType Disabled
The view is disabled.
public static StateType[] values()
for (StateType c : StateType.values()) System.out.println(c);
public static StateType 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 com.jme3.math.ColorRGBA getColor()