Class Index | File Index

Classes


Class upDistribution


Defined in: <distribution.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Distribution control Provides access to a distribution or multiple selection control through javascript.
Method Summary
Method Attributes Method Name and Description
 
Get all items of the Searched-List (Pool)
 
Get all items of the Selected-List
 
Are there any item in the Selected-List
 
Returns a string representing the current initialization state of the Distribution control
states: pending, resolved, rejected
 
loadItemsByGuid(p_aGuidList)
Searchs for specific items by their guid and moves them to Selected-List
 
moveAllToSelected(p_bTriggerOnChange)
Moves all items (selected or not) from the Searched-List (Pool) to Selected-List
 
moveToSelected(p_bTriggerOnChange)
Moves all selected items from the Searched-List (Pool) to the Selected-List
 
removeAllFromSelected(p_bTriggerOnChange)
Moves all items (selected or not) from the Selected-List to Searched-List (Pool)
 
removeFromSelected(p_bTriggerOnChange)
Moves all selected items from the Selected-List to the Searched-List (Pool)
 
reset(p_bTriggerOnchange)
Reset control
 
search(p_strValue)
Searchs for items containing value and write them to Searched-List
 
selectItemsByGuid(p_aGuidList, p_strModus, p_bAsync)
Searchs for specific items by guid and moves them to Selected-List
Class Detail
upDistribution()
Distribution control Provides access to a distribution or multiple selection control through javascript.
Method Detail
{array} getSearchedItems()
Get all items of the Searched-List (Pool)
Returns:
{array} Returns a list with upGroovySelectOption items.

{Array} getSelectedItems()
Get all items of the Selected-List
Returns:
{Array} Returns a List with upGroovySelectOption items.

{boolean} hasSelectedItems()
Are there any item in the Selected-List
Returns:
{boolean} true or false

{string} initState()
Returns a string representing the current initialization state of the Distribution control
states: pending, resolved, rejected
Returns:
{string} state

loadItemsByGuid(p_aGuidList)
Searchs for specific items by their guid and moves them to Selected-List
Parameters:
p_aGuidList
{array} Array with guids

moveAllToSelected(p_bTriggerOnChange)
Moves all items (selected or not) from the Searched-List (Pool) to Selected-List
Parameters:
p_bTriggerOnChange
{boolean} Trigger onchange event. Default: true

moveToSelected(p_bTriggerOnChange)
Moves all selected items from the Searched-List (Pool) to the Selected-List
Parameters:
p_bTriggerOnChange
{boolean} Trigger onchange event. Default: true

removeAllFromSelected(p_bTriggerOnChange)
Moves all items (selected or not) from the Selected-List to Searched-List (Pool)
Parameters:
p_bTriggerOnChange
{boolean} Trigger onchange event. Default: true

removeFromSelected(p_bTriggerOnChange)
Moves all selected items from the Selected-List to the Searched-List (Pool)
Parameters:
p_bTriggerOnChange
{boolean} Trigger onchange event. Default: true

reset(p_bTriggerOnchange)
Reset control
Parameters:
p_bTriggerOnchange

search(p_strValue)
Searchs for items containing value and write them to Searched-List
Parameters:
p_strValue
{string} search value

selectItemsByGuid(p_aGuidList, p_strModus, p_bAsync)
Searchs for specific items by guid and moves them to Selected-List
Parameters:
p_aGuidList
{array} Array with guids
p_strModus
{string} replace or append items in Selected-List
p_bAsync
{boolean} Load items via synchronous or asynchronous xmlHttp request

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Nov 23 2012 12:16:41 GMT+0100 (MEZ)