|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PredefinedShape>
prefuse.PredefinedShape
public enum PredefinedShape
Predefined ShapeBuilders
Enum Constant Summary | |
---|---|
CROSS
Cross shape |
|
DIAMOND
Diamond shape |
|
ELLIPSE
Ellipse/Circle shape |
|
HEXAGON
Hexagon shape |
|
NONE
No shape. |
|
RECTANGLE
Rectangle/Square shape |
|
STAR
Star shape |
|
TRIANGLE_DOWN
Down-pointing triangle shape |
|
TRIANGLE_LEFT
Left-pointing triangle shape |
|
TRIANGLE_RIGHT
Right-pointing triangle shape |
|
TRIANGLE_UP
Up-pointing triangle shape |
Method Summary | |
---|---|
java.awt.Shape |
createEmptyShape()
|
java.awt.Shape |
createShape(double x,
double y,
double width,
double height)
|
static PredefinedShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PredefinedShape[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface prefuse.ShapeBuilder |
---|
updateShape |
Enum Constant Detail |
---|
public static final PredefinedShape NONE
public static final PredefinedShape RECTANGLE
public static final PredefinedShape ELLIPSE
public static final PredefinedShape DIAMOND
public static final PredefinedShape CROSS
public static final PredefinedShape STAR
public static final PredefinedShape TRIANGLE_UP
public static final PredefinedShape TRIANGLE_DOWN
public static final PredefinedShape TRIANGLE_LEFT
public static final PredefinedShape TRIANGLE_RIGHT
public static final PredefinedShape HEXAGON
Method Detail |
---|
public static PredefinedShape[] values()
for (PredefinedShape c : PredefinedShape.values()) System.out.println(c);
public static PredefinedShape 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.awt.Shape createEmptyShape()
createEmptyShape
in interface ShapeBuilder
public java.awt.Shape createShape(double x, double y, double width, double height)
createShape
in interface ShapeBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |