Class Index | File Index

Classes


Class BCL.LinkageDropDownList


Extends BCL.WebControl.
联动下拉列表控件
Defined in: WebControls.Debug.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addItem(txt, value)
新增项
 
清空项
 
获取联动控件
 
获取联动控件标识
 
获取项集合
 
获取客户端变化事件
 
获取联动控件客户端变化事件
 
获取客户端联动控件变化回调事件
 
获取选择项索引
<private>  
init()
初始化
<private>  
联动选择项索引变化
<private>  
联动选择项索引变化回调
<private>  
选择项索引变化
<private>  
联动选择项索引变化回调通知
<private>  
选择项变化通知
<private>  
联动项索引变化通知
 
注册联动项索引变化
<private>  
注册联动处理器
<private>  
注册选择项变化事件
 
render(state)
呈现
 
设置选择项索引
<private>  
set_stateSelectedIndex(selectedIndex)
设置状态选择项索引
<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
 
Change(sender, e)
选择项变化
 
InitiatorChange(sender, e)
联动项索引变化
 
联动选择项索引变化回调
Class Detail
BCL.LinkageDropDownList(rawData)
Parameters:
{Object} rawData
状态
Method Detail
addItem(txt, value)
新增项
var lddl = BCL.get_component("lddl1");

lddl.addItem("1", "1");
Parameters:
{String} txt
文本
{String} value

clear()
清空项

{Object} get_initiator()
获取联动控件
Returns:
{Object}

{String} get_initiatorID()
获取联动控件标识
Returns:
{String}

{Array} get_items()
获取项集合
Returns:
{Array}

{String} get_onClientChange()
获取客户端变化事件
Returns:
{String}

{String} get_onClientInitiatorChange()
获取联动控件客户端变化事件
Returns:
{String}

{String} get_onClientInitiatorChangeCallback()
获取客户端联动控件变化回调事件
Returns:
{String}

{Int32} get_selectedIndex()
获取选择项索引
Returns:
{Int32}

<private> init()
初始化

<private> onInitiatorSelectedIndexChanged()
联动选择项索引变化

<private> onInitiatorSelectedIndexChangedAsyncCallback(e)
联动选择项索引变化回调
Parameters:
{Object} e
回调数据

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

<private> raiseInitiatorSelectedIndexChangedAsyncCallback(e)
联动选择项索引变化回调通知
Parameters:
{BCL.SelectionChangedEventArgs} e
事件参数

<private> raiseOnChange(e)
选择项变化通知
Parameters:
{BCL.SelectionChangedEventArgs} e
事件参数

<private> raiseOnInitiatorChange(e)
联动项索引变化通知
Parameters:
{BCL.SelectionChangedEventArgs} e
事件参数

registerInitiatorSelectedIndexChanged()
注册联动项索引变化

<private> registerLinkageHandler(target)
注册联动处理器
Parameters:
{Object} target
联动目标

<private> registerSelectedIndexChanged()
注册选择项变化事件

render(state)
呈现
var lddl = BCL.get_component("lddl1");
var state = { Items: [{ Key: "1", Value: "1" }, { Key: "2", Value: "2"}] };

lddl.render(state);
Parameters:
{Object} state
状态

set_selectedIndex(value)
设置选择项索引
Parameters:
{Int32} value

<private> set_stateSelectedIndex(selectedIndex)
设置状态选择项索引
Parameters:
{Int32} selectedIndex

<private> trackSelectedIndexChanged(e)
跟踪选择项索引变化
Parameters:
{BCL.SelectionChangedEventArgs} e
事件参数

<private> triggerSelectedIndexChanged()
触发选择项索引变化
Event Detail
Change(sender, e)
选择项变化
var lddl = BCL.get_component("lddl1");
    
lddl.add_handler("Change", function(sender, e) { });
Parameters:
{BCL.LinkageDropDownList} sender
发送方
{BCL.SelectionChangedEventArgs} e
事件参数

InitiatorChange(sender, e)
联动项索引变化
var lddl = BCL.get_component("lddl1");
    
lddl.add_handler("InitiatorChange", function(sender, e) { });
Parameters:
{BCL.LinkageDropDownList} sender
发送方
{BCL.SelectionChangedEventArgs} e
事件参数

InitiatorChangeCallback(sender, e)
联动选择项索引变化回调
var lddl = BCL.get_component("lddl1");
    
lddl.add_handler("InitiatorChangeCallback", function(sender, e) { });
Parameters:
{BCL.LinkageDropDownList} sender
发送方
{BCL.SelectionChangedEventArgs} e
事件参数

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