public enum EnclosureFunctionType extends Enum<EnclosureFunctionType> implements Enumeration
Solid.getEnclosureDescriptions()
.Enum Constant and Description |
---|
CLOCK_ANGLE
The enclosure function acts like a clock angle.
|
CONE_ANGLE
The enclosure function acts like a cone angle.
|
OTHER
The enclosure function is of some other type.
|
RADIAL_LIMIT
The enclosure function acts like a radial limit.
|
Modifier and Type | Method and Description |
---|---|
static EnclosureFunctionType |
getDefault()
Get the enum constant that is considered to be the default.
|
static EnclosureFunctionType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static EnclosureFunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnclosureFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnclosureFunctionType OTHER
public static final EnclosureFunctionType CONE_ANGLE
public static final EnclosureFunctionType CLOCK_ANGLE
public static final EnclosureFunctionType RADIAL_LIMIT
public static EnclosureFunctionType[] values()
for (EnclosureFunctionType c : EnclosureFunctionType.values()) System.out.println(c);
public static EnclosureFunctionType 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 getValue()
getValue
in interface Enumeration
@Nonnull public static EnclosureFunctionType getFromValue(int value)
value
- a numeric value.@Nonnull public static EnclosureFunctionType getDefault()