org.wilmascope.control
Class GraphControl.Node

java.lang.Object
  extended by org.wilmascope.control.GraphControl.GraphElementFacade
      extended by org.wilmascope.control.GraphControl.Node
Direct Known Subclasses:
GraphControl.Cluster
Enclosing class:
GraphControl

public class GraphControl.Node
extends GraphControl.GraphElementFacade

the interface for nodes


Method Summary
 int getDegree()
           
 float getMass()
           
 Node getNode()
          get the node underlying this facade
 javax.vecmath.Point3f getPosition()
           
 java.util.Properties getProperties()
           
 float getRadius()
           
 void moveToCanvasPos(int x, int y)
           
 void removeProperty(java.lang.String key)
           
 void setMass(float m)
           
 void setPosition(javax.vecmath.Point3f pos)
           
 void setProperties(java.util.Properties p)
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void setRadius(float radius)
           
 void setTransparency(float inverse_alpha)
           
 void setView(NodeView view)
           
 
Methods inherited from class org.wilmascope.control.GraphControl.GraphElementFacade
addPickingClient, defaultColour, delete, getColour, getDefaultColour, getLabel, getUserData, getView, getViewType, hide, highlightColour, initView, isDefaultColour, setColour, setColour, setLabel, setLabel, setPickable, setUserData, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setPosition

public void setPosition(javax.vecmath.Point3f pos)

getPosition

public javax.vecmath.Point3f getPosition()

setView

public void setView(NodeView view)

setMass

public void setMass(float m)

getMass

public float getMass()

setRadius

public void setRadius(float radius)

getRadius

public float getRadius()

moveToCanvasPos

public void moveToCanvasPos(int x,
                            int y)

getDegree

public int getDegree()

setTransparency

public void setTransparency(float inverse_alpha)

setProperties

public void setProperties(java.util.Properties p)

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)

removeProperty

public void removeProperty(java.lang.String key)

getProperties

public java.util.Properties getProperties()

getNode

public Node getNode()
get the node underlying this facade