Class AppletPaint
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----AppletPaint
- public class AppletPaint
- extends Applet
-
cbDel
-
-
cbDraw
-
-
cbMode
-
-
clearButton
-
-
colorChooser
-
-
undo10Button
-
-
undoButton
-
-
zeichenbereich
-
-
AppletPaint()
-
-
action(Event, Object)
-
-
init()
- Initializes the applet and sets up the widgets.
-
initDrawArea()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
paint(Graphics)
-
zeichenbereich
Graphics zeichenbereich
clearButton
Button clearButton
undoButton
Button undoButton
undo10Button
Button undo10Button
colorChooser
Choice colorChooser
cbMode
CheckboxGroup cbMode
cbDel
Checkbox cbDel
cbDraw
Checkbox cbDraw
AppletPaint
public AppletPaint()
init
public void init()
- Initializes the applet and sets up the widgets.
- Returns:
- void
- Overrides:
- init in class Applet
mouseDown
public boolean mouseDown(Event theEvent,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event theEvent,
int x,
int y)
- Overrides:
- mouseDrag in class Component
initDrawArea
public void initDrawArea()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
action
public boolean action(Event evt,
Object arg)
- Overrides:
- action in class Component