Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* BindingValidateEvent.java
 
 {{IS_NOTE
 	Purpose:
 		
 	Description:
 		
 	History:
 		May 9, 2011 10:57:01 AM , Created by jumperchen
}}IS_NOTE
Copyright (C) 2011 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
}}IS_RIGHT
*/
package org.zkoss.zkplus.databind;
Event used when DataBinder send "onBindingValidate" events.

Deprecated:
As of release 7.0.0, replace with new ZK binding.
Author(s):
jumperchen
Since:
5.0.7
public class BindingValidateEvent extends Event {
	private final List<Object_values;
	private final List<Component_refs;
	private final List<Binding_bindings;

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.
	public BindingValidateEvent(String nameComponent target,
	List<ComponentreferencesList<BindingbindingsList<Objectvalues) {
		super(nametarget);
		 = references;
		 = bindings;
		 = values;
	}

Gets the list of the reference components that "trigger" sending of this event.
		return ;
	}

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).
	public List<BindinggetBindings() {
		return ;
	}

Gets the list of the value to be saved after "onBindingValidate" event.
	public List<ObjectgetValues() {
		return ;
	}
New to GrepCode? Check out our FAQ X