public class AnnotationStackView extends AbstractDocumentView implements AnnotationListener
Modifier and Type | Class and Description |
---|---|
protected class |
AnnotationStackView.HeaderMouseListener |
active, document, guiInitialised, handle, owner
name
features
CENTRAL, HORIZONTAL, VERTICAL
Constructor and Description |
---|
AnnotationStackView() |
Modifier and Type | Method and Description |
---|---|
void |
annotationUpdated(AnnotationEvent e)
Called when an
Annotation has been updated |
void |
cleanup()
releases the memory allocated to this resource
|
Component |
getGUI()
Returns the actual UI component this view represents.
|
int |
getType()
Returns the type of this view.
|
protected void |
initGUI()
Implementers should override this method and use it for populating the GUI.
|
protected void |
initListeners() |
protected void |
registerHooks()
This method will be called whenever the view becomes active.
|
protected void |
unregisterHooks()
This method will be called whenever this view becomes inactive.
|
void |
updateStackView() |
getActions, getDocument, getHandle, getOwner, isActive, setActive, setHandle, setOwner, setSelectedAnnotations, setTarget
checkParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
getFeatures, setFeatures
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
targetReinitialised
getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
public void cleanup()
AbstractResource
cleanup
in interface Resource
cleanup
in class AbstractResource
protected void initGUI()
AbstractDocumentView
initGUI
in class AbstractDocumentView
public Component getGUI()
DocumentView
getGUI
in interface DocumentView
Component
value.protected void initListeners()
protected void registerHooks()
AbstractDocumentView
registerHooks
in class AbstractDocumentView
protected void unregisterHooks()
AbstractDocumentView
AbstractDocumentView.registerHooks()
.unregisterHooks
in class AbstractDocumentView
public int getType()
DocumentView
getType
in interface DocumentView
DocumentView.CENTRAL
,
DocumentView.HORIZONTAL
,
DocumentView.VERTICAL
public void annotationUpdated(AnnotationEvent e)
AnnotationListener
Annotation
has been updatedannotationUpdated
in interface AnnotationListener
public void updateStackView()
Copyright © 2024 GATE. All rights reserved.