com.extjs.gxt.ui.client.widget.layout
Enum HBoxLayout.HBoxLayoutAlign

java.lang.Object
  extended by java.lang.Enum<HBoxLayout.HBoxLayoutAlign>
      extended by com.extjs.gxt.ui.client.widget.layout.HBoxLayout.HBoxLayoutAlign
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HBoxLayout.HBoxLayoutAlign>
Enclosing class:
HBoxLayout

public static enum HBoxLayout.HBoxLayoutAlign
extends java.lang.Enum<HBoxLayout.HBoxLayoutAlign>


Enum Constant Summary
BOTTOM
          Children are aligned horizontally at the bottom side of the container.
MIDDLE
          Children are aligned horizontally at the mid-height of the container.
STRETCH
          Children are stretched vertically to fill the height of the container.
STRETCHMAX
          Children heights are set the size of the largest child's height.
TOP
          Children are aligned horizontally at the top side of the container.
 
Method Summary
static HBoxLayout.HBoxLayoutAlign valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HBoxLayout.HBoxLayoutAlign[] 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

TOP

public static final HBoxLayout.HBoxLayoutAlign TOP
Children are aligned horizontally at the top side of the container.


MIDDLE

public static final HBoxLayout.HBoxLayoutAlign MIDDLE
Children are aligned horizontally at the mid-height of the container.


BOTTOM

public static final HBoxLayout.HBoxLayoutAlign BOTTOM
Children are aligned horizontally at the bottom side of the container.


STRETCH

public static final HBoxLayout.HBoxLayoutAlign STRETCH
Children are stretched vertically to fill the height of the container.


STRETCHMAX

public static final HBoxLayout.HBoxLayoutAlign STRETCHMAX
Children heights are set the size of the largest child's height.

Method Detail

values

public static HBoxLayout.HBoxLayoutAlign[] 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 (HBoxLayout.HBoxLayoutAlign c : HBoxLayout.HBoxLayoutAlign.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HBoxLayout.HBoxLayoutAlign valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null