|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--gate.creole.AbstractVisualResource | +--gate.gui.CorpusEditor
A simple viewer/editor for corpora. It will allow the visualisation of the list of documents inside a corpus along withe their features. It will also allow addition and removal of documents.
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
CorpusEditor()
|
Method Summary | |
void |
documentAdded(CorpusEvent e)
Called when a document has been added |
void |
documentRemoved(CorpusEvent e)
Called when a document has been removed |
Resource |
init()
Initialise this resource, and return it. |
void |
setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a specific object. |
Methods inherited from class gate.creole.AbstractVisualResource |
cleanup, getFeatures, getParameterValue, setFeatures, setHandle, setParameterValue, setParameterValues |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gate.util.NameBearer |
getName, setName |
Constructor Detail |
public CorpusEditor()
Method Detail |
public Resource init()
AbstractVisualResource
init
in class AbstractVisualResource
public void setTarget(Object target)
AbstractVisualResource
setTarget
in class AbstractVisualResource
gate.creole.AbstractVisualResource
target
- the object (be it a Resource
,
DataStore
or whatever) this viewer has to displaypublic void documentAdded(CorpusEvent e)
CorpusListener
documentAdded
in interface CorpusListener
public void documentRemoved(CorpusEvent e)
CorpusListener
documentRemoved
in interface CorpusListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |