public enum LinkShapeType extends Enum<LinkShapeType>
| Enum Constant and Description |
|---|
CURVE
Describes a curve line.
|
STRAIGHT
Describes a straight line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns value for enumeration.
|
static LinkShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkShapeType STRAIGHT
public static final LinkShapeType CURVE
public static LinkShapeType[] values()
for (LinkShapeType c : LinkShapeType.values()) System.out.println(c);
public static LinkShapeType 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 String getValue()