Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.ide.controls
Class KeyboardRedirector

java.lang.Object
  extended by oracle.ide.controls.KeyboardRedirector
All Implemented Interfaces:
java.awt.event.AWTEventListener, java.util.EventListener

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

This class is used by IdeAction to freeze the keyboard events during an actionPerformed and release the events when a dialog pops up. This is a workaround for Sun's bug 4264635

See Also:
JDK.HAS_BUG_BROKEN_TYPE_AHEAD

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

Constructor Detail

KeyboardRedirector

public KeyboardRedirector()
Method Detail

getInstance

public static KeyboardRedirector getInstance()

freeze

public void freeze()

thaw

public void thaw()

eventDispatched

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.