net.curre.prefcount.event
Class ComputeButtonActionListener

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.curre.prefcount.event.ComputeButtonActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ComputeButtonActionListener
extends javax.swing.AbstractAction
implements java.awt.event.ActionListener, java.awt.event.KeyListener

Object of this class represents a listener that implements the ActionListener and the KeyListener interfaces, to be used as an action and key listeners with the compute scores button.

Created date: Jun 29, 2007

Author:
Yevgeny Nyden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ComputeButtonActionListener()
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
          Initiates computing and drawing the final scores.
 void keyPressed(java.awt.event.KeyEvent keyEvent)
          
 void keyReleased(java.awt.event.KeyEvent keyEvent)
          
 void keyTyped(java.awt.event.KeyEvent keyEvent)
          
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeButtonActionListener

public ComputeButtonActionListener()
Constructor.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)
Initiates computing and drawing the final scores.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent keyEvent)

Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent keyEvent)

Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent keyEvent)

Specified by:
keyReleased in interface java.awt.event.KeyListener


Copyright © 2008. All Rights Reserved.