com.sencha.gxt.widget.core.client.container
Enum HBoxLayoutContainer.HBoxLayoutAlign

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

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

The vertical alignment of the horizontal widgets.


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

Enum Constant Detail

BOTTOM

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


MIDDLE

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


STRETCH

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


STRETCHMAX

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


TOP

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

Method Detail

values

public static HBoxLayoutContainer.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 (HBoxLayoutContainer.HBoxLayoutAlign c : HBoxLayoutContainer.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 HBoxLayoutContainer.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


Copyright © 2012. All Rights Reserved.