Inherits edu::princeton::wordnet::browser::LookerUp.
Inherited by edu.princeton.wordnet.browser.UI.
Public Member Functions | |
Controller (final String[] theseArgs) throws IOException | |
void | lookup (final String thisLookup) |
void | lookupXml (final String thisLookup) |
void | lookupXmlRaw (final String thisLookup) |
Protected Member Functions | |
abstract void | makeTreeView (final TreeView thisView, final String thisTitle, final String thisTooltip, final TreeModel thisTreeModel) |
abstract TreeView | getTreeView () |
abstract List< TreeView > | getTreeViews () |
abstract HtmlView | makeHtmlView (final String thisTitle, String thisTooltip) |
abstract String | getLookup () |
abstract void | addHistory (final String thisLookup) |
abstract void | setStatus (final String thisMessage) |
abstract void | setConnected (boolean isConnected) |
abstract void | setSearching (boolean isSearching) |
abstract void | internalHelp () |
abstract void | quit () |
abstract boolean | confirm (final String[] thisMessage) |
abstract void | reportClientError (final Throwable t) |
abstract void | reportException (final Exception e) |
abstract PropertyChangeListener | getConsolePropertyListener () |
void | start () |
void | execute (final Code thisCode, final Object...theseParams) |
String | mangle (final String thatString) |
Protected Attributes | |
Properties | theSettings = new Properties() |
Package Types | |
enum | Code { CONNECT, LOOKUP, LOOKUPXML, LOOKUPPOS, LOOKUPLEXDOMAIN, LOOKUPLINK, EXPAND, COLLAPSE, IMPORT, LOOKUPXMLRAW, EXPORT, EXPORTXSL, SETTINGS, DBSETTINGS, LINKSETTINGS, STYLESETTINGS, INTERNALHELP, HELP, CONSOLE, ABOUT, QUIT } |
Package Functions | |
abstract void | makeTextView (final String thisTitle, final String thisTooltip, final String thisText) |
void | lookup () |
enum edu::princeton::wordnet::browser::Controller::Code [package] |
Command codes
edu.princeton.wordnet.browser.Controller.Controller | ( | final String[] | theseArgs | ) | throws IOException |
Constructor
theseArgs | command line arguments |
abstract void edu.princeton.wordnet.browser.Controller.addHistory | ( | final String | thisLookup | ) | [protected, pure virtual] |
abstract boolean edu.princeton.wordnet.browser.Controller.confirm | ( | final String[] | thisMessage | ) | [protected, pure virtual] |
Confirm
thisMessage | message |
Implemented in edu.princeton.wordnet.browser.UI.
void edu.princeton.wordnet.browser.Controller.execute | ( | final Code | thisCode, | |
final Object... | theseParams | |||
) | [protected] |
Run command
thisCode | command code |
abstract PropertyChangeListener edu.princeton.wordnet.browser.Controller.getConsolePropertyListener | ( | ) | [protected, pure virtual] |
Get console property listener
Implemented in edu.princeton.wordnet.browser.UI.
abstract String edu.princeton.wordnet.browser.Controller.getLookup | ( | ) | [protected, pure virtual] |
abstract TreeView edu.princeton.wordnet.browser.Controller.getTreeView | ( | ) | [protected, pure virtual] |
Get selected treeview
Implemented in edu.princeton.wordnet.browser.UI.
abstract List<TreeView> edu.princeton.wordnet.browser.Controller.getTreeViews | ( | ) | [protected, pure virtual] |
abstract void edu.princeton.wordnet.browser.Controller.internalHelp | ( | ) | [protected, pure virtual] |
Help
Implemented in edu.princeton.wordnet.browser.UI.
void edu.princeton.wordnet.browser.Controller.lookup | ( | final String | thisLookup | ) |
void edu.princeton.wordnet.browser.Controller.lookup | ( | ) | [package] |
Lookup
void edu.princeton.wordnet.browser.Controller.lookupXml | ( | final String | thisLookup | ) |
Lookup XML
thisLookup | lookup target |
void edu.princeton.wordnet.browser.Controller.lookupXmlRaw | ( | final String | thisLookup | ) |
Lookup raw XML
thisLookup | lookup target |
abstract HtmlView edu.princeton.wordnet.browser.Controller.makeHtmlView | ( | final String | thisTitle, | |
String | thisTooltip | |||
) | [protected, pure virtual] |
Make Html view
thisTitle | title | |
thisTooltip | tooltip |
abstract void edu.princeton.wordnet.browser.Controller.makeTextView | ( | final String | thisTitle, | |
final String | thisTooltip, | |||
final String | thisText | |||
) | [package, pure virtual] |
Make text view
thisTitle | title | |
thisTooltip | tooltip | |
thisText | text |
Implemented in edu.princeton.wordnet.browser.UI.
abstract void edu.princeton.wordnet.browser.Controller.makeTreeView | ( | final TreeView | thisView, | |
final String | thisTitle, | |||
final String | thisTooltip, | |||
final TreeModel | thisTreeModel | |||
) | [protected, pure virtual] |
Make tree view
thisView | treeview | |
thisTitle | title | |
thisTooltip | tooltip | |
thisTreeModel | treemodel |
Implemented in edu.princeton.wordnet.browser.UI.
String edu.princeton.wordnet.browser.Controller.mangle | ( | final String | thatString | ) | [protected] |
Mangle string
thatString | string to mangle |
abstract void edu.princeton.wordnet.browser.Controller.quit | ( | ) | [protected, pure virtual] |
Quit
Implemented in edu.princeton.wordnet.browser.UI.
abstract void edu.princeton.wordnet.browser.Controller.reportClientError | ( | final Throwable | t | ) | [protected, pure virtual] |
abstract void edu.princeton.wordnet.browser.Controller.reportException | ( | final Exception | e | ) | [protected, pure virtual] |
abstract void edu.princeton.wordnet.browser.Controller.setConnected | ( | boolean | isConnected | ) | [protected, pure virtual] |
Set status connected
isConnected | whether client is connected |
abstract void edu.princeton.wordnet.browser.Controller.setSearching | ( | boolean | isSearching | ) | [protected, pure virtual] |
Set status searching
isSearching | whether client is searching |
abstract void edu.princeton.wordnet.browser.Controller.setStatus | ( | final String | thisMessage | ) | [protected, pure virtual] |
void edu.princeton.wordnet.browser.Controller.start | ( | ) | [protected] |
Start
Properties edu.princeton.wordnet.browser.Controller.theSettings = new Properties() [protected] |
Settings