com.smartgwt.client.types
Enum ExpansionMode

java.lang.Object
  extended by java.lang.Enum<ExpansionMode>
      extended by com.smartgwt.client.types.ExpansionMode
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<ExpansionMode>

public enum ExpansionMode
extends Enum<ExpansionMode>
implements ValueEnum


Enum Constant Summary
DETAIL_FIELD
          Show a single field's value in an HTMLFlow.
DETAIL_RELATED
          Drop the drag-item over (onto) the target-row.
DETAILS
          Show a DetailViewer displaying the remaining fields.
EDITOR
          Show a DynamicForm to edit the record
RELATED
          Show a seperate ListGrid containg Related-records.
 
Method Summary
 String getValue()
           
static ExpansionMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpansionMode[] 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

DETAIL_FIELD

public static final ExpansionMode DETAIL_FIELD
Show a single field's value in an HTMLFlow. Field to use is listGrid.detailField.


DETAILS

public static final ExpansionMode DETAILS
Show a DetailViewer displaying the remaining fields.


RELATED

public static final ExpansionMode RELATED
Show a seperate ListGrid containg Related-records. see ListGridRecord.detailDS and ListGrid.recordDetailDSProperty for more information.


EDITOR

public static final ExpansionMode EDITOR
Show a DynamicForm to edit the record


DETAIL_RELATED

public static final ExpansionMode DETAIL_RELATED
Drop the drag-item over (onto) the target-row.

Method Detail

values

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

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

valueOf

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

getValue

public String getValue()
Specified by:
getValue in interface ValueEnum