net.jangaroo.exml.model
Enum ConfigClassType

java.lang.Object
  extended by java.lang.Enum<ConfigClassType>
      extended by net.jangaroo.exml.model.ConfigClassType
All Implemented Interfaces:
Serializable, Comparable<ConfigClassType>

public enum ConfigClassType
extends Enum<ConfigClassType>

An enumeration of the types of ExtJS objects: components, plugins, and actions.


Enum Constant Summary
GCTYPE
           
PTYPE
           
TYPE
           
XTYPE
           
 
Method Summary
static ConfigClassType fromExtConfigAttribute(String parameterName)
           
 String getExtTypeAttribute()
          The name of the attribute in a JSON object description that determines the object type: xtype, ptype, type.
static ConfigClassType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfigClassType[] 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

XTYPE

public static final ConfigClassType XTYPE

PTYPE

public static final ConfigClassType PTYPE

TYPE

public static final ConfigClassType TYPE

GCTYPE

public static final ConfigClassType GCTYPE
Method Detail

values

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

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

valueOf

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

fromExtConfigAttribute

public static ConfigClassType fromExtConfigAttribute(String parameterName)

getExtTypeAttribute

public String getExtTypeAttribute()
The name of the attribute in a JSON object description that determines the object type: xtype, ptype, type.

Returns:
the type


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.