|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EdgeName>
com.smartgwt.client.types.EdgeName
public enum EdgeName
An edge or corner of a rectange, or it's center. Used in APIs such as resizeFrom
and Canvas.getEventEdge
.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
String |
getValue()
|
static EdgeName |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static EdgeName[] values()
for (EdgeName c : EdgeName.values()) System.out.println(c);
public static EdgeName valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |