com.smartgwt.client.types
Enum RecordLayout

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

public enum RecordLayout
extends Enum<RecordLayout>
implements ValueEnum

Controls the style of TableView record display


Enum Constant Summary
SUMMARY_DATA
          Show title, description and data fields only
SUMMARY_FULL
          Show title, description, info and data fields similar to the iPhoneOS Mail application
SUMMARY_INFO
          Show title, description and info fields only
TITLE_DESCRIPTION
          Show title and description fields only
TITLE_ONLY
          Show title field only
 
Method Summary
 String getValue()
           
static RecordLayout valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RecordLayout[] 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

TITLE_ONLY

public static final RecordLayout TITLE_ONLY
Show title field only


TITLE_DESCRIPTION

public static final RecordLayout TITLE_DESCRIPTION
Show title and description fields only


SUMMARY_INFO

public static final RecordLayout SUMMARY_INFO
Show title, description and info fields only


SUMMARY_DATA

public static final RecordLayout SUMMARY_DATA
Show title, description and data fields only


SUMMARY_FULL

public static final RecordLayout SUMMARY_FULL
Show title, description, info and data fields similar to the iPhoneOS Mail application

Method Detail

values

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

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

valueOf

public static RecordLayout 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