com.google.wave.api
Enum ElementType

java.lang.Object
  extended by java.lang.Enum<ElementType>
      extended by com.google.wave.api.ElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ElementType>

public enum ElementType
extends java.lang.Enum<ElementType>

Element Types.


Enum Constant Summary
ATTACHMENT
           
BUTTON
           
CHECK
           
GADGET
           
IMAGE
           
INLINE_BLIP
           
INPUT
           
INSTALLER
           
LABEL
           
LINE
           
PASSWORD
           
RADIO_BUTTON
           
RADIO_BUTTON_GROUP
           
TEXTAREA
           
 
Method Summary
 java.lang.String toString()
           
static ElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ElementType valueOfIgnoreCase(java.lang.String name)
          Converts a string into an ElementType.
static ElementType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INPUT

public static final ElementType INPUT

PASSWORD

public static final ElementType PASSWORD

CHECK

public static final ElementType CHECK

LABEL

public static final ElementType LABEL

BUTTON

public static final ElementType BUTTON

RADIO_BUTTON

public static final ElementType RADIO_BUTTON

RADIO_BUTTON_GROUP

public static final ElementType RADIO_BUTTON_GROUP

TEXTAREA

public static final ElementType TEXTAREA

INLINE_BLIP

public static final ElementType INLINE_BLIP

GADGET

public static final ElementType GADGET

INSTALLER

public static final ElementType INSTALLER

IMAGE

public static final ElementType IMAGE

LINE

public static final ElementType LINE

ATTACHMENT

public static final ElementType ATTACHMENT
Method Detail

values

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

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

valueOf

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ElementType>

valueOfIgnoreCase

public static ElementType valueOfIgnoreCase(java.lang.String name)
Converts a string into an ElementType. This is used primarily during deserialization from JSON.

Parameters:
name - the name of the ElementType.
Returns:
the ElementType representing that name.