Package com.ribs
Class RibsEventListener
java.lang.Object
com.ribs.RibsEventListener
- All Implemented Interfaces:
- AWTEventListener,- EventListener
An AWTEventListener implementation to capture isAltDown(), isMetaDown() and notifications: appActivated,
 appDeactivated.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAn interface for objects that want notification about event processing.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEventListener(RibsEventListener.Listener aListener) Adds an Ribs.EventListener to this RibsEventQueue.voidAn implementation of dispatch event to do useful Ribs things.getListener(int anIndex) Returns the individual listener at the given index.intReturns the number of Ribs EventListeners for this queue.static RibsEventListenerReturns the shared instance of the event queue.voidremoveEventListener(RibsEventListener.Listener aListener) Removes an Ribs.EventListener from the RibsEventQueue.voidsetEnabled(boolean isEnabled) Turns this listener on or off.
- 
Constructor Details- 
RibsEventListenerpublic RibsEventListener()
 
- 
- 
Method Details
- 
setEnabledpublic void setEnabled(boolean isEnabled) Turns this listener on or off.
- 
getListenerCountpublic int getListenerCount()Returns the number of Ribs EventListeners for this queue.
- 
getListenerReturns the individual listener at the given index.
- 
addEventListenerAdds an Ribs.EventListener to this RibsEventQueue.
- 
removeEventListenerRemoves an Ribs.EventListener from the RibsEventQueue.
- 
eventDispatchedAn implementation of dispatch event to do useful Ribs things.- Specified by:
- eventDispatchedin interface- AWTEventListener