Public Member Functions | |
DefaultChildrenListManager (GPNode[] childrenNodes) | |
void | initChildrenList (NodeList nodeList) |
Comparator | getComparator () |
Private Attributes | |
final GPNode[] | children |
|
|
|
Returns a comparator that can be used to sort the collection of nodes managed by this class.
Implements cern::gp::nodes::children::ChildrenManager.
|
|
Receives the
This method is called lazily once when the children are going to be displayed. It is similar to the
The implementation of this method should do two things. First it should initialize the list of children with the current children. For that it can use the method If the children are not dynamic, which means that they don't change after they have been initialized here, there is no need to keep a reference to the nodeList.
Implements cern::gp::nodes::children::ChildrenListManager.
|
|
|