|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.gui.util.QueryWindow
public class QueryWindow
Provides a search interface window to allow interaction with other interfaces. Search interface adapted from code by Holger Voormann and Halyna Seniv
| Constructor Summary | |
|---|---|
QueryWindow(NOMWriteCorpus nom)
just set up a query handler for the NOM - no window popped up! |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
This handles the interface actions |
void |
deregisterResultHandler(QueryResultHandler display)
remove an interface element that will be informed of results |
void |
performQuery(java.lang.String newQuery)
Perform the query and display the results on-screen |
void |
popupSearchWindow()
pop up the search window. |
void |
querySubmitted(java.lang.String query)
|
void |
registerResultHandler(QueryResultHandler display)
add an interface element that will be informed of results. |
void |
run()
New query will be executed by a new thread. |
void |
savePreferences()
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent tse)
TreeSelectionEvents - highlight the result on the registered displays |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryWindow(NOMWriteCorpus nom)
| Method Detail |
|---|
public void popupSearchWindow()
popupSearchWindow in interface QueryHandlerpublic void registerResultHandler(QueryResultHandler display)
registerResultHandler in interface QueryHandlerpublic void deregisterResultHandler(QueryResultHandler display)
deregisterResultHandler in interface QueryHandlerpublic void performQuery(java.lang.String newQuery)
performQuery in interface QueryHandlerpublic void valueChanged(javax.swing.event.TreeSelectionEvent tse)
valueChanged in interface javax.swing.event.TreeSelectionListenerpublic void savePreferences()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerpublic void run()
run in interface java.lang.Runnablepublic void querySubmitted(java.lang.String query)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||