org.jbudget.gui
Class EventListener

java.lang.Object
  extended by org.jbudget.gui.EventListener
All Implemented Interfaces:
java.awt.event.AWTEventListener, java.util.EventListener

public class EventListener
extends java.lang.Object
implements java.awt.event.AWTEventListener

A special class that is used to listern to mouse events and stop transaction/allocation editing in the transaction/allocation list panel if a mouse click occurrs outside of the list component. This is done to fix the strange behavior of JTable class -- the editing is not stopped when a cell looses focus.

Author:
petrov

Constructor Summary
EventListener()
           
 
Method Summary
 void eventDispatched(java.awt.AWTEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListener

public EventListener()
Method Detail

eventDispatched

public void eventDispatched(java.awt.AWTEvent event)
Specified by:
eventDispatched in interface java.awt.event.AWTEventListener