jgnash.ui.register
Class AbstractBankTransactionPanel.PayeeFocusListener

java.lang.Object
  extended by jgnash.ui.register.AbstractBankTransactionPanel.PayeeFocusListener
All Implemented Interfaces:
java.awt.event.FocusListener, java.util.EventListener
Enclosing class:
AbstractBankTransactionPanel

private class AbstractBankTransactionPanel.PayeeFocusListener
extends java.lang.Object
implements java.awt.event.FocusListener

This class handles the auto fill of a Transaction. If it's a new transaction and the string in the "payee" field can be found in a previous transaction, the rest of the transaction fields are populated with the values of the previous transaction. The date and transaction fields are left alone.


Constructor Summary
private AbstractBankTransactionPanel.PayeeFocusListener()
           
 
Method Summary
 void focusGained(java.awt.event.FocusEvent e)
          Invoked when a component gains the keyboard focus.
 void focusLost(java.awt.event.FocusEvent e)
          Invoked when a component loses the keyboard focus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBankTransactionPanel.PayeeFocusListener

private AbstractBankTransactionPanel.PayeeFocusListener()
Method Detail

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Invoked when a component gains the keyboard focus.

Specified by:
focusGained in interface java.awt.event.FocusListener
Parameters:
e - Focus change event

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Invoked when a component loses the keyboard focus.

Specified by:
focusLost in interface java.awt.event.FocusListener
Parameters:
e - Focus change event