public enum EdgeName extends java.lang.Enum<EdgeName> implements ValueEnum
Canvas.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
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "T".
public static final EdgeName B
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "B".
public static final EdgeName L
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "L".
public static final EdgeName R
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "R".
public static final EdgeName TL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "TL".
public static final EdgeName TR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "TR".
public static final EdgeName BL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "BL".
public static final EdgeName BR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "BR".
public static final EdgeName C
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "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