com.retek.commons.gui.event
Class HotKeyEventQueue

java.lang.Object
  extended byjava.awt.EventQueue
      extended bycom.retek.commons.gui.event.HotKeyEventQueue

public class HotKeyEventQueue
extends java.awt.EventQueue

This class subclasses the standard EventQueue and handles special processes of FUNCTION key. It calls back to the listener asking for the function key to be processed and then consumes the event keeping it from being processed by the rest of the event queue.

Retek Inc. Copyright (c) 2002


Constructor Summary
HotKeyEventQueue(HotKeyListener listener)
          Constructs a new hot key queue.
 
Method Summary
protected  void dispatchEvent(java.awt.AWTEvent event)
          Override the dispatchEvent() method to tell the listener to process the hot keys.
 
Methods inherited from class java.awt.EventQueue
getCurrentEvent, getMostRecentEventTime, getNextEvent, invokeAndWait, invokeLater, isDispatchThread, peekEvent, peekEvent, pop, postEvent, push
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotKeyEventQueue

public HotKeyEventQueue(HotKeyListener listener)
Constructs a new hot key queue.

Parameters:
listener - The listener that should process the hot keys.
Method Detail

dispatchEvent

protected void dispatchEvent(java.awt.AWTEvent event)
Override the dispatchEvent() method to tell the listener to process the hot keys.

Parameters:
event - The AWTEvent generated by the system.


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28