edu.princeton.wordnet.browser.tree.TreeView Class Reference

Inherits javax::swing::JTree.

Inherited by edu.princeton.wordnet.browser.tree.Dom4jTreeView, edu.princeton.wordnet.browser.tree.Domw3cTreeView, and edu.princeton.wordnet.browser.tree.PojoTreeView.

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

List of all members.

Public Member Functions

 TreeView ()
void setModel (final TreeModel thisModel)
Boolean isElementOnly ()
void expandAll ()
void expandAll (final TreePath thisPath)
void collapseAll ()
void collapseAll (final TreePath thisPath)
void refresh ()

Protected Member Functions

void handlePopup (final MouseEvent e)
JPopupMenu makePopup (final TreePath thisTreePath)

Detailed Description

Pojo tree view

Author:
Bernard Bou

Constructor & Destructor Documentation

edu.princeton.wordnet.browser.tree.TreeView.TreeView (  ) 

Constructor


Member Function Documentation

void edu.princeton.wordnet.browser.tree.TreeView.collapseAll ( final TreePath  thisPath  ) 

Collapse tree

Parameters:
thisPath tree path to collapse
void edu.princeton.wordnet.browser.tree.TreeView.collapseAll (  ) 

Collapse tree

void edu.princeton.wordnet.browser.tree.TreeView.expandAll ( final TreePath  thisPath  ) 

Expand all subtree

Parameters:
thisPath tree path
void edu.princeton.wordnet.browser.tree.TreeView.expandAll (  ) 

Expand all

void edu.princeton.wordnet.browser.tree.TreeView.handlePopup ( final MouseEvent  e  )  [protected]

Handle popup trigger

Parameters:
e mouse event
Boolean edu.princeton.wordnet.browser.tree.TreeView.isElementOnly (  ) 

Get expand element

Returns:
whether whether adapter expands element into non-elements
JPopupMenu edu.princeton.wordnet.browser.tree.TreeView.makePopup ( final TreePath  thisTreePath  )  [protected]

Make popup

Parameters:
thisTreePath tree path
Returns:
popup

Reimplemented in edu.princeton.wordnet.browser.tree.PojoTreeView.

void edu.princeton.wordnet.browser.tree.TreeView.refresh (  ) 

Refresh

void edu.princeton.wordnet.browser.tree.TreeView.setModel ( final TreeModel  thisModel  ) 

Set model

Parameters:
thisModel tree model

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