org.graphstream.ui.graphicGraph.stylesheet
Enum StyleConstants.Shape
java.lang.Object
java.lang.Enum<StyleConstants.Shape>
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.Shape
- All Implemented Interfaces:
- Serializable, Comparable<StyleConstants.Shape>
- Enclosing class:
- StyleConstants
public static enum StyleConstants.Shape
- extends Enum<StyleConstants.Shape>
Possible shapes for elements.
CIRCLE
public static final StyleConstants.Shape CIRCLE
BOX
public static final StyleConstants.Shape BOX
ROUNDED_BOX
public static final StyleConstants.Shape ROUNDED_BOX
DIAMOND
public static final StyleConstants.Shape DIAMOND
POLYGON
public static final StyleConstants.Shape POLYGON
TRIANGLE
public static final StyleConstants.Shape TRIANGLE
CROSS
public static final StyleConstants.Shape CROSS
FREEPLANE
public static final StyleConstants.Shape FREEPLANE
TEXT_BOX
public static final StyleConstants.Shape TEXT_BOX
TEXT_ROUNDED_BOX
public static final StyleConstants.Shape TEXT_ROUNDED_BOX
TEXT_PARAGRAPH
public static final StyleConstants.Shape TEXT_PARAGRAPH
TEXT_CIRCLE
public static final StyleConstants.Shape TEXT_CIRCLE
TEXT_DIAMOND
public static final StyleConstants.Shape TEXT_DIAMOND
JCOMPONENT
public static final StyleConstants.Shape JCOMPONENT
PIE_CHART
public static final StyleConstants.Shape PIE_CHART
FLOW
public static final StyleConstants.Shape FLOW
ARROW
public static final StyleConstants.Shape ARROW
IMAGES
public static final StyleConstants.Shape IMAGES
LINE
public static final StyleConstants.Shape LINE
ANGLE
public static final StyleConstants.Shape ANGLE
CUBIC_CURVE
public static final StyleConstants.Shape CUBIC_CURVE
POLYLINE
public static final StyleConstants.Shape POLYLINE
POLYLINE_SCALED
public static final StyleConstants.Shape POLYLINE_SCALED
SQUARELINE
public static final StyleConstants.Shape SQUARELINE
LSQUARELINE
public static final StyleConstants.Shape LSQUARELINE
HSQUARELINE
public static final StyleConstants.Shape HSQUARELINE
VSQUARELINE
public static final StyleConstants.Shape VSQUARELINE
BLOB
public static final StyleConstants.Shape BLOB
kind
public StyleConstants.ShapeKind kind
values
public static StyleConstants.Shape[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StyleConstants.Shape c : StyleConstants.Shape.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StyleConstants.Shape valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.