Package com.sencha.gxt.cell.core.client
Enum ButtonCell.IconAlign
- java.lang.Object
-
- java.lang.Enum<ButtonCell.IconAlign>
-
- com.sencha.gxt.cell.core.client.ButtonCell.IconAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<ButtonCell.IconAlign>
- Enclosing class:
- ButtonCell<C>
public static enum ButtonCell.IconAlign extends Enum<ButtonCell.IconAlign>
Icon alignment enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ButtonCell.IconAlign
valueOf(String name)
Returns the enum constant of this type with the specified name.static ButtonCell.IconAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RIGHT
public static final ButtonCell.IconAlign RIGHT
Icons are aligned to the right.
-
BOTTOM
public static final ButtonCell.IconAlign BOTTOM
Icons are aligned to the bottom.
-
TOP
public static final ButtonCell.IconAlign TOP
Icons are aligned to the top.
-
LEFT
public static final ButtonCell.IconAlign LEFT
Icons are aligned to the left.
-
-
Method Detail
-
values
public static ButtonCell.IconAlign[] 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 (ButtonCell.IconAlign c : ButtonCell.IconAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ButtonCell.IconAlign 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 nameNullPointerException
- if the argument is null
-
-