org.graphstream.ui.graphicGraph.stylesheet
Enum StyleConstants.StrokeMode
java.lang.Object
java.lang.Enum<StyleConstants.StrokeMode>
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.StrokeMode
- All Implemented Interfaces:
- Serializable, Comparable<StyleConstants.StrokeMode>
- Enclosing class:
- StyleConstants
public static enum StyleConstants.StrokeMode
- extends Enum<StyleConstants.StrokeMode>
How to draw the contour of the element.
NONE
public static final StyleConstants.StrokeMode NONE
PLAIN
public static final StyleConstants.StrokeMode PLAIN
DASHES
public static final StyleConstants.StrokeMode DASHES
DOTS
public static final StyleConstants.StrokeMode DOTS
DOUBLE
public static final StyleConstants.StrokeMode DOUBLE
values
public static StyleConstants.StrokeMode[] 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.StrokeMode c : StyleConstants.StrokeMode.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.StrokeMode 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 © 2012. All Rights Reserved.