Class Index | File Index

Classes


Class CAAT.Foundation.UI.Layout.LayoutManager


Defined in: LayoutManager.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
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 Summary
Method Attributes Method Name and Description
<private>  
 
addChild(child, constraints)
 
doLayout(container)
 
 
 
invalidateLayout(container)
 
 
 
removeChild(child)
 
 
setAnimated(animate)
 
setHGap(gap)
 
setPadding(l, r, t, b)
 
setVGap(gap)
Class Detail
CAAT.Foundation.UI.Layout.LayoutManager()
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

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 01 2013 04:59:18 GMT-0700 (PDT)