edu.princeton.wordnet.browser.UI Class Reference

Inherits edu::princeton::wordnet::browser::Controller.

Collaboration diagram for edu.princeton.wordnet.browser.UI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UI (final String[] theseArgs) throws IOException

Protected Member Functions

void handlePopup (final MouseEvent e, final ActionListener thisPopupActionListener)
JPopupMenu makePopup (final ActionListener thisPopupActionListener)
void makeTextView (final String thisLookup, final String thisTooltip, final String thisText)
HtmlView makeHtmlView (final String thisLookup, final String thisTooltip)
void makeTreeView (final TreeView thisTreeView, final String thisLookup, final String thisTooltip, final TreeModel thisTreeModel)
boolean confirm (final String[] thisMessage)
void reportClientError (final Throwable thisThrowable)
void reportException (final Exception thisException)
void internalHelp ()
String getLookup ()
void addHistory (final String thisLookup)
TreeView getTreeView ()
List< TreeViewgetTreeViews ()
void setSearching (final boolean searching)
void setStatus (final String thisMessage)
void setConnected (final boolean connected)
void quit ()
PropertyChangeListener getConsolePropertyListener ()

Detailed Description

Browser main frame

Author:
Bernard Bou

Constructor & Destructor Documentation

edu.princeton.wordnet.browser.UI.UI ( final String[]  theseArgs  )  throws IOException

Constructor

Parameters:
theseArgs command line arguments

Member Function Documentation

void edu.princeton.wordnet.browser.UI.addHistory ( final String  thisLookup  )  [protected, virtual]

Add lookup to history

Parameters:
thisLookup 

Implements edu.princeton.wordnet.browser.Controller.

boolean edu.princeton.wordnet.browser.UI.confirm ( final String[]  thisMessage  )  [protected, virtual]

Confirm

Parameters:
thisMessage message
Returns:
true if confirmed

Implements edu.princeton.wordnet.browser.Controller.

PropertyChangeListener edu.princeton.wordnet.browser.UI.getConsolePropertyListener (  )  [protected, virtual]

Get console property listener

Implements edu.princeton.wordnet.browser.Controller.

String edu.princeton.wordnet.browser.UI.getLookup (  )  [protected, virtual]

Get lookup

Returns:
lookup string

Implements edu.princeton.wordnet.browser.Controller.

TreeView edu.princeton.wordnet.browser.UI.getTreeView (  )  [protected, virtual]

Get selected treeview

Returns:
selected treeview or null

Implements edu.princeton.wordnet.browser.Controller.

List<TreeView> edu.princeton.wordnet.browser.UI.getTreeViews (  )  [protected, virtual]

Get tree views

Returns:
list of tree view

Implements edu.princeton.wordnet.browser.Controller.

void edu.princeton.wordnet.browser.UI.handlePopup ( final MouseEvent  e,
final ActionListener  thisPopupActionListener 
) [protected]

Handle popup trigger

Parameters:
e mouse event
thisPopupActionListener popup action listener
void edu.princeton.wordnet.browser.UI.internalHelp (  )  [protected, virtual]
JPopupMenu edu.princeton.wordnet.browser.UI.makePopup ( final ActionListener  thisPopupActionListener  )  [protected]

Make popup

Parameters:
thisPopupActionListener popup action listener
Returns:
popup
void edu.princeton.wordnet.browser.UI.makeTextView ( final String  thisTitle,
final String  thisTooltip,
final String  thisText 
) [protected, virtual]

Make text view

Parameters:
thisTitle title
thisTooltip tooltip
thisText text

Implements edu.princeton.wordnet.browser.Controller.

void edu.princeton.wordnet.browser.UI.makeTreeView ( final TreeView  thisView,
final String  thisTitle,
final String  thisTooltip,
final TreeModel  thisTreeModel 
) [protected, virtual]

Make tree view

Parameters:
thisView treeview
thisTitle title
thisTooltip tooltip
thisTreeModel treemodel

Implements edu.princeton.wordnet.browser.Controller.

void edu.princeton.wordnet.browser.UI.quit (  )  [protected, virtual]
void edu.princeton.wordnet.browser.UI.reportClientError ( final Throwable  t  )  [protected, virtual]

Report Client Error

Parameters:
t Throwable

Implements edu.princeton.wordnet.browser.Controller.

void edu.princeton.wordnet.browser.UI.reportException ( final Exception  e  )  [protected, virtual]

Report Exception

Parameters:
e Exception

Implements edu.princeton.wordnet.browser.Controller.

void edu.princeton.wordnet.browser.UI.setStatus ( final String  thisMessage  )  [protected, virtual]

Set status

Parameters:
thisMessage message

Implements edu.princeton.wordnet.browser.Controller.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:43:51 2010 for WordNetScope by  doxygen 1.6.3