Package org.cip4.jdflib.util.event
Class EventQueue
- java.lang.Object
-
- org.cip4.jdflib.util.event.EventQueue
-
- All Implemented Interfaces:
java.util.EventListener,IEventListener,IEventQueue
public class EventQueue extends java.lang.Object implements IEventQueue, IEventListener
class that can be plugged into another class to provide EventQueue functionality by delegation
-
-
Constructor Summary
Constructors Constructor Description EventQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(IEventListener listener)called to add an event to thisvoideventFired(java.util.EventObject event)called when an event is fired
-
-
-
Method Detail
-
addListener
public void addListener(IEventListener listener)
Description copied from interface:IEventQueuecalled to add an event to this- Specified by:
addListenerin interfaceIEventQueue- Parameters:
listener-- See Also:
IEventQueue.addListener(org.cip4.jdflib.util.event.IEventListener)
-
eventFired
public void eventFired(java.util.EventObject event)
Description copied from interface:IEventListenercalled when an event is fired- Specified by:
eventFiredin interfaceIEventListener- Parameters:
event-- See Also:
IEventListener.eventFired(java.util.EventObject)
-
-