com.extjs.gxt.ui.client.widget.layout
Enum VBoxLayout.VBoxLayoutAlign

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

public static enum VBoxLayout.VBoxLayoutAlign
extends java.lang.Enum<VBoxLayout.VBoxLayoutAlign>

Alignment enumeration for horizontal alignment.


Enum Constant Summary
CENTER
          Children are aligned vertically at the mid-width of the container.
LEFT
          Children are aligned vertically at the left side of the container (default).
RIGHT
          Children are aligned vertically at the right side of the container (default).
STRETCH
          Children are stretched horizontally to fill the width of the container.
STRETCHMAX
          Children widths are set the size of the largest child's width.
 
Method Summary
static VBoxLayout.VBoxLayoutAlign valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VBoxLayout.VBoxLayoutAlign[] 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

LEFT

public static final VBoxLayout.VBoxLayoutAlign LEFT
Children are aligned vertically at the left side of the container (default).


CENTER

public static final VBoxLayout.VBoxLayoutAlign CENTER
Children are aligned vertically at the mid-width of the container.


RIGHT

public static final VBoxLayout.VBoxLayoutAlign RIGHT
Children are aligned vertically at the right side of the container (default).


STRETCH

public static final VBoxLayout.VBoxLayoutAlign STRETCH
Children are stretched horizontally to fill the width of the container.


STRETCHMAX

public static final VBoxLayout.VBoxLayoutAlign STRETCHMAX
Children widths are set the size of the largest child's width.

Method Detail

values

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

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

valueOf

public static VBoxLayout.VBoxLayoutAlign 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