com.yobotics.simulationconstructionset.util.graphics
Enum DynamicGraphicPosition.GraphicType
java.lang.Object
java.lang.Enum<DynamicGraphicPosition.GraphicType>
com.yobotics.simulationconstructionset.util.graphics.DynamicGraphicPosition.GraphicType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DynamicGraphicPosition.GraphicType>
- Enclosing class:
- DynamicGraphicPosition
public static enum DynamicGraphicPosition.GraphicType
- extends java.lang.Enum<DynamicGraphicPosition.GraphicType>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BALL
public static final DynamicGraphicPosition.GraphicType BALL
SOLID_BALL
public static final DynamicGraphicPosition.GraphicType SOLID_BALL
CROSS
public static final DynamicGraphicPosition.GraphicType CROSS
BALL_WITH_CROSS
public static final DynamicGraphicPosition.GraphicType BALL_WITH_CROSS
ROTATED_CROSS
public static final DynamicGraphicPosition.GraphicType ROTATED_CROSS
BALL_WITH_ROTATED_CROSS
public static final DynamicGraphicPosition.GraphicType BALL_WITH_ROTATED_CROSS
DIAMOND
public static final DynamicGraphicPosition.GraphicType DIAMOND
DIAMOND_WITH_CROSS
public static final DynamicGraphicPosition.GraphicType DIAMOND_WITH_CROSS
SQUARE
public static final DynamicGraphicPosition.GraphicType SQUARE
SQUARE_WITH_CROSS
public static final DynamicGraphicPosition.GraphicType SQUARE_WITH_CROSS
ELLIPSOID
public static final DynamicGraphicPosition.GraphicType ELLIPSOID
values
public static DynamicGraphicPosition.GraphicType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DynamicGraphicPosition.GraphicType c : DynamicGraphicPosition.GraphicType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DynamicGraphicPosition.GraphicType 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 name
java.lang.NullPointerException
- if the argument is null