

Classes | |
| class | GPListView |
Public Member Functions | |
| ListExplorer () | |
| ListExplorer (GPNode[] nodes) | |
| ListViewListAccess | getListAccess () |
| final void | setListNodes (GPNode[] nodes) |
Protected Member Functions | |
| ListExplorer (ListViewListAccess view) | |
Private Attributes | |
| final ListViewListAccess | listViewListAccess |
An Explorer GUI Component that displays Children of a root node as a List. It is recommended that the developer uses the NodeFactory and ChildrenListManager or ChildrenMapManager to create the Node hierarchy to be explored.
| cern::gp::explorer::ListExplorer::ListExplorer | ( | ) | [inline] |
Creates an explorer with the default model and the default view
| cern::gp::explorer::ListExplorer::ListExplorer | ( | GPNode[] | nodes | ) | [inline] |
create a ListExplorer and set the nodes to display
| nodes | the nodes to display |
References setListNodes().
| cern::gp::explorer::ListExplorer::ListExplorer | ( | ListViewListAccess | view | ) | [inline, protected] |
Creates an explorer with the specified view
| view | the ListView to be used in this explorer |
References cern::gp::explorer::ListViewListAccess::getListView(), and listViewListAccess.
| ListViewListAccess cern::gp::explorer::ListExplorer::getListAccess | ( | ) | [inline] |
| final void cern::gp::explorer::ListExplorer::setListNodes | ( | GPNode[] | nodes | ) | [inline] |
Set the list of nodes to be displayed. This method first checks whether all nodes have a common parent and calls the method setRootNode(GPNode) (with you should have called instead of this one). If not, it creates a root node and creates a ChildrenManager for the nodes. In other words, you cannot use this method if you want to use your own ChildrenManager implementation to control the displayed list of nodes. Use this method preferably if you have an array of nodes without a common parent, and if you do not need to use your own ChildrenManager.
Note that you can still get hold of the siblings of one of your GPNode object with the GPNode#getNodeCollection method.
| nodes | the array nodes to be displayed in the ListExplorer |
References cern::gp::explorer::GPListExplorerPanel::createRootNode(), cern::gp::explorer::GPListExplorerPanel::rootBean, cern::gp::explorer::GPListExplorerPanel::setRootBean(), and cern::gp::explorer::GPListExplorerPanel::setRootNode().
Referenced by ListExplorer(), cern::laser::test::GPMainTests::main(), and cern::laser::test::GPMainTest::main().
Referenced by getListAccess(), and ListExplorer().
1.6.2