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
CLASS
           
COMPONENT
           
GRID_COLUMN
           
LAYOUT
           
PLUGIN
           
 
Method Summary
static ConfigClassType fromExmlRootNodeName(String exmlRootNodeName)
           
static ConfigClassType fromExtConfigAttribute(String parameterName)
           
 String getDefaultSuperConfigClassName()
           
 String getExmlRootNodeName()
          The name of the EXML root node that leads to a config class of this type to be generated.
 String getExtTypeAttribute()
          The name of the attribute in a JSON object description that determines the object type: xtype, ptype, type;
 String getType()
          The type used by exml and ext including our own types like gctype
 boolean isCreatedViaConfigObject()
           
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

CLASS

public static final ConfigClassType CLASS

COMPONENT

public static final ConfigClassType COMPONENT

PLUGIN

public static final ConfigClassType PLUGIN

LAYOUT

public static final ConfigClassType LAYOUT

GRID_COLUMN

public static final ConfigClassType GRID_COLUMN
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)

fromExmlRootNodeName

public static ConfigClassType fromExmlRootNodeName(String exmlRootNodeName)

getExmlRootNodeName

public String getExmlRootNodeName()
The name of the EXML root node that leads to a config class of this type to be generated.

Returns:
the EXML root node name

getType

public String getType()
The type used by exml and ext including our own types like gctype

Returns:
the type

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

getDefaultSuperConfigClassName

public String getDefaultSuperConfigClassName()

isCreatedViaConfigObject

public boolean isCreatedViaConfigObject()


Copyright © 2002–2014 CoreMedia AG. All rights reserved.