|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wilmascope.patterns.Prototype
org.wilmascope.forcelayout.Force
org.wilmascope.forcelayout.Repulsion
public class Repulsion
A repulsive (electrostatic style) force between all nodes.
| Field Summary |
|---|
| Fields inherited from class org.wilmascope.forcelayout.Force |
|---|
strengthConstant |
| Constructor Summary | |
|---|---|
Repulsion(float strengthConstant,
float limitRadius)
|
|
| Method Summary | |
|---|---|
void |
calculate()
Calculate deltas for the repulsive (electrostatic) forces between all nodes |
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 |
|---|
public Repulsion(float strengthConstant,
float limitRadius)
| Method Detail |
|---|
public void setCluster(Cluster root)
setCluster in class Forcepublic void calculate()
calculate in class Forcenodes - The nodes to which this force appliesedges - Not used in this method (here to match the interface)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||