|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.BasicPropertyContainer
diva.graphx.toolbox.BasicEdge
public class BasicEdge
A basic implementation of an edge.
Constructor Summary | |
---|---|
BasicEdge()
Create a new edge with no tail or head |
|
BasicEdge(BasicNode tail,
BasicNode head)
Create a new edge with the specified tail and head |
Method Summary | |
---|---|
boolean |
acceptHead(BasicNode head)
Return true |
boolean |
acceptTail(BasicNode tail)
Return true |
BasicNode |
getHead()
Return the head node |
BasicNode |
getTail()
Return the tail node |
void |
setHead(BasicNode head)
Set the head node. |
void |
setTail(BasicNode tail)
Set the tail node. |
Methods inherited from class diva.util.BasicPropertyContainer |
---|
getProperty, properties, propertyNames, removeAllProperties, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicEdge()
public BasicEdge(BasicNode tail, BasicNode head)
Method Detail |
---|
public boolean acceptHead(BasicNode head)
public boolean acceptTail(BasicNode tail)
public BasicNode getHead()
public BasicNode getTail()
public void setHead(BasicNode head)
public void setTail(BasicNode tail)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |