maspack.properties
Class TestHierarchy

java.lang.Object
  extended by 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


Constructor Summary
TestHierarchy()
           
 
Method Summary
 TestNode addNode(TestNode node)
           
 TestNode getNode(java.lang.String name)
           
 TestNode getRoot()
           
 void printAllProperties(java.io.PrintStream os, java.util.Map<java.lang.String,PropTreeCell> map)
           
 void recordAllProperties(java.util.HashMap<java.lang.String,PropTreeCell> map, TestNode node)
           
 java.util.HashMap<java.lang.String,PropTreeCell> recordAllProperties(TestNode node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHierarchy

public TestHierarchy()
Method Detail

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)