public class EventTriggerBinding
extends Object
implements TriggerBinding
Creates bindings that update whenever a named event handler property fires.
| Constructor and description |
|---|
EventTriggerBinding(Object triggerBean, String eventName)Creates a trigger binding for the supplied bean event property. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public FullBinding |
createBinding(SourceBinding sourceBinding, TargetBinding targetBinding)Creates a full binding that reacts when the event handler is invoked. |
|
public String |
getEventName()Returns the event handler property name. |
|
public Object |
getTriggerBean()Returns the bean that exposes the event handler property. |
|
public void |
setEventName(String eventName)Replaces the event handler property name. |
|
public void |
setTriggerBean(Object triggerBean)Replaces the bean that exposes the event handler property. |
Creates a full binding that reacts when the event handler is invoked.
sourceBinding - the source binding to read fromtargetBinding - the target binding to updateReturns the event handler property name.
Returns the bean that exposes the event handler property.
Replaces the event handler property name.
eventName - the new event property nameReplaces the bean that exposes the event handler property.
triggerBean - the new trigger beanCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.