sjm.examples.query
Class JaqlMediator
java.lang.Object
|
+--sjm.examples.query.JaqlMediator
- public class JaqlMediator
- extends java.lang.Object
- implements java.awt.event.ActionListener
This class controls the interaction of the visual
components in a JaqlUe.
- See Also:
JaqlUe
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
goButton
protected javax.swing.JButton goButton
clearButton
protected javax.swing.JButton clearButton
metadataArea
protected javax.swing.JTextArea metadataArea
queryArea
protected javax.swing.JTextArea queryArea
resultArea
protected javax.swing.JTextArea resultArea
parser
protected Parser parser
chipSource
protected ChipSource chipSource
speller
protected Speller speller
JaqlMediator
public JaqlMediator()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Parse the input as a query, prove it repeatedly,
and show its results.
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
actionPerformedUnsafe
protected void actionPerformedUnsafe(java.awt.event.ActionEvent e)
chipSource
protected ChipSource chipSource()
initialize
public void initialize(javax.swing.JButton goButton,
javax.swing.JButton clearButton,
javax.swing.JTextArea queryArea,
javax.swing.JTextArea resultArea,
javax.swing.JTextArea metadataArea)
- Initialize this object, using the components of a
JaqlUe.
parseInput
protected Assembly parseInput()
parser
protected Parser parser()
showResults
protected void showResults(Query q)
speller
protected Speller speller()