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.
 
Methods inherited from interface swarm.gui.CanvasAbstractItemC
createBindings, createItem, setCanvas
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

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.