gate.gui.annedit
Enum SchemaFeaturesEditor.FeatureType

java.lang.Object
  extended by java.lang.Enum<SchemaFeaturesEditor.FeatureType>
      extended by gate.gui.annedit.SchemaFeaturesEditor.FeatureType
All Implemented Interfaces:
Serializable, Comparable<SchemaFeaturesEditor.FeatureType>
Enclosing class:
SchemaFeaturesEditor

protected static enum SchemaFeaturesEditor.FeatureType
extends Enum<SchemaFeaturesEditor.FeatureType>


Enum Constant Summary
bool
          Type for boolean features.
nominal
          Type for features that have a range of possible values
text
          Type for free text features.
 
Method Summary
static SchemaFeaturesEditor.FeatureType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SchemaFeaturesEditor.FeatureType[] 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

nominal

public static final SchemaFeaturesEditor.FeatureType nominal
Type for features that have a range of possible values


bool

public static final SchemaFeaturesEditor.FeatureType bool
Type for boolean features.


text

public static final SchemaFeaturesEditor.FeatureType text
Type for free text features.

Method Detail

values

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

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

valueOf

public static SchemaFeaturesEditor.FeatureType 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