com.sencha.gxt.core.client
Enum Style.Anchor
java.lang.Object
java.lang.Enum<Style.Anchor>
com.sencha.gxt.core.client.Style.Anchor
- All Implemented Interfaces:
- Serializable, Comparable<Style.Anchor>
- Enclosing class:
- Style
public static enum Style.Anchor
- extends Enum<Style.Anchor>
TOP
public static final Style.Anchor TOP
TOP_RIGHT
public static final Style.Anchor TOP_RIGHT
RIGHT
public static final Style.Anchor RIGHT
BOTTOM_RIGHT
public static final Style.Anchor BOTTOM_RIGHT
BOTTOM
public static final Style.Anchor BOTTOM
BOTTOM_LEFT
public static final Style.Anchor BOTTOM_LEFT
LEFT
public static final Style.Anchor LEFT
TOP_LEFT
public static final Style.Anchor TOP_LEFT
CENTER
public static final Style.Anchor CENTER
values
public static Style.Anchor[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Style.Anchor c : Style.Anchor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Style.Anchor valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
value
public String value()
Copyright © 2012. All Rights Reserved.