|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
gate.creole.AbstractVisualResource
gate.gui.SearchPRViewer
Shows the results of a IR query. This VR is associated to
SearchPR.
| Nested Class Summary | |
protected class |
SearchPRViewer.FloatRenderer
|
protected class |
SearchPRViewer.ResultsTableModel
|
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
(package private) List |
results
Contains the QueryResult objects returned by the
search. |
(package private) XJTable |
resultsTable
The table displaying the results |
(package private) SearchPRViewer.ResultsTableModel |
resultsTableModel
The model for the results table. |
(package private) SearchPR |
target
The search PR this VR is associated to. |
| Fields inherited from class gate.creole.AbstractVisualResource |
features, handle |
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| 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 | |
SearchPRViewer()
|
|
| Method Summary | |
Resource |
init()
Initialise this resource, and return it. |
protected void |
initGuiComponents()
|
protected void |
initListeners()
|
protected void |
initLocalData()
|
void |
processFinished()
Called when the process is finished, fires a refresh for this VR. |
void |
progressChanged(int i)
Does nothing. |
protected void |
selectDocument(String documentName)
Tries to load (if necessary) and select (i.e. bring to front) a document based on its name. |
void |
setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a specific object. |
protected void |
updateDisplay()
|
| Methods inherited from class gate.creole.AbstractVisualResource |
cleanup, getFeatures, getParameterValue, setFeatures, setHandle, setParameterValue, setParameterValues |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gate.util.NameBearer |
getName, setName |
| Field Detail |
SearchPR target
XJTable resultsTable
SearchPRViewer.ResultsTableModel resultsTableModel
List results
QueryResult objects returned by the
search.
| Constructor Detail |
public SearchPRViewer()
| Method Detail |
public Resource init()
AbstractVisualResource
init in interface Resourceinit in class AbstractVisualResourceprotected void initLocalData()
protected void initGuiComponents()
protected void initListeners()
protected void selectDocument(String documentName)
public void setTarget(Object target)
setTarget in interface VisualResourcesetTarget in class AbstractVisualResourcetarget - the object (be it a Resource,
DataStore or whatever) this viewer has to displaypublic void progressChanged(int i)
progressChanged in interface ProgressListeneri - public void processFinished()
processFinished in interface ProgressListenerprotected void updateDisplay()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||