public enum GridStyle extends Enum<GridStyle>
GridVisualCreator
's GridStyle
property.Enum Constant and Description |
---|
CROSSES
For each grid point, there is a small cross rendered.
|
DOTS
For each grid point, there is a small dot rendered.
|
LINES
Draws horizontal and vertical lines through the grid points.
|
Modifier and Type | Method and Description |
---|---|
static GridStyle |
fromOrdinal(int ordinal) |
int |
value() |
static GridStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridStyle CROSSES
public static final GridStyle DOTS
public static final GridStyle LINES
public static final GridStyle fromOrdinal(int ordinal)
public int value()
public static GridStyle valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static GridStyle[] values()
for (GridStyle c : GridStyle.values()) System.out.println(c);