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.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
features
private FeatureMap features
annotType
private String annotType
CustomAnnotationEditDialog.MyCustomFeatureBearer
public CustomAnnotationEditDialog.MyCustomFeatureBearer(Annotation anAnnot)
- Constructs a custom feature bearer. If annot is null then it creates
empty annotType and fetures.
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()