Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* BindingSaveEvent.java
 
 {{IS_NOTE
 	Purpose:
 		
 	Description:
 		
 	History:
 		Wed Aug  1 08:34:40 TST 2007, Created by henrichen
}}IS_NOTE
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
}}IS_RIGHT
*/
package org.zkoss.zkplus.databind;
Event used when DataBinder send "onBindingSave" events.

Author(s):
henrichen
Since:
3.0.0
public class BindingSaveEvent extends Event {
	private final Object _value;
	private final Component _ref;
	private final Binding _binding;

Constructs a binding-relevant event.

Parameters:
name the event name
target the target that receive the event
reference the reference component that "trigger" the event
binding the associated binding of this event.
value the value associated with the binding.
	public BindingSaveEvent(String nameComponent targetComponent referenceBinding bindingObject value) {
		super(nametarget);
		 = reference;
		 = binding;
		 = value;
	}

Gets the reference component that "trigger" sending of this event.
	public Component getReference() {
		return ;
	}

Gets the associate binding of this event.
	public Binding getBinding() {
		return ;
	}

Gets the value to be saved after "onBindingSave" event.
	public Object getValue() {
		return ;
	}
New to GrepCode? Check out our FAQ X