public enum GridMode extends Enum<GridMode>
| Enum Constant and Description |
|---|
CLOSED
The grid is closed (math) on its top, bottom, left and right sides.
|
NONE |
PERIODIC
The grid extends outside the top back to the bottom (and vice
versa), outside the left hand side back to the right hand side
(and vice versa).
|
| Modifier and Type | Method and Description |
|---|---|
static GridMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridMode CLOSED
public static final GridMode PERIODIC
public static final GridMode NONE
public static GridMode[] values()
for (GridMode c : GridMode.values()) System.out.println(c);
public static GridMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.