GWT 2.1.1

com.google.gwt.core.ext.typeinfo
Class JEnumConstant

java.lang.Object
  extended by com.google.gwt.core.ext.typeinfo.JField
      extended by com.google.gwt.core.ext.typeinfo.JEnumConstant
All Implemented Interfaces:
HasAnnotations, HasMetaData

public class JEnumConstant
extends JField

An enumeration constant declared in an enumerated type.


Method Summary
 int getOrdinal()
          Returns the ordinal value for this enumeration constant.
 JEnumConstant isEnumConstant()
           
 
Methods inherited from class com.google.gwt.core.ext.typeinfo.JField
getAnnotation, getEnclosingType, getMetaData, getMetaDataTags, getName, getType, isAnnotationPresent, isDefaultAccess, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransient, isVolatile, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOrdinal

public int getOrdinal()
Returns the ordinal value for this enumeration constant.

Returns:
ordinal value for this enumeration constant

isEnumConstant

public JEnumConstant isEnumConstant()
Overrides:
isEnumConstant in class JField

GWT 2.1.1