org.zkoss.zkplus.databind
Class BindingValidateEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zkplus.databind.BindingValidateEvent
All Implemented Interfaces:
java.io.Serializable

public class BindingValidateEvent
extends Event

Event used when DataBinder send "onBindingValidate" events.

Since:
5.0.7
Author:
jumperchen
See Also:
Serialized Form

Constructor Summary
BindingValidateEvent(java.lang.String name, Component target, java.util.List<Component> references, java.util.List<Binding> bindings, java.util.List<java.lang.Object> values)
          Constructs a binding-relevant event.
 
Method Summary
 java.util.List<Binding> getBindings()
          Gets the list of the associate bindings of this event (Binding).
 java.util.List<Component> getReferences()
          Gets the list of the reference components that "trigger" sending of this event.
 java.util.List<java.lang.Object> getValues()
          Gets the list of the value to be saved after "onBindingValidate" event.
 
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

BindingValidateEvent

public BindingValidateEvent(java.lang.String name,
                            Component target,
                            java.util.List<Component> references,
                            java.util.List<Binding> bindings,
                            java.util.List<java.lang.Object> values)
Constructs a binding-relevant event.

Parameters:
name - the event name
target - the target that receive the event
references - the list of the reference components that "trigger" the event
bindings - the list of the associated bindings of this event.
values - the list of the values associated with the binding.
Method Detail

getReferences

public java.util.List<Component> getReferences()
Gets the list of the reference components that "trigger" sending of this event.


getBindings

public java.util.List<Binding> getBindings()
Gets the list of the associate bindings of this event (Binding). The property that causes the binding can be found by use of Binding.getExpression(). Furthermore, the bean can be retrieved by use of Binding.getBean(org.zkoss.zk.ui.Component).


getValues

public java.util.List<java.lang.Object> getValues()
Gets the list of the value to be saved after "onBindingValidate" event.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo