public enum ShapeNodeShape extends Enum<ShapeNodeShape>
ShapeNodeStyle
instances.Enum Constant and Description |
---|
DIAMOND
A symmetric parallelogram shape that has sloped edges.
|
ELLIPSE
An elliptical shape.
|
FAT_ARROW
An arrow like shape that points to the right.
|
FAT_ARROW2
An arrow like shape that points to the left.
|
HEXAGON
A regular six-sided shape,.
|
OCTAGON
A regular eight-sided shape,.
|
RECTANGLE
A rectangular shape.
|
ROUND_RECTANGLE
A rectangular shape with rounded edges.
|
SHEARED_RECTANGLE
A rectangle that is sheared in the horizontal direction to the right.
|
SHEARED_RECTANGLE2
A rectangle that is sheared in the horizontal direction to the left.
|
STAR5
A 5-star shape.
|
STAR6
A 6-star shape.
|
STAR8
An 8-star shape.
|
TRAPEZ
A trapezoid shape that is smaller at the bottom.
|
TRAPEZ2
A trapezoid shape that is smaller at the top.
|
TRIANGLE
A triangular shape that points to the top.
|
TRIANGLE2
A triangular shape that points to the bottom.
|
Modifier and Type | Method and Description |
---|---|
static ShapeNodeShape |
fromOrdinal(int ordinal) |
int |
value() |
static ShapeNodeShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeNodeShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeNodeShape DIAMOND
public static final ShapeNodeShape ELLIPSE
public static final ShapeNodeShape FAT_ARROW
public static final ShapeNodeShape FAT_ARROW2
public static final ShapeNodeShape HEXAGON
public static final ShapeNodeShape OCTAGON
public static final ShapeNodeShape RECTANGLE
public static final ShapeNodeShape ROUND_RECTANGLE
public static final ShapeNodeShape SHEARED_RECTANGLE
public static final ShapeNodeShape SHEARED_RECTANGLE2
public static final ShapeNodeShape STAR5
public static final ShapeNodeShape STAR6
public static final ShapeNodeShape STAR8
public static final ShapeNodeShape TRAPEZ
public static final ShapeNodeShape TRAPEZ2
public static final ShapeNodeShape TRIANGLE
public static final ShapeNodeShape TRIANGLE2
public static final ShapeNodeShape fromOrdinal(int ordinal)
public int value()
public static ShapeNodeShape valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static ShapeNodeShape[] values()
for (ShapeNodeShape c : ShapeNodeShape.values()) System.out.println(c);