artisynth.demos.inverse
Enum PointModel.DemoType
java.lang.Object
java.lang.Enum<PointModel.DemoType>
artisynth.demos.inverse.PointModel.DemoType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PointModel.DemoType>
- Enclosing class:
- PointModel
public static enum PointModel.DemoType
- extends java.lang.Enum<PointModel.DemoType>
Method Summary |
static PointModel.DemoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PointModel.DemoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
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 |
Point1d
public static final PointModel.DemoType Point1d
Point2d
public static final PointModel.DemoType Point2d
Point3d
public static final PointModel.DemoType Point3d
values
public static PointModel.DemoType[] 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 (PointModel.DemoType c : PointModel.DemoType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PointModel.DemoType 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