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

Variable Index

 o o
 o oX
 o oY

Constructor Index

 o Whiteboard()

Method Index

 o getMessageOutput()
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseUp(Event, int, int)
 o receive(DataInputStream)
 o scribble(int, int)
 o setMessageOutput(MessageOutput)
 o transmit(int, int)

Variables

 o o
  protected MessageOutput o
 o oX
  protected int oX
 o oY
  protected int oY

Constructors

 o Whiteboard
  public Whiteboard()

Methods

 o setMessageOutput
  public void setMessageOutput(MessageOutput o)
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseDrag
  public boolean mouseDrag(Event e,
                           int x,
                           int y)
Overrides:
mouseDrag in class Component
 o mouseUp
  public boolean mouseUp(Event e,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o transmit
  protected void transmit(int x,
                          int y)
 o scribble
  protected void scribble(int x,
                          int y)
 o getMessageOutput
  public MessageOutput getMessageOutput()
 o receive
  public void receive(DataInputStream dI)

All Packages  Class Hierarchy  This Package  Previous  Next  Index