swarm.gui
Interface LinkItemC
- All Known Implementing Classes:
- LinkItemCImpl
- public interface LinkItemC
- extends CompositeItemC, CompositeItemS
A canvas item for displaying a link between two nodes..
A CompositeCanvasItem for displaying a link between two NodeItems.
Method Summary |
java.lang.Object |
setDirectedFlag(boolean directedFlag)
For disabling directed link items. |
java.lang.Object |
setFrom(NodeItem from)
Designate the node that will be the source of the link. |
java.lang.Object |
setTo(NodeItem to)
Designate the node that will be the destination of the link. |
setFrom
public java.lang.Object setFrom(NodeItem from)
- Designate the node that will be the source of the link.
setTo
public java.lang.Object setTo(NodeItem to)
- Designate the node that will be the destination of the link.
setDirectedFlag
public java.lang.Object setDirectedFlag(boolean directedFlag)
- For disabling directed link items.