Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
F
G
I
P
S
W
C
Canvas
- Class in
<Unnamed>
Class Canvas - a class to allow for simple graphical drawing on a canvas.
Canvas(String)
- Constructor for class
Canvas
Create a Canvas with default height, width and background color (300, 300, white).
Canvas()
- Constructor for class
Canvas
Create a Canvas with default title, height, width and background color ("Canvas", 300, 300, white).
canvas
- Variable in class
Canvas
Canvas.CanvasPane
- Class in
<Unnamed>
Nested class CanvasPane - the actual canvas component contained in the Canvas frame.
Canvas.CanvasPane()
- Constructor for class
Canvas.CanvasPane
D
drawFilledOval(int, int, int, int)
- Method in class
Canvas
Draws a filled oval on the Canvas.
drawFilledPolygon(int[], int[], int)
- Method in class
Canvas
Draws a filled polygon on the Canvas.
drawFilledRectangle(int, int, int, int)
- Method in class
Canvas
Draws a filled rectangle on the Canvas.
drawLine(int, int, int, int)
- Method in class
Canvas
Draws a line on the Canvas.
drawOval(int, int, int, int)
- Method in class
Canvas
Draws an oval on the Canvas.
drawPolygon(int[], int[], int)
- Method in class
Canvas
Draws a polygon on the Canvas.
drawRectangle(int, int, int, int)
- Method in class
Canvas
Draws a rectangle on the Canvas.
drawString(String, int, int)
- Method in class
Canvas
Draws a String on the Canvas.
E
erase()
- Method in class
Canvas
Erase the whole canvas.
eraseOval(int, int, int, int)
- Method in class
Canvas
Erases an oval on the Canvas.
eraseRectangle(int, int, int, int)
- Method in class
Canvas
Erases a rectangle on the Canvas.
eraseString(String, int, int)
- Method in class
Canvas
Erases a String on the Canvas.
F
fillBackground(Color)
- Method in class
Canvas
Fills in the Canvas (background) with the specified color.
G
getFont()
- Method in class
Canvas
Returns the current font of the canvas.
getInkColor()
- Method in class
Canvas
Returns the current pen color.
I
isVisible()
- Method in class
Canvas
Provide information on visibility of the Canvas.
P
paint(Graphics)
- Method in class
Canvas.CanvasPane
S
setFont(Font)
- Method in class
Canvas
changes the current Font used on the Canvas
setFontSize(int)
- Method in class
Canvas
Sets the point size of the current font to the specified value.
setInkColor(Color)
- Method in class
Canvas
Sets the "pen" (outline) color for the Canvas.
setSize(int, int)
- Method in class
Canvas
Sets the size of the canvas.
setVisible(boolean)
- Method in class
Canvas
Set the canvas visibility and brings canvas to the front of screen when made visible.
W
wait(int)
- Method in class
Canvas
Waits for a specified number of milliseconds before finishing.
C
D
E
F
G
I
P
S
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes