com.liquidatom.derbyscore.ui
Class TimeTextFieldKeyListener

java.lang.Object
  extended by com.liquidatom.derbyscore.ui.TimeTextFieldKeyListener
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener

@Immutable
@ThreadSafe
public class TimeTextFieldKeyListener
extends java.lang.Object
implements java.awt.event.KeyListener

Author:
Russell Francis (russ@metro-six.com)

Constructor Summary
TimeTextFieldKeyListener(javax.swing.JTextField timeTextField, Clock clock)
           
 
Method Summary
protected  void assertDispatchThread()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTextFieldKeyListener

public TimeTextFieldKeyListener(javax.swing.JTextField timeTextField,
                                Clock clock)
Method Detail

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

assertDispatchThread

protected void assertDispatchThread()