All Packages Class Hierarchy This Package Previous Next Index
Class Scribble.BetterBoard
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----Scribble.Whiteboard
|
+----Scribble.BetterBoard
- public class BetterBoard
- extends Whiteboard
This class extends Whiteboard and adds in the appropriate
listeners for the "Clear" button and the color choice.
It needs to take an instance of ScribbleCanvas rather than
of SmartCanvas b/c SmartCanvas doesn't have a method to
allow other Objects to clear the lines.
-
BetterBoard()
-
the default constructor
-
BetterBoard(ScribbleCanvas)
- the other constructor which takes a ScribbleCanvas
BetterBoard
public BetterBoard()
- the default constructor
BetterBoard
public BetterBoard(ScribbleCanvas drawingArea)
- the other constructor which takes a ScribbleCanvas
All Packages Class Hierarchy This Package Previous Next Index