|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.MockCentralGroupNodeController
public class MockCentralGroupNodeController
The controller component within the MVC structure that includes the
MockCentralGroupNodeModel and
IMockCentralNodeView classes.
| Constructor Summary | |
|---|---|
MockCentralGroupNodeController(MockCentralGroupNodeModel nodeModel)
Creates a new instance, assigning the MockCentralGroupNodeModel reference. |
|
| Method Summary | |
|---|---|
void |
addChildNode(int index,
MockCentralNode childNode)
Adds the supplied MockCentralNode to the list of children. |
void |
deleteChildNode(MockCentralNode childNode)
Removes the indexed MockCentralNode child from the list. |
void |
sortChildren(java.util.Comparator<java.lang.Object> comparator)
Sorts the MockCentralNode children. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockCentralGroupNodeController(MockCentralGroupNodeModel nodeModel)
MockCentralGroupNodeModel reference.
nodeModel - the MockCentralGroupNodeModel modeling
the node data.| Method Detail |
|---|
public void addChildNode(int index,
MockCentralNode childNode)
MockCentralNode to the list of children.
index - the index at which to add the child.childNode - the MockCentralNode to add.public void deleteChildNode(MockCentralNode childNode)
MockCentralNode child from the list.
childNode - the child MockCentralNode to remove.public void sortChildren(java.util.Comparator<java.lang.Object> comparator)
MockCentralNode children.
comparator - a Comparator to use for sorting, or null
if standard sorting is to be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||