public enum SelectionMode extends java.lang.Enum<SelectionMode>
Enum Constant and Description |
---|
ADD
All squares that are preselected get selected.
|
FLIP
All squares that are preselected change state of selection.
|
SUB
All squares that are preselected get unselected.
|
Modifier and Type | Method and Description |
---|---|
static SelectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionMode ADD
public static final SelectionMode SUB
public static final SelectionMode FLIP
public static SelectionMode[] values()
for (SelectionMode c : SelectionMode.values()) System.out.println(c);
public static SelectionMode 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 null