|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.zwares.base.event.EEventFactory
| Field Summary | |
protected EEventBuffer |
eventBuffer
|
protected EEventSourceObject |
multicaster
|
protected java.lang.Thread |
notifyThread
|
protected boolean |
stopThread
|
| Constructor Summary | |
EEventFactory()
Creates new EEventFactory |
|
| Method Summary | |
void |
addEventListener(EEventListener el)
Adds an ActionListener to the list of listners. |
void |
destroy()
Derefrences all instances being held by this object. |
void |
eventGenerated(EEvent evt)
Performs the following actions when an event ocours. |
void |
notifyEventListeners(EEvent evt)
Notifies all the registered listeners about the event evt. |
void |
removeEventListener(EEventListener el)
Removes any listener added. |
void |
run()
Run method for the thread that always listens to the event queue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected EEventSourceObject multicaster
protected java.lang.Thread notifyThread
protected EEventBuffer eventBuffer
protected boolean stopThread
| Constructor Detail |
public EEventFactory()
| Method Detail |
public void addEventListener(EEventListener el)
public void removeEventListener(EEventListener el)
public void notifyEventListeners(EEvent evt)
public void eventGenerated(EEvent evt)
eventGenerated in interface EEventListenerpublic void run()
run in interface java.lang.Runnablepublic void destroy()
destroy in interface Destructible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||