Serializable
, Comparable<Grid.YSide>
public static enum Grid.YSide extends Enum<Grid.YSide>
Enum Constant | Description |
---|---|
LEFT |
|
LEFT_PLOT |
|
RIGHT |
|
RIGHT_PLOT |
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
|
static Grid.YSide |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Grid.YSide[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Grid.YSide LEFT
public static final Grid.YSide LEFT_PLOT
public static final Grid.YSide RIGHT
public static final Grid.YSide RIGHT_PLOT
public static Grid.YSide[] values()
for (Grid.YSide c : Grid.YSide.values()) System.out.println(c);
public static Grid.YSide 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 nullpublic String toString()
toString
in class Enum<Grid.YSide>
Copyright © 2022. All rights reserved.