protected static enum CellPane.MovementDirection extends Enum<CellPane.MovementDirection>
Enum Constant and Description |
---|
DOWN |
DOWN_LEFT |
DOWN_RIGHT |
LEFT |
RIGHT |
UP |
UP_LEFT |
UP_RIGHT |
Modifier and Type | Method and Description |
---|---|
protected static CellPane.MovementDirection |
valueOf(int rowDelta,
int columnDelta) |
static CellPane.MovementDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellPane.MovementDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellPane.MovementDirection UP
public static final CellPane.MovementDirection UP_LEFT
public static final CellPane.MovementDirection LEFT
public static final CellPane.MovementDirection DOWN_LEFT
public static final CellPane.MovementDirection DOWN
public static final CellPane.MovementDirection DOWN_RIGHT
public static final CellPane.MovementDirection RIGHT
public static final CellPane.MovementDirection UP_RIGHT
public static CellPane.MovementDirection[] values()
for (CellPane.MovementDirection c : CellPane.MovementDirection.values()) System.out.println(c);
public static CellPane.MovementDirection 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 nullprotected static final CellPane.MovementDirection valueOf(int rowDelta, int columnDelta)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.