cern::gp::explorer::TreeExplorer Class Reference

Inheritance diagram for cern::gp::explorer::TreeExplorer:
Inheritance graph
[legend]
Collaboration diagram for cern::gp::explorer::TreeExplorer:
Collaboration graph
[legend]

List of all members.

Classes

class  GPBeanTreeView

Public Member Functions

 TreeExplorer ()
TreeViewTreeAccess getTreeAccess ()
void setRootNode (GPNode node)
GPNode getRootNode ()
void setRowHeigth (int rowHeight)
int getRowHeight ()

Protected Member Functions

 TreeExplorer (TreeViewTreeAccess view)

Private Attributes

GPNode rootNode
final TreeViewTreeAccess treeViewTreeAccess

Detailed Description

An Explorer GUI Component that displays a hierarchy of domain beans in a Tree. It is recommended that the developer uses the NodeFactory and ChildrenListManager or ChildrenMapManager to create the Node hierarchy to be explored.

Author:
Vito Baggiolini
Version:
Revision
1.2
Date
2006/09/25 08:52:36

Constructor & Destructor Documentation

cern::gp::explorer::TreeExplorer::TreeExplorer (  )  [inline]

Creates an explorer with the default model and the default view

cern::gp::explorer::TreeExplorer::TreeExplorer ( TreeViewTreeAccess  view  )  [inline, protected]

Creates an explorer with the specified view

Parameters:
view the TreeView to be used in this explorer

References cern::gp::explorer::TreeViewTreeAccess::getTreeView(), and treeViewTreeAccess.


Member Function Documentation

GPNode cern::gp::explorer::TreeExplorer::getRootNode (  )  [inline]
int cern::gp::explorer::TreeExplorer::getRowHeight (  )  [inline]
See also:
setRowHeight(int)
Returns:
the present row height
Since:
2.0.7

Reimplemented in cern::gp::explorer::TreeTableExplorer.

References cern::gp::explorer::TreeViewTreeAccess::getTree(), and getTreeAccess().

TreeViewTreeAccess cern::gp::explorer::TreeExplorer::getTreeAccess (  )  [inline]
void cern::gp::explorer::TreeExplorer::setRootNode ( GPNode  node  )  [inline]
void cern::gp::explorer::TreeExplorer::setRowHeigth ( int  rowHeight  )  [inline]

set the height of the rows as in JTree#setRowHeight(int) or javax.swing.JTable#setRowHeight(int)

Parameters:
rowHeight 
Since:
2.0.7

Reimplemented in cern::gp::explorer::TreeTableExplorer.

References cern::gp::explorer::TreeViewTreeAccess::getTree(), and getTreeAccess().


Member Data Documentation

Referenced by getRootNode(), and setRootNode().

Referenced by getTreeAccess(), and TreeExplorer().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2