public enum EdgeName extends java.lang.Enum<EdgeName> implements ValueEnum
resizeFrom
and Canvas.getEventEdge
.Enum Constant and Description |
---|
B
bottom edge
|
BL
bottom-left corner
|
BR
bottom-right corner
|
C
center
|
L
left edge
|
R
right edge
|
T
top edge
|
TL
top-left corner
|
TR
top-right corner
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static EdgeName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeName T
public static final EdgeName B
public static final EdgeName L
public static final EdgeName R
public static final EdgeName TL
public static final EdgeName TR
public static final EdgeName BL
public static final EdgeName BR
public static final EdgeName C
public static EdgeName[] values()
for (EdgeName c : EdgeName.values()) System.out.println(c);
public static EdgeName 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