public static enum LinCompf.ComponentType extends Enum<LinCompf.ComponentType>
Enum Constant and Description |
---|
CT_EMPTY |
CT_LINE |
CT_POINT |
CT_RAY |
CT_SEGMENT |
Modifier and Type | Field and Description |
---|---|
private int |
m_iValue |
Modifier and Type | Method and Description |
---|---|
int |
Value() |
static LinCompf.ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinCompf.ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinCompf.ComponentType CT_EMPTY
public static final LinCompf.ComponentType CT_POINT
public static final LinCompf.ComponentType CT_SEGMENT
public static final LinCompf.ComponentType CT_RAY
public static final LinCompf.ComponentType CT_LINE
public static LinCompf.ComponentType[] values()
for (LinCompf.ComponentType c : LinCompf.ComponentType.values()) System.out.println(c);
public static LinCompf.ComponentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int Value()