org.graphstream.ui.layout.springbox.implementations
Class LinLogNodeParticle

java.lang.Object
  extended by org.miv.pherd.Particle
      extended by org.graphstream.ui.layout.springbox.NodeParticle
          extended by org.graphstream.ui.layout.springbox.implementations.LinLogNodeParticle

public class LinLogNodeParticle
extends NodeParticle


Field Summary
 
Fields inherited from class org.graphstream.ui.layout.springbox.NodeParticle
attE, disp, frozen, len, neighbours, out, repE
 
Constructor Summary
LinLogNodeParticle(LinLog box, String id)
          New node.
LinLogNodeParticle(LinLog box, String id, double x, double y, double z)
          New node at a given position.
 
Method Summary
 
Methods inherited from class org.graphstream.ui.layout.springbox.NodeParticle
getEdges, inserted, move, moveOf, moveTo, nextStep, registerEdge, removed, removeNeighborEdges, unregisterEdge
 
Methods inherited from class org.miv.pherd.Particle
closeTo, closeTo, getAttribute, getAttributeKeyIterator, getCell, getId, getPosition, getWeight, removeAttribute, setAttribute, setCell, setWeight, suicide
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinLogNodeParticle

public LinLogNodeParticle(LinLog box,
                          String id)
New node. The node is placed at random in the space of the simulation.

Parameters:
box - The spring box.
id - The node identifier.

LinLogNodeParticle

public LinLogNodeParticle(LinLog box,
                          String id,
                          double x,
                          double y,
                          double z)
New node at a given position.

Parameters:
box - The spring box.
id - The node identifier.
x - The abscissa.
y - The ordinate.
z - The depth.


Copyright © 2013. All Rights Reserved.