All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

addLine(Line). Method in class Scribble.ScribbleData
Adds a new line to the previously stored lines.

B

BetterBoard(). Constructor for class Scribble.BetterBoard
the default constructor
BetterBoard(ScribbleCanvas). Constructor for class Scribble.BetterBoard
the other constructor which takes a ScribbleCanvas

C

clearButton. Variable in class Scribble.Whiteboard
The Clear Button that will delete all Lines drawn on screen
clearLines(). Method in class Scribble.ScribbleCanvas
clearLines(). Method in class Scribble.ScribbleData
Removes all lines from the repository and repaints the screen so that there are no lines on the screen
colorChoice. Variable in class Scribble.Whiteboard
The Radio Button that allows the user to change the color of the lines to be drawn

I

init(). Method in class Scribble.Whiteboard
This initializes all components of the Whiteboard.

M

Main(). Constructor for class Scribble.Main
main(String[]). Static method in class Scribble.Main

P

paint(Graphics). Method in class Scribble.SmartCanvas
The paint method which will draw all the lines on screen
paintLines(Graphics). Method in class Scribble.ScribbleData
Paints the stored lines to the screen

R

repository. Variable in class Scribble.SmartCanvas

S

ScribbleCanvas(). Constructor for class Scribble.ScribbleCanvas
ScribbleData(). Constructor for class Scribble.ScribbleData
The default constructor, which doesn't offer a lot of functionality
ScribbleData(Component). Constructor for class Scribble.ScribbleData
the other constructor which takes a Component to interact with
setColor(Color). Method in class Scribble.ScribbleCanvas
setGUI(Component). Method in class Scribble.ScribbleData
Sets the Component to interact with
SmartCanvas(). Constructor for class Scribble.SmartCanvas
The default constructor, which will also create a new ScribbleData to work with
SmartCanvas(ScribbleData). Constructor for class Scribble.SmartCanvas
The other constructor, which will take a previously created ScribbleData

W

Whiteboard(). Constructor for class Scribble.Whiteboard
Default constructor which will create a new SmartCanvas
Whiteboard(SmartCanvas). Constructor for class Scribble.Whiteboard
Other Constructor which will take a SmartCanvas as an argument