

Public Member Functions | |
| Comparator | getComparator () |
| void | initChildrenList (NodeList nodeList) |
Static Public Attributes | |
| static final String | BEAN_NAME_PREFIX = "bean-" |
Static Protected Attributes | |
| static final int | NUMBER_OF_CHILDREN = 3 |
| Comparator cern::laser::test::SimpleChildrenListManager::getComparator | ( | ) | [inline] |
Returns a comparator that can be used to sort the collection of nodes managed by this class. null can be returned to specify that the collection should not be sorted. If a comparator is returned it should be able to compare two nodes belonging to the children managed by this manager. An adapter can be used to deal with the bean associated to the node instead of the nodes itself.
null Implements cern::gp::nodes::children::ChildrenManager.
| void cern::laser::test::SimpleChildrenListManager::initChildrenList | ( | NodeList | nodeList | ) | [inline] |
simple implementation of ChildrenListManager.initChildrenList() This method is called by the GP explorer when the parent node in the tree is opened. It creates NUMBER_OF_CHILDREN children and adds them to nodeList. Each of the children have again a SimpleChildrenListManager objects that creates their own children.
| nodeList | the list of nodes to be initialized |
Implements cern::gp::nodes::children::ChildrenListManager.
References cern::gp::nodes::children::NodeList::addNode(), BEAN_NAME_PREFIX, and NUMBER_OF_CHILDREN.
final String cern::laser::test::SimpleChildrenListManager::BEAN_NAME_PREFIX = "bean-" [static] |
Referenced by initChildrenList().
final int cern::laser::test::SimpleChildrenListManager::NUMBER_OF_CHILDREN = 3 [static, protected] |
Referenced by initChildrenList().
1.6.2