public class ProxyEvent extends Event
Execution.postEvent(int, Component, Event)
to handle if the real target of an event is different from Event.getTarget()
.Constructor and Description |
---|
ProxyEvent(Component realTarget,
Event event)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Event |
getProxiedEvent()
Returns the proxied event.
|
Component |
getRealTarget()
Returns the real target.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
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.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.