| java.lang.Object org.mandarax.examples.family.ProofStructure
ProofStructure | class ProofStructure implements TreeModel(Code) | | Tree model for derivations.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.2 |
ProofStructure | public ProofStructure(DerivationNode aRoot)(Code) | | Constructor.
Parameters: aRoot - the root node of the derivation |
getChild | public Object getChild(Object parent, int index)(Code) | | Get the child at the position.
Parameters: parent - the parent node Parameters: index - the index the child at the index |
getChildCount | public int getChildCount(Object parent)(Code) | | Get the number of children.
Parameters: parent - a node the number of chilkren |
getIndexOfChild | public int getIndexOfChild(Object parent, Object child)(Code) | | Get the index of a certain child.
Parameters: parent - the parent Parameters: child - the child the index |
getRoot | public Object getRoot()(Code) | | Get the root node.
the root node of the tree |
isLeaf | public boolean isLeaf(Object node)(Code) | | Indicates whether the object represents a leaf.
|
valueForPathChanged | public void valueForPathChanged(TreePath path, Object newValue)(Code) | | Not implemented method from the tree model interface.
|
|
|