Class Index | File Index

Classes


Class BCL.CheckBoxList


Extends BCL.WebControl.
多选框列表控件
Defined in: WebControls.Debug.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BCL.CheckBoxList(rawData)
Method Summary
Method Attributes Method Name and Description
 
checkedAll(checked)
设置多选框列表状态
 
获取多选框集合
 
获取客户端点击事件
 
获取选择项索引集合
 
获取选择项集合
 
获取选择项值集合
<private>  
init()
初始化
<private>  
选择项索引变化
<private>  
点击事件通知
Methods borrowed from class BCL.WebControl:
get_clientID, get_element, get_events, get_form, get_rawData, get_stateElement, get_stateObject, get_stateValue, get_uniqueID, load, preInit, set_stateByObject, set_stateValue, trackClientState
Methods borrowed from class BCL.EventHandlerList:
add_handler, contains, get_handlerList, invoke, remove_handler, remove_handlerList
Event Summary
Event Attributes Event Name and Description
 
Click(sender, e)
点击
Class Detail
BCL.CheckBoxList(rawData)
Parameters:
{Object} rawData
状态
Method Detail
checkedAll(checked)
设置多选框列表状态
var cbl = BCL.get_component("cbl1");

cbl.checkedAll(true);
Parameters:
{Boolean} checked
状态

{JQuery} get_checkBoxes()
获取多选框集合
Returns:
{JQuery}

{String} get_onClientClick()
获取客户端点击事件
Returns:
{String}

{Array} get_selectedIndexs()
获取选择项索引集合
Returns:
{Array}

{Array} get_selectedItems()
获取选择项集合
Returns:
{Array}

{Array} get_selectedValues()
获取选择项值集合
Returns:
{Array}

<private> init()
初始化

<private> onSelectedIndexChanged(sender)
选择项索引变化
Parameters:
{Object} sender
发送方

<private> raiseOnClick(e)
点击事件通知
Parameters:
{BCL.EventArgs} e
事件参数
Event Detail
Click(sender, e)
点击
var cbl = BCL.get_component("cbl1");
    
cbl.add_handler("Click", function(sender, e) { });
Parameters:
{BCL.CheckBoxList} sender
发送方
{BCL.SelectionChangedEventArgs} e
事件参数

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Dec 12 2011 15:08:37 GMT+0800 (CST)