|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectws.gui.UpdateOutputPanel
This class contains the methods for writing and updating the output in "WordSuggester"-pane and "WordNet"-pane, and highlighting the stems, which were found in both of these output areas.
Tools.queryExpansionResult(String, ArrayList, ArrayList, float[], String),
WordNet.getWnOutput(String),
Highlighter| Field Summary | |
protected static javax.swing.JTabbedPane |
outputPanel
The output-panel composed of "WordSuggester"-pane and "WordNet"-pane. |
private static javax.swing.JTextArea |
wnTextArea
The output area of "WordNet"-pane. |
private static javax.swing.JTextArea |
wsTextArea
The output area of "WordSuggester"-pane. |
| Constructor Summary | |
UpdateOutputPanel()
|
|
| Method Summary | |
static java.util.HashSet |
HighlightWnOutput(javax.swing.JTextArea textArea,
java.lang.String query,
java.lang.String text)
Highlights the stems, which were found in both of "WordSuggester"-pane and "WordNet"-pane. |
static void |
HighlightWsOutput(javax.swing.JTextArea textArea,
java.util.HashSet stemSet)
Highlights the stems, which were found in both of "WordSuggester"-pane and "WordNet"-pane. |
static void |
WnOutput(java.lang.String query,
java.lang.String text,
boolean hightLight)
Writes and updates the output in "WordNet"-pane. |
static void |
WsOutput(java.lang.String text)
Writes and updates the output in "WordSuggester"-pane. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static javax.swing.JTabbedPane outputPanel
private static javax.swing.JTextArea wsTextArea
private static javax.swing.JTextArea wnTextArea
| Constructor Detail |
public UpdateOutputPanel()
| Method Detail |
public static void WsOutput(java.lang.String text)
text - The Text, which shows in this pane.Tools.queryExpansionResult(String, ArrayList, ArrayList, float[], String),
Tools.getDateWebFromStemInfoFile(String),
Tools.getStemFile(String, int)
public static void WnOutput(java.lang.String query,
java.lang.String text,
boolean hightLight)
throws javax.swing.text.BadLocationException,
java.io.IOException
text - The Text, which shows in this pane.
javax.swing.text.BadLocationException
java.io.IOExceptionWordNet.getWnOutput(String)
public static java.util.HashSet HighlightWnOutput(javax.swing.JTextArea textArea,
java.lang.String query,
java.lang.String text)
throws java.io.IOException,
javax.swing.text.BadLocationException
textArea - The output area of "WordNet"-pane.query - The word as a query, which is delivered by "Word"-inputfield.text - The Text, which shows in this pane.
java.io.IOException
javax.swing.text.BadLocationExceptionjavax.swing.text.Highlighter
public static void HighlightWsOutput(javax.swing.JTextArea textArea,
java.util.HashSet stemSet)
throws java.io.IOException,
javax.swing.text.BadLocationException
textArea - The output area of "WordSuggester"-pane.stemSet - A set of the stems, which were found in both of these panes.
java.io.IOException
javax.swing.text.BadLocationExceptionjavax.swing.text.Highlighter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||