edu.mit.sketch.ui
Class TabletDebugger

java.lang.Object
  |
  +--edu.mit.sketch.ui.TabletDebugger
All Implemented Interfaces:
ActionListener, EventListener, KeyListener, MouseMotionListener

public class TabletDebugger
extends Object
implements KeyListener, MouseMotionListener, ActionListener

Acronyms: sdr -> StrokeDataReader, sd -> StrokeData This class listens to events happening in the Tablet and supplies debugging info as needed.


Constructor Summary
TabletDebugger(Tablet tablet)
          The constructor.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Handle action events
 void keyPressed(KeyEvent k)
          Handle key stroke events
 void keyReleased(KeyEvent k)
          Handle key stroke events
 void keyTyped(KeyEvent ke)
          Handle key stroke events
 void mouseDragged(MouseEvent e)
          Handle mouse events
 void mouseMoved(MouseEvent e)
          Handle mouse events
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletDebugger

public TabletDebugger(Tablet tablet)
The constructor.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Handle action events
Specified by:
actionPerformed in interface ActionListener

mouseDragged

public void mouseDragged(MouseEvent e)
Handle mouse events
Specified by:
mouseDragged in interface MouseMotionListener

mouseMoved

public void mouseMoved(MouseEvent e)
Handle mouse events
Specified by:
mouseMoved in interface MouseMotionListener

keyPressed

public void keyPressed(KeyEvent k)
Handle key stroke events
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent k)
Handle key stroke events
Specified by:
keyReleased in interface KeyListener

keyTyped

public void keyTyped(KeyEvent ke)
Handle key stroke events
Specified by:
keyTyped in interface KeyListener