Class part3.chapter18.Whiteboard
All Packages Class Hierarchy This Package Previous Next Index
Class part3.chapter18.Whiteboard
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----part3.chapter18.Whiteboard
- public class Whiteboard
- extends Canvas
- implements Recipient
-
o
-
-
oX
-
-
oY
-
-
Whiteboard()
-
-
getMessageOutput()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
mouseUp(Event, int, int)
-
-
receive(DataInputStream)
-
-
scribble(int, int)
-
-
setMessageOutput(MessageOutput)
-
-
transmit(int, int)
-
o
protected MessageOutput o
oX
protected int oX
oY
protected int oY
Whiteboard
public Whiteboard()
setMessageOutput
public void setMessageOutput(MessageOutput o)
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event e,
int x,
int y)
- Overrides:
- mouseDrag in class Component
mouseUp
public boolean mouseUp(Event e,
int x,
int y)
- Overrides:
- mouseUp in class Component
transmit
protected void transmit(int x,
int y)
scribble
protected void scribble(int x,
int y)
getMessageOutput
public MessageOutput getMessageOutput()
receive
public void receive(DataInputStream dI)
All Packages Class Hierarchy This Package Previous Next Index