org.wilmascope.control
Class GraphControl.Node
java.lang.Object
org.wilmascope.control.GraphControl.GraphElementFacade
org.wilmascope.control.GraphControl.Node
- Direct Known Subclasses:
- GraphControl.Cluster
- Enclosing class:
- GraphControl
public class GraphControl.Node
- extends GraphControl.GraphElementFacade
the interface for nodes
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 |
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