public class DigitalWhiteboard extends Object implements VideoDisplayListener<MBFImage>, MouseInputListener, KeyListener
| Constructor and Description |
|---|
DigitalWhiteboard() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUpdate(VideoDisplay<MBFImage> display)
Called when the video display is updated and the next frame
is displayed
|
void |
beforeUpdate(MBFImage frame)
Called when the video is about to update
|
void |
keyPressed(KeyEvent arg0) |
void |
keyReleased(KeyEvent arg0) |
void |
keyTyped(KeyEvent event) |
static void |
main(String[] args) |
void |
mouseClicked(MouseEvent arg0) |
void |
mouseDragged(MouseEvent arg0) |
void |
mouseEntered(MouseEvent arg0) |
void |
mouseExited(MouseEvent arg0) |
void |
mouseMoved(MouseEvent arg0) |
void |
mousePressed(MouseEvent arg0) |
void |
mouseReleased(MouseEvent arg0) |
public DigitalWhiteboard() throws IOException
IOExceptionpublic void afterUpdate(VideoDisplay<MBFImage> display)
VideoDisplayListenerafterUpdate in interface VideoDisplayListener<MBFImage>display - the video displaypublic void beforeUpdate(MBFImage frame)
VideoDisplayListenerbeforeUpdate in interface VideoDisplayListener<MBFImage>frame - the frame about to be displayedpublic static void main(String[] args) throws IOException
IOExceptionpublic void mouseClicked(MouseEvent arg0)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent arg0)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent arg0)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent arg0)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent arg0)
mouseReleased in interface MouseListenerpublic void mouseDragged(MouseEvent arg0)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent arg0)
mouseMoved in interface MouseMotionListenerpublic void keyPressed(KeyEvent arg0)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent arg0)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent event)
keyTyped in interface KeyListener