net.jangaroo.exml.model
Enum ConfigClassType
java.lang.Object
java.lang.Enum<ConfigClassType>
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.
XTYPE
public static final ConfigClassType XTYPE
PTYPE
public static final ConfigClassType PTYPE
TYPE
public static final ConfigClassType TYPE
GCTYPE
public static final ConfigClassType GCTYPE
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.