swarm.gui
Interface LinkItem

All Known Implementing Classes:
LinkItemImpl

public interface LinkItem
extends CompositeItem, CompositeItemS

A canvas item for displaying a link between two nodes.. A CompositeCanvasItem for displaying a link between two NodeItems.


Method Summary
 void setColor(java.lang.String aColor)
          Set the color of the link.
 void update()
          Redraw the link (especially due to the motion of nodes).
 
Methods inherited from interface swarm.gui.CompositeItem
moveX$Y
 
Methods inherited from interface swarm.gui.CanvasAbstractItem
clicked, getCanvas, initiateMoveX$Y, setClickSel, setMoveSel, setPostMoveSel, setTargetId
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from interface swarm.defobj.GetName
getName
 

Method Detail

setColor

public void setColor(java.lang.String aColor)
Set the color of the link.

update

public void update()
Redraw the link (especially due to the motion of nodes).