public enum GridStroke extends java.lang.Enum<GridStroke>
Modifier and Type | Method and Description |
---|---|
abstract java.awt.Stroke |
getStroke() |
java.lang.String |
toString() |
static GridStroke |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GridStroke[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridStroke DASH
public static final GridStroke DASH_FINE
public static final GridStroke DOT_FINE
public static final GridStroke SOLID
public static GridStroke[] values()
for (GridStroke c : GridStroke.values()) System.out.println(c);
public static GridStroke 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 abstract java.awt.Stroke getStroke()
public java.lang.String toString()
toString
in class java.lang.Enum<GridStroke>