|
||||||||||
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.util.RuntimeEventHandler<L>
L
- the Listener typepublic class RuntimeEventHandler<L>
The RuntimeEventHandler
is a EventHandler
that
handles Events, and informs the ExceptionHandler.
Constructor Summary | |
---|---|
RuntimeEventHandler(Class<L> pListenerType,
Class... pParameterTypes)
Constructs a new EventHandler, the listener type may only have 1 method. |
|
RuntimeEventHandler(Class<L> pListenerType,
String pListenerMethodName,
Class... pParameterTypes)
Constructs a new EventHandler. |
Method Summary | |
---|---|
Object |
dispatchEvent(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 RuntimeEventHandler(Class<L> pListenerType, Class... pParameterTypes)
pListenerType
- the listener type interface.pParameterTypes
- parameter types to check additional.public RuntimeEventHandler(Class<L> pListenerType, String pListenerMethodName, Class... pParameterTypes)
pListenerType
- the listener type interface.pListenerMethodName
- the method to be called inside the interface.pParameterTypes
- parameter types to check additional.Method Detail |
---|
public Object dispatchEvent(Object... pEventParameter)
dispatchEvent
in class EventHandler<L>
pEventParameter
- the event parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |