public static enum SoCylinder.PartType extends java.lang.Enum<SoCylinder.PartType> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
ALL
All parts.
|
BOTTOM
The bottom circular face.
|
SIDES
The cylindrical part.
|
TOP
The top circular face.
|
| Modifier and Type | Method and Description |
|---|---|
static SoCylinder.PartType |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoCylinder.PartType |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoCylinder.PartType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoCylinder.PartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoCylinder.PartType SIDES
public static final SoCylinder.PartType TOP
public static final SoCylinder.PartType BOTTOM
public static final SoCylinder.PartType ALL
public static SoCylinder.PartType[] values()
for (SoCylinder.PartType c : SoCylinder.PartType.values()) System.out.println(c);
public static SoCylinder.PartType 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 null@Deprecated public static SoCylinder.PartType fromValue(int val)
valueOf(int) instead.public static SoCylinder.PartType valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com