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) |
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.
cern.gp.explorer.TreeExplorer.TreeExplorer | ( | ) |
Creates an explorer with the default model and the default view
cern.gp.explorer.TreeExplorer.TreeExplorer | ( | TreeViewTreeAccess | view | ) | [protected] |
Creates an explorer with the specified view
view | the TreeView to be used in this explorer |
References cern.gp.explorer.TreeViewTreeAccess.getTreeView().
GPNode cern.gp.explorer.TreeExplorer.getRootNode | ( | ) |
accessor method
int cern.gp.explorer.TreeExplorer.getRowHeight | ( | ) |
Reimplemented in cern.gp.explorer.TreeTableExplorer.
References cern.gp.explorer.TreeViewTreeAccess.getTree(), and cern.gp.explorer.TreeExplorer.getTreeAccess().
TreeViewTreeAccess cern.gp.explorer.TreeExplorer.getTreeAccess | ( | ) |
getter method
Referenced by cern.gp.explorer.TreeExplorer.getRowHeight(), cern.gp.explorer.TreeTableExplorer.getTreeTableAccess(), cern.gp.printing.PrintableTreeExplorer.PrintableTreeExplorer(), and cern.gp.explorer.TreeExplorer.setRowHeigth().
void cern.gp.explorer.TreeExplorer.setRootNode | ( | GPNode | node | ) |
set the root node of the hierarachy to be explored
node | the root node |
References cern.gp.nodes.GPNode.getPeerNode().
void cern.gp.explorer.TreeExplorer.setRowHeigth | ( | int | rowHeight | ) |
set the height of the rows as in JTree#setRowHeight(int) or javax.swing.JTable#setRowHeight(int)
rowHeight |
Reimplemented in cern.gp.explorer.TreeTableExplorer.
References cern.gp.explorer.TreeViewTreeAccess.getTree(), and cern.gp.explorer.TreeExplorer.getTreeAccess().