All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.bind.sys.CommandBinding Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* CommandBinding.java

	Purpose:
		
	Description:
		
	History:
		Jul 26, 2011 3:55:28 PM, Created by henrichen

Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.bind.sys;

import org.zkoss.bind.BindContext;

/**
 * A binding tells which command to call(usually used with UI event).
 * @author henrichen
 * @since 6.0.0
 */
public interface CommandBinding extends Binding {
	/**
	 * Call the command associated with this binding.
	 * @param ctx the binding runtime context 
	 */
	public void execute(BindContext ctx);

	/**
	 * Returns the command expression in string.
	 * @return the command expression in string.
	 */
	public String getCommandString();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy