swarm.gui
Interface CanvasAbstractItemC

All Known Subinterfaces:
CanvasItemC, CompositeItemC, LinkItemC, NodeItemC, OvalNodeItemC, RectangleNodeItemC
All Known Implementing Classes:
CanvasItemCImpl

public interface CanvasAbstractItemC
extends CreateC, CreateS, DropC, DropS

An abstract class for items on a Canvas.. CanvasAbstractItem is the root class of all items drawn on a Canvas.


Method Summary
 void createBindings()
          Method to be implemented by subclass.
 void createItem()
          Method to be implemented by subclass.
 java.lang.Object setCanvas(Canvas canvas)
          Designates the id of the Canvas in which this item resides.
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

createItem

public void createItem()
Method to be implemented by subclass.

createBindings

public void createBindings()
Method to be implemented by subclass.

setCanvas

public java.lang.Object setCanvas(Canvas canvas)
Designates the id of the Canvas in which this item resides.