org.graphstream.ui.graphicGraph.stylesheet
Enum StyleConstants.FillMode
java.lang.Object
java.lang.Enum<StyleConstants.FillMode>
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.FillMode
- All Implemented Interfaces:
- Serializable, Comparable<StyleConstants.FillMode>
- Enclosing class:
- StyleConstants
public static enum StyleConstants.FillMode
- extends Enum<StyleConstants.FillMode>
How to fill the contents of the element.
NONE
public static final StyleConstants.FillMode NONE
PLAIN
public static final StyleConstants.FillMode PLAIN
DYN_PLAIN
public static final StyleConstants.FillMode DYN_PLAIN
GRADIENT_RADIAL
public static final StyleConstants.FillMode GRADIENT_RADIAL
GRADIENT_HORIZONTAL
public static final StyleConstants.FillMode GRADIENT_HORIZONTAL
GRADIENT_VERTICAL
public static final StyleConstants.FillMode GRADIENT_VERTICAL
GRADIENT_DIAGONAL1
public static final StyleConstants.FillMode GRADIENT_DIAGONAL1
GRADIENT_DIAGONAL2
public static final StyleConstants.FillMode GRADIENT_DIAGONAL2
IMAGE_TILED
public static final StyleConstants.FillMode IMAGE_TILED
IMAGE_SCALED
public static final StyleConstants.FillMode IMAGE_SCALED
IMAGE_SCALED_RATIO_MAX
public static final StyleConstants.FillMode IMAGE_SCALED_RATIO_MAX
IMAGE_SCALED_RATIO_MIN
public static final StyleConstants.FillMode IMAGE_SCALED_RATIO_MIN
values
public static StyleConstants.FillMode[] 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.FillMode c : StyleConstants.FillMode.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.FillMode 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 © 2011. All Rights Reserved.