candy.util.whiteboard
Class Freehand

java.lang.Object
  |
  +--candy.core.candyObject
        |
        +--candy.util.whiteboard.WBPrimitive
              |
              +--candy.util.whiteboard.Freehand
All Implemented Interfaces:
net.jini.core.entry.Entry, java.io.Serializable

public class Freehand
extends WBPrimitive

See Also:
Serialized Form

Field Summary
protected  java.awt.geom.Point2D.Double[] path
           
 
Fields inherited from class candy.util.whiteboard.WBPrimitive
begin, color, deleteFlag, end, myClassName, MyShape, myWB
 
Fields inherited from class candy.core.candyObject
description, handle, timestamp
 
Constructor Summary
Freehand(java.awt.geom.Point2D.Double[] points, java.awt.Color c, java.lang.String wb)
           
 
Method Summary
 java.awt.Shape drawNew()
          Every WBPrimitive must be able to draw itself.
 
Methods inherited from class candy.util.whiteboard.WBPrimitive
create, deleted, doAction, draw, finalSequence, getClassName, getColor, getComponent, getWBHandle, postSequence, preSequence, setClassName, setClient
 
Methods inherited from class candy.core.candyObject
getDescription, getHandle, setDescription, setHandle
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected transient java.awt.geom.Point2D.Double[] path
Constructor Detail

Freehand

public Freehand(java.awt.geom.Point2D.Double[] points,
                java.awt.Color c,
                java.lang.String wb)
Method Detail

drawNew

public java.awt.Shape drawNew()
Description copied from class: WBPrimitive
Every WBPrimitive must be able to draw itself.
Overrides:
drawNew in class WBPrimitive