public static enum GuiOsmConstants.StrokeEnum extends java.lang.Enum<GuiOsmConstants.StrokeEnum>
Enum Constant and Description |
---|
DASH |
DASH_DOT |
DOT |
DW_SOLID |
SOLID |
W_SOLID |
Modifier and Type | Method and Description |
---|---|
java.awt.Stroke |
getStroke()
Get an instance of Stroke associated with this enum instance.
|
static GuiOsmConstants.StrokeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiOsmConstants.StrokeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiOsmConstants.StrokeEnum SOLID
public static final GuiOsmConstants.StrokeEnum DASH
public static final GuiOsmConstants.StrokeEnum DOT
public static final GuiOsmConstants.StrokeEnum DASH_DOT
public static final GuiOsmConstants.StrokeEnum W_SOLID
public static final GuiOsmConstants.StrokeEnum DW_SOLID
public static GuiOsmConstants.StrokeEnum[] values()
for (GuiOsmConstants.StrokeEnum c : GuiOsmConstants.StrokeEnum.values()) System.out.println(c);
public static GuiOsmConstants.StrokeEnum 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.awt.Stroke getStroke()