|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.control.GraphControl.GraphElementFacade
org.wilmascope.control.GraphControl.Edge
public class GraphControl.Edge
The interface for edges
Method Summary | |
---|---|
Edge |
getEdge()
get the edge underlying this facade |
GraphControl.Node |
getEndNode()
|
GraphControl.Node |
getStartNode()
|
float |
getWeight()
|
void |
reverseDirection()
|
void |
setRelaxedLength(float length)
set the natural or unstretched or compacted length of the edge |
void |
setView(EdgeView view)
|
void |
setWeight(float weight)
|
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 |
---|
public void setView(EdgeView view)
public void setRelaxedLength(float length)
length
- the new natural length for the edgepublic void reverseDirection()
public void setWeight(float weight)
public float getWeight()
public GraphControl.Node getStartNode()
public GraphControl.Node getEndNode()
public Edge getEdge()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |