Documentation Set for Swarm 2.0.1
Prev
Reference VIII. Gui Library
Next
LinkItem
Name
LinkItem -- A canvas item for displaying a link between two nodes.
Description
A CompositeCanvasItem for displaying a link between two NodeItems.
Protocols adopted by LinkItem
CompositeItem
CREATABLE
Methods
Phase: Creating
-
setFrom:
from
Designate the node that will be the source of the link.
-
setTo:
to
Designate the node that will be the destination of the link.
-
createItem
Create a the lines that make up the link item.
-
createBindings
A LinkItem is passive; disable the mouse bindings.
Phase: Using
-
setColor:
(const char *)
aColor
Set the color of the link.
-
update
Redraw the link (especially due to the motion of nodes).
- (void)
drop
Delete the lines that make up a LinkItem.
Prev
Home
Next
Line
Up
MessageProbeEntry