Package com.iizix.prop
Enum GStroke.Style
- java.lang.Object
- java.lang.Enum<GStroke.Style>
- com.iizix.prop.GStroke.Style
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GStroke.Style>
- Enclosing class:
- GStroke
public static enum GStroke.Style extends java.lang.Enum<GStroke.Style>
Line style.
Enum Constant Summary
Enum Constants Enum Constant Description DASH
DASH_DOT
DOT
LONG_DASH
LONG_DASH_DOT
LONG_DASH_DOT_DOT
NONE
SHORT_DASH
SHORT_DASH_DOT
SHORT_DASH_DOT_DOT
SHORT_DOT
SOLID
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GStroke.Style
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GStroke.Style[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
NONE
public static final GStroke.Style NONE
SOLID
public static final GStroke.Style SOLID
SHORT_DASH
public static final GStroke.Style SHORT_DASH
SHORT_DOT
public static final GStroke.Style SHORT_DOT
SHORT_DASH_DOT
public static final GStroke.Style SHORT_DASH_DOT
SHORT_DASH_DOT_DOT
public static final GStroke.Style SHORT_DASH_DOT_DOT
DOT
public static final GStroke.Style DOT
DASH
public static final GStroke.Style DASH
LONG_DASH
public static final GStroke.Style LONG_DASH
DASH_DOT
public static final GStroke.Style DASH_DOT
LONG_DASH_DOT
public static final GStroke.Style LONG_DASH_DOT
LONG_DASH_DOT_DOT
public static final GStroke.Style LONG_DASH_DOT_DOT
Method Detail
values
public static GStroke.Style[] 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 (GStroke.Style c : GStroke.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static GStroke.Style valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null