gate.gui
Class CustomAnnotationEditDialog.MyCustomFeatureBearer

java.lang.Object
  |
  +--gate.util.AbstractFeatureBearer
        |
        +--gate.gui.CustomAnnotationEditDialog.MyCustomFeatureBearer
All Implemented Interfaces:
FeatureBearer
Enclosing class:
CustomAnnotationEditDialog

class CustomAnnotationEditDialog.MyCustomFeatureBearer
extends AbstractFeatureBearer
implements FeatureBearer

This class implements a feature bearer. It is used as internal data. The FeatureEditor will use an object belonging to this class.


Field Summary
private  String annotType
           
private  FeatureMap features
           
 
Constructor Summary
CustomAnnotationEditDialog.MyCustomFeatureBearer(Annotation anAnnot)
          Constructs a custom feature bearer.
 
Method Summary
 String getAnnotType()
           
 FeatureMap getFeatures()
          Get the feature set
 void setAnnotType(String anAnnotType)
           
 void setFeatures(FeatureMap aFeatureMap)
          Set the feature set
 
Methods inherited from class gate.util.AbstractFeatureBearer
getName, setName
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface gate.util.FeatureBearer
getName, setName
 

Field Detail

features

private FeatureMap features

annotType

private String annotType
Constructor Detail

CustomAnnotationEditDialog.MyCustomFeatureBearer

public CustomAnnotationEditDialog.MyCustomFeatureBearer(Annotation anAnnot)
Constructs a custom feature bearer. If annot is null then it creates empty annotType and fetures.
Method Detail

setFeatures

public void setFeatures(FeatureMap aFeatureMap)
Description copied from interface: FeatureBearer
Set the feature set
Specified by:
setFeatures in interface FeatureBearer
Overrides:
setFeatures in class AbstractFeatureBearer

getFeatures

public FeatureMap getFeatures()
Description copied from interface: FeatureBearer
Get the feature set
Specified by:
getFeatures in interface FeatureBearer
Overrides:
getFeatures in class AbstractFeatureBearer

setAnnotType

public void setAnnotType(String anAnnotType)

getAnnotType

public String getAnnotType()