maspack.properties
Class TestHierarchy
java.lang.Object
maspack.properties.TestHierarchy
- Direct Known Subclasses:
- EditTest
public class TestHierarchy
- extends java.lang.Object
Artificial properties used for testing:
double stiffness; double damping; double modulus; String file; int order; int
width; Color color; Vector3d dir; Material double density double stiffness
double damping RenderInfo Color color; String textureFile; double shine; int
width;
and here is the hierarchy:
myRoot /\ / \ M1 M7 /\ |\ / \ | \ S2 T4 M8 S9 / /\ | / / \ | M3 M5 S6 T10
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestHierarchy
public TestHierarchy()
getRoot
public TestNode getRoot()
recordAllProperties
public void recordAllProperties(java.util.HashMap<java.lang.String,PropTreeCell> map,
TestNode node)
printAllProperties
public void printAllProperties(java.io.PrintStream os,
java.util.Map<java.lang.String,PropTreeCell> map)
recordAllProperties
public java.util.HashMap<java.lang.String,PropTreeCell> recordAllProperties(TestNode node)
addNode
public TestNode addNode(TestNode node)
getNode
public TestNode getNode(java.lang.String name)