gate.gui.docview
Class AnnotationStackView
java.lang.Object
gate.util.AbstractFeatureBearer
gate.creole.AbstractResource
gate.gui.docview.AbstractDocumentView
gate.gui.docview.AnnotationStackView
- All Implemented Interfaces:
- AnnotationListener, ActionsPublisher, DocumentView, Resource, FeatureBearer, NameBearer, VisualResource, Serializable, EventListener
public class AnnotationStackView
- extends AbstractDocumentView
- implements AnnotationListener
Show a stack view of highlighted annotations in the document
centred on the document caret.
When double clicked, an annotation is copied to another set in order
to create a gold standard set from several annotator sets.
You can choose to display a feature value by double clicking
the first column rectangles.
- See Also:
- Serialized Form
Methods inherited from class gate.creole.AbstractResource |
checkParameterValues, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationStackView
public AnnotationStackView()
cleanup
public void cleanup()
- Description copied from class:
AbstractResource
- releases the memory allocated to this resource
- Specified by:
cleanup
in interface Resource
- Overrides:
cleanup
in class AbstractResource
initGUI
protected void initGUI()
- Description copied from class:
AbstractDocumentView
- Implementers should override this method and use it for populating the GUI.
- Specified by:
initGUI
in class AbstractDocumentView
getGUI
public Component getGUI()
- Description copied from interface:
DocumentView
- Returns the actual UI component this view represents.
- Specified by:
getGUI
in interface DocumentView
- Returns:
- a
Component
value.
initListeners
protected void initListeners()
registerHooks
protected void registerHooks()
- Description copied from class:
AbstractDocumentView
- This method will be called whenever the view becomes active. Implementers
should use this to add hooks (such as mouse listeners) to the other views
as required by their functionality.
- Specified by:
registerHooks
in class AbstractDocumentView
unregisterHooks
protected void unregisterHooks()
- Description copied from class:
AbstractDocumentView
- This method will be called whenever this view becomes inactive.
Implementers should use it to unregister whatever hooks they registered
in
AbstractDocumentView.registerHooks()
.
- Specified by:
unregisterHooks
in class AbstractDocumentView
getType
public int getType()
- Description copied from interface:
DocumentView
- Returns the type of this view.
- Specified by:
getType
in interface DocumentView
- Returns:
- an int value
- See Also:
DocumentView.CENTRAL
,
DocumentView.HORIZONTAL
,
DocumentView.VERTICAL
annotationUpdated
public void annotationUpdated(AnnotationEvent e)
- Description copied from interface:
AnnotationListener
- Called when an
Annotation
has been updated
- Specified by:
annotationUpdated
in interface AnnotationListener
updateStackView
public void updateStackView()