com.sencha.gxt.widget.core.client.container
Enum VBoxLayoutContainer.VBoxLayoutAlign

java.lang.Object
  extended by java.lang.Enum<VBoxLayoutContainer.VBoxLayoutAlign>
      extended by com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer.VBoxLayoutAlign
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VBoxLayoutContainer.VBoxLayoutAlign>
Enclosing class:
VBoxLayoutContainer

public static enum VBoxLayoutContainer.VBoxLayoutAlign
extends java.lang.Enum<VBoxLayoutContainer.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 VBoxLayoutContainer.VBoxLayoutAlign valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VBoxLayoutContainer.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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CENTER

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


LEFT

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


RIGHT

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


STRETCH

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


STRETCHMAX

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

Method Detail

values

public static VBoxLayoutContainer.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 (VBoxLayoutContainer.VBoxLayoutAlign c : VBoxLayoutContainer.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 VBoxLayoutContainer.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


Copyright © 2012. All Rights Reserved.