com.sencha.gxt.widget.core.client.container
Enum AccordionLayoutContainer.ExpandMode

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

public static enum AccordionLayoutContainer.ExpandMode
extends java.lang.Enum<AccordionLayoutContainer.ExpandMode>

Defines the expand modes.


Enum Constant Summary
MULTI
          Multiple panels may be expanded at the same time.
SINGLE
          Only one panel may be expanded at a time.
SINGLE_FILL
          Only open panel may be expanded and the size of the expanded panel is set to match available container height.
 
Method Summary
static AccordionLayoutContainer.ExpandMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccordionLayoutContainer.ExpandMode[] 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

SINGLE

public static final AccordionLayoutContainer.ExpandMode SINGLE
Only one panel may be expanded at a time.


SINGLE_FILL

public static final AccordionLayoutContainer.ExpandMode SINGLE_FILL
Only open panel may be expanded and the size of the expanded panel is set to match available container height.


MULTI

public static final AccordionLayoutContainer.ExpandMode MULTI
Multiple panels may be expanded at the same time.

Method Detail

values

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

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

valueOf

public static AccordionLayoutContainer.ExpandMode 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.