|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.event.Event org.zkoss.zk.ui.impl.ProxyEvent
public class ProxyEvent
Used to proxy another event.
It is used internally for Execution.postEvent(int, Component, Event)
to handle if the real target of an event is different from Event.getTarget()
.
Constructor Summary | |
---|---|
ProxyEvent(Component realTarget,
Event event)
Constructor. |
Method Summary | |
---|---|
Event |
getProxiedEvent()
Returns the proxied event. |
Component |
getRealTarget()
Returns the real target. |
Methods inherited from class org.zkoss.zk.ui.event.Event |
---|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProxyEvent(Component realTarget, Event event)
Notice that Event.getTarget()
is the same as the target of the given
event. To retrieve the real target (passed thru the argument), please
use getRealTarget()
instead.
realTarget
- the real target. If null, it means broadcast.event
- the proxied event.Method Detail |
---|
public Component getRealTarget()
public Event getProxiedEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |