Package org.zkoss.zk.ui.impl
Class ProxyEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.impl.ProxyEvent
- All Implemented Interfaces:
Serializable
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().- Since:
- 5.0.7
- Author:
- tomyeh
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the proxied event.Returns the real target.Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
ProxyEvent
Constructor.Notice that
Event.getTarget()is the same as the target of the given event. To retrieve the real target (passed thru the argument), please usegetRealTarget()instead.- Parameters:
realTarget- the real target. If null, it means broadcast.event- the proxied event.
-
-
Method Details
-
getRealTarget
Returns the real target. -
getProxiedEvent
Returns the proxied event.
-