From ca22da21b0cedab985e698f4dedf3ac1158a1487 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 20 Jan 2015 23:42:12 +0100 Subject: one class per file: framework/Web/UI/WebControls --- .../Web/UI/WebControls/IListControlAdapter.php | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 framework/Web/UI/WebControls/IListControlAdapter.php (limited to 'framework/Web/UI/WebControls/IListControlAdapter.php') diff --git a/framework/Web/UI/WebControls/IListControlAdapter.php b/framework/Web/UI/WebControls/IListControlAdapter.php new file mode 100644 index 00000000..19015644 --- /dev/null +++ b/framework/Web/UI/WebControls/IListControlAdapter.php @@ -0,0 +1,50 @@ + + * @author Qiang Xue + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System.Web.UI.WebControls + */ + +/** + * IListControlAdapter interface + * + * @author Wei Zhuo + * @version $Revision: $ Sun Jun 25 04:53:43 EST 2006 $ + * @package System.Web.UI.ActiveControls + * @since 3.0 + */ +interface IListControlAdapter +{ + /** + * Selects an item based on zero-base index on the client side. + * @param integer the index (zero-based) of the item to be selected + */ + public function setSelectedIndex($index); + /** + * Selects a list of item based on zero-base indices on the client side. + * @param array list of index of items to be selected + */ + public function setSelectedIndices($indices); + + /** + * Sets selection by item value on the client side. + * @param string the value of the item to be selected. + */ + public function setSelectedValue($value); + + /** + * Sets selection by a list of item values on the client side. + * @param array list of the selected item values + */ + public function setSelectedValues($values); + + /** + * Clears all existing selections on the client side. + */ + public function clearSelection(); +} \ No newline at end of file -- cgit v1.2.3