public static enum NodeElement.SymbolShape extends Enum<NodeElement.SymbolShape>
Enum Constant and Description |
---|
CIRCLE |
DECAGON |
HEPTAGON |
HEXAGON |
NONAGON |
OCTAGON |
PENTAGON |
SQUARE |
TRIANGLE |
Modifier and Type | Method and Description |
---|---|
static NodeElement.SymbolShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeElement.SymbolShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeElement.SymbolShape SQUARE
public static final NodeElement.SymbolShape CIRCLE
public static final NodeElement.SymbolShape TRIANGLE
public static final NodeElement.SymbolShape PENTAGON
public static final NodeElement.SymbolShape HEXAGON
public static final NodeElement.SymbolShape HEPTAGON
public static final NodeElement.SymbolShape OCTAGON
public static final NodeElement.SymbolShape NONAGON
public static final NodeElement.SymbolShape DECAGON
public static NodeElement.SymbolShape[] values()
for (NodeElement.SymbolShape c : NodeElement.SymbolShape.values()) System.out.println(c);
public static NodeElement.SymbolShape 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 null