|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.util.EventHandler<L>
javax.rad.model.event.ModelEventHandler<L>
L
- the Listener typepublic class ModelEventHandler<L>
The ModelEventHandler
is a EventHandler
that
handles Events, and throws ModelExceptions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.rad.util.EventHandler |
---|
EventHandler.ListenerHandler |
Constructor Summary | |
---|---|
ModelEventHandler(java.lang.Class<L> pListenerType)
Creates a new instance of ModelEventHandler . |
Method Summary | |
---|---|
java.lang.Object |
dispatchEvent(java.lang.Object... pEventParameter)
Dispatches the given events to all listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelEventHandler(java.lang.Class<L> pListenerType)
ModelEventHandler
.
pListenerType
- the listener type interface.Method Detail |
---|
public java.lang.Object dispatchEvent(java.lang.Object... pEventParameter) throws ModelException
dispatchEvent
in class EventHandler<L>
pEventParameter
- the event parameter.
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |