Package com.ribs
Class RibsEventQueue
- java.lang.Object
-
- java.awt.EventQueue
-
- com.ribs.RibsEventQueue
-
public class RibsEventQueue extends java.awt.EventQueue
An Ribs event queue subclass to capture isAltDown(), isMetaDown() and send Ribs.EventListener notifications.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RibsEventQueue.RibsExceptionHandler
An interface for an exception handler.
-
Constructor Summary
Constructors Constructor Description RibsEventQueue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatchEvent(java.awt.AWTEvent e)
An implementation of dispatch event to do useful Ribs things.static RibsEventQueue
getShared()
Returns the shared instance of the event queue.void
setExceptionHandler(RibsEventQueue.RibsExceptionHandler aHandler)
Sets the object to handle exceptions.static void
setShared(RibsEventQueue aEQ)
Sets the shared instance of the event queue.
-
-
-
Method Detail
-
getShared
public static RibsEventQueue getShared()
Returns the shared instance of the event queue.
-
setShared
public static void setShared(RibsEventQueue aEQ)
Sets the shared instance of the event queue.
-
setExceptionHandler
public void setExceptionHandler(RibsEventQueue.RibsExceptionHandler aHandler)
Sets the object to handle exceptions.
-
dispatchEvent
protected void dispatchEvent(java.awt.AWTEvent e)
An implementation of dispatch event to do useful Ribs things.- Overrides:
dispatchEvent
in classjava.awt.EventQueue
-
-