org.wilmascope.forcelayout
Class Planar

java.lang.Object
  extended by org.wilmascope.patterns.Prototype
      extended by org.wilmascope.forcelayout.Force
          extended by org.wilmascope.forcelayout.Planar
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Planar
extends Force

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wilmascope.forcelayout.Force
strengthConstant
 
Constructor Summary
Planar(float strength)
           
 
Method Summary
 void calculate()
          Calculate the position deltas due to this force
 void setCluster(Cluster root)
           
 
Methods inherited from class org.wilmascope.forcelayout.Force
getStrengthConstant, setStrengthConstant, toString
 
Methods inherited from class org.wilmascope.patterns.Prototype
clone, getTypeName, setTypeName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Planar

public Planar(float strength)
Method Detail

setCluster

public void setCluster(Cluster root)
Specified by:
setCluster in class Force

calculate

public void calculate()
Description copied from class: Force
Calculate the position deltas due to this force

Specified by:
calculate in class Force