Class CAAT.Foundation.UI.Layout.LayoutManager
Defined in: LayoutManager.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
<static> |
CAAT.Foundation.UI.Layout.LayoutManager.ALIGNMENT
|
Animate on adding/removing elements.
|
|
<static> |
CAAT.Foundation.UI.Layout.LayoutManager.AXIS
|
Horizontal gap between children.
|
|
Needs relayout ??
|
|
If animation enabled, relayout elements interpolator.
|
|
pending to be laid-out actors.
|
|
If animation enabled, new element interpolator.
|
|
Defines insets:
|
|
Vertical gap between children.
|
Method Attributes | Method Name and Description |
---|---|
<private> |
__init()
|
addChild(child, constraints)
|
|
doLayout(container)
|
|
getMinimumLayoutSize(container)
|
|
getPreferredLayoutSize(container)
|
|
invalidateLayout(container)
|
|
isValid()
|
|
removeChild(child)
|
|
setAnimated(animate)
|
|
setHGap(gap)
|
|
setPadding(l, r, t, b)
|
|
setVGap(gap)
|
Field Detail
<static>
CAAT.Foundation.UI.Layout.LayoutManager.ALIGNMENT
animated
Animate on adding/removing elements.
<static>
CAAT.Foundation.UI.Layout.LayoutManager.AXIS
hgap
Horizontal gap between children.
invalid
Needs relayout ??
moveElementInterpolator
If animation enabled, relayout elements interpolator.
newChildren
pending to be laid-out actors.
newElementInterpolator
If animation enabled, new element interpolator.
padding
Defines insets:
vgap
Vertical gap between children.
Method Detail
<private>
__init()
addChild(child, constraints)
- Parameters:
- child
- constraints
doLayout(container)
- Parameters:
- container
getMinimumLayoutSize(container)
- Parameters:
- container
getPreferredLayoutSize(container)
- Parameters:
- container
invalidateLayout(container)
- Parameters:
- container
isInvalidated()
isValid()
removeChild(child)
- Parameters:
- child
setAllPadding(s)
- Parameters:
- s
setAnimated(animate)
- Parameters:
- animate
setHGap(gap)
- Parameters:
- gap
setPadding(l, r, t, b)
- Parameters:
- l
- r
- t
- b
setVGap(gap)
- Parameters:
- gap