Class CAAT.Foundation.UI.Layout.BoxLayout
Extends
CAAT.Foundation.UI.Layout.LayoutManager.
Defined in: BoxLayout.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Stack elements in this axis.
|
|
Horizontal alignment.
|
|
Vertical alignment.
|
- Fields borrowed from class CAAT.Foundation.UI.Layout.LayoutManager:
- animated, hgap, invalid, moveElementInterpolator, newChildren, newElementInterpolator, padding, vgap
Method Attributes | Method Name and Description |
---|---|
<private> |
__setActorPosition(actor, xoffset, yoffset)
|
doLayout(container)
|
|
doLayoutHorizontal(container)
|
|
doLayoutVertical(container)
|
|
getMinimumLayoutSize(container)
|
|
getPreferredLayoutSize(container)
|
|
setAxis(axis)
|
|
setHorizontalAlignment(align)
|
|
setVerticalAlignment(align)
|
- Methods borrowed from class CAAT.Foundation.UI.Layout.LayoutManager:
- __init, addChild, invalidateLayout, isInvalidated, isValid, removeChild, setAllPadding, setAnimated, setHGap, setPadding, setVGap
Field Detail
axis
Stack elements in this axis.
halign
Horizontal alignment.
valign
Vertical alignment.
Method Detail
<private>
__setActorPosition(actor, xoffset, yoffset)
- Parameters:
- actor
- xoffset
- yoffset
doLayout(container)
- Parameters:
- container
doLayoutHorizontal(container)
- Parameters:
- container
doLayoutVertical(container)
- Parameters:
- container
getMinimumLayoutSize(container)
- Parameters:
- container
getPreferredLayoutSize(container)
- Parameters:
- container
setAxis(axis)
- Parameters:
- axis
setHorizontalAlignment(align)
- Parameters:
- align
setVerticalAlignment(align)
- Parameters:
- align