

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 |
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 | ( | ) | [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
| view | the TreeView to be used in this explorer |
References cern::gp::explorer::TreeViewTreeAccess::getTreeView(), and treeViewTreeAccess.
| GPNode cern::gp::explorer::TreeExplorer::getRootNode | ( | ) | [inline] |
accessor method
References rootNode.
Referenced by cern::gp::explorer::test::TestTreeTableExplorer::main(), cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateSelection(), and cern::laser::guiplatform::windows::category::ChooseCategoryPanel::updateState().
| int cern::gp::explorer::TreeExplorer::getRowHeight | ( | ) | [inline] |
Reimplemented in cern::gp::explorer::TreeTableExplorer.
References cern::gp::explorer::TreeViewTreeAccess::getTree(), and getTreeAccess().
| TreeViewTreeAccess cern::gp::explorer::TreeExplorer::getTreeAccess | ( | ) | [inline] |
getter method
References treeViewTreeAccess.
Referenced by cern::laser::guiplatform::windows::category::CategoryTreeExplorer::expandAll(), cern::laser::guiplatform::windows::category::CategoryTreeExplorer::expandAndColapseTree(), cern::laser::guiplatform::windows::user::UserExplorer::expandUserNode(), getRowHeight(), cern::gp::explorer::TreeTableExplorer::getTreeTableAccess(), cern::laser::guiplatform::windows::user::UserExplorer::initializeExplorer(), cern::gp::printing::PrintableTreeExplorer::PrintableTreeExplorer(), and setRowHeigth().
| void cern::gp::explorer::TreeExplorer::setRootNode | ( | GPNode | node | ) | [inline] |
set the root node of the hierarachy to be explored
| node | the root node |
References cern::gp::nodes::GPNode::getPeerNode(), and rootNode.
Referenced by cern::laser::guiplatform::windows::category::CategoryTreeExplorer::CategoryTreeExplorer(), cern::gp::explorer::test::TestTreeTableExplorerWithButtons::createExplorer(), cern::gp::explorer::test::TestTreeExplorerWithButtons::createTreeExplorer(), cern::gp::explorer::test::TestTreeExplorer::createTreeExplorer(), cern::laser::guiplatform::windows::user::UserExplorer::initializeExplorer(), and cern::gp::explorer::test::TestTreeTableExplorer::main().
| 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)
| rowHeight |
Reimplemented in cern::gp::explorer::TreeTableExplorer.
References cern::gp::explorer::TreeViewTreeAccess::getTree(), and getTreeAccess().
Referenced by getRootNode(), and setRootNode().
Referenced by getTreeAccess(), and TreeExplorer().
1.6.2