|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
ws.qe.QeStart
This class contains the run
method to process the download,
analysis(qurey expansion) and search in WordNet dababase, and update the
output areas of the GUI.
This class extends the class
Thread
,
over-writing the inherited run
mathod from it, so the whole
process of download, analysis, serch and update could be interrupted after
its start without existing from the main program or closing the main window.
StopDialog
,
UpdateOutputPanel
,
QueryExpansion
,
WordNet
Field Summary | |
private javax.swing.JList |
dataList
The "DATABASE"-list. |
private javax.swing.JFrame |
frame
The main window. |
private java.lang.String |
query
The word delivered by "Word"-inputfield. |
private javax.swing.JDialog |
stopDialog
The "Stop"-dialog. |
private int |
top
The number delivered by "Top"-box. |
private int |
web
The number delivered by "Web"-box. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
QeStart(javax.swing.JFrame frame,
javax.swing.JList dataList,
javax.swing.JDialog stopDialog,
java.lang.String query,
int top,
int web)
Initializes a QeStart object. |
Method Summary | |
void |
run()
Over-writes the inherited method run from its extended
class
Thread . |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private javax.swing.JFrame frame
private javax.swing.JList dataList
private javax.swing.JDialog stopDialog
private java.lang.String query
private int top
private int web
Constructor Detail |
public QeStart(javax.swing.JFrame frame, javax.swing.JList dataList, javax.swing.JDialog stopDialog, java.lang.String query, int top, int web)
frame
- The main window.dataList
- The "DATABASE"-list.stopDialog
- The "STOP"-dialog.query
- The word delivered by "Word"-inputfield.top
- The number delivered by "Top"-box.web
- The number delivered by "Web"-box.Method Detail |
public void run()
run
from its extended
class
Thread
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |