dojox/app/utils/constraints (version 1.10)

Method Summary

  • getAllSelectedChildren(view,selChildren) get current all selected children for this view and it's selected subviews
  • getSelectedChild(view,constraint) get current selected child according to the constraint
  • register(constraint)
  • setSelectedChild(view,constraint,child) set current selected child according to the constraint

Methods

getAllSelectedChildren(view,selChildren)

get current all selected children for this view and it's selected subviews

Parameter Type Description
view View

the View to get the child from

selChildren Array

the Array of the subChildren found

Returns:any | object

selChildren array of all of the selected child views

getSelectedChild(view,constraint)

get current selected child according to the constraint

Parameter Type Description
view View

the View to get the child from

constraint Object

tbe constraint object

Returns:any | null

the selected child view for this constraint

register(constraint)
Parameter Type Description
constraint undefined
setSelectedChild(view,constraint,child)

set current selected child according to the constraint

Parameter Type Description
view View

the View to set the selected child to

constraint Object

tbe constraint object

child View

the child to select

Error in the documentation? Can’t find what you are looking for? Let us know!