public enum StartCorner extends Enum<StartCorner>
| Enum Constant and Description | 
|---|
BOTTOM_LEFT  | 
BOTTOM_RIGHT  | 
NULL  | 
TOP_LEFT  | 
TOP_RIGHT  | 
| Modifier and Type | Field and Description | 
|---|---|
private int | 
id  | 
private String | 
name  | 
private int | 
x  | 
private int | 
y  | 
| Modifier and Type | Method and Description | 
|---|---|
int[] | 
getCooridinates()  | 
int | 
getId()  | 
int | 
getX()  | 
int | 
getY()  | 
static StartCorner | 
lookupCorner(int cornerId)  | 
String | 
toString()  | 
static StartCorner | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StartCorner[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StartCorner BOTTOM_LEFT
public static final StartCorner BOTTOM_RIGHT
public static final StartCorner TOP_RIGHT
public static final StartCorner TOP_LEFT
public static final StartCorner NULL
private int id
private int x
private int y
private String name
public static StartCorner[] values()
for (StartCorner c : StartCorner.values()) System.out.println(c);
public static StartCorner 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<StartCorner>public int[] getCooridinates()
public int getX()
public int getY()
public int getId()
public static StartCorner lookupCorner(int cornerId)