|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.EventQueue
com.retek.commons.gui.event.HotKeyEventQueue
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 |
public HotKeyEventQueue(HotKeyListener listener)
listener
- The listener that should process the hot keys.Method Detail |
protected void dispatchEvent(java.awt.AWTEvent event)
event
- The AWTEvent generated by the system.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |