Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.

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


Member Function Documentation

GPNode cern::gp::explorer::TreeExplorer::getRootNode  )  [inline]
 

accessor method

Returns:
the node at the root of the explored hierarchy

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.

TreeViewTreeAccess cern::gp::explorer::TreeExplorer::getTreeAccess  )  [inline]
 

getter method

Returns:
the TreeView instance used in this explorer

void cern::gp::explorer::TreeExplorer::setRootNode GPNode  node  )  [inline]
 

set the root node of the hierarachy to be explored

Parameters:
node the root node

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.


Member Data Documentation

GPNode cern::gp::explorer::TreeExplorer::rootNode [private]
 

final TreeViewTreeAccess cern::gp::explorer::TreeExplorer::treeViewTreeAccess [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:27 2009 for ACS Java API by doxygen 1.3.8