Package | com.ghostwire.ui.containers |
Class | public class uiHBox |
Inheritance | uiHBox ![]() ![]() ![]() |
uiHBox
is a layout container that organizes its child objects sequentially horizontally.
It is essentially the same as uiBox
except that the vertical
property is
always false
. This class is provided for the sake of completion - it would be the same if
you use a uiBox
instance, but the use of this class could improve code clarity (explicitly
indicating that the box is horizontal).
"vertical" Property
Always false
- attempting to set this property will throw an error.
~ This class is available in Aspire UI Components Lite Edition ~
Method | Defined by | ||
---|---|---|---|
uiHBox()
Constructor - creates a new
uiHBox instance. | uiHBox | ||
![]() |
addChild(child:DisplayObject):DisplayObject
Adds a child
uiComponent instance to this container. | uiBox | |
![]() |
addChildAt(child:DisplayObject, index:int):DisplayObject
Adds a child
uiComponent instance to this container at the
specified index position. | uiBox | |
![]() |
bringToFront(child:DisplayObject):void
Brings the specified
child to the front (top) of all other children in this container. | uiBox | |
![]() |
invalidate(type:String):void
Invalidates this component's "size", "display", "layout" or "textstyle".
| uiComponent | |
![]() |
move(x:Number, y:Number, noEvent:Boolean = false):void
Moves the component to the specified position, disregarding its allocation.
| uiComponent | |
![]() |
removeAllChildren(all:Boolean = false):void
Removes all children from this component.
| uiComponent | |
![]() |
setFocus(flag:Boolean = true):void
Gives this component instance the focus; the component must be on the display list and has its
tabEnabled property set to true , otherwise this method will fail
silently. | uiComponent | |
![]() |
setSize(width:Number, height:Number, noEvent:Boolean = false):void
Sets this component's size to the specified
width and height . | uiComponent | |
![]() |
setVisible(value:Boolean, noEvent:Boolean = false):void
Sets the visibility of this component instance, dispatching a "show" or "hide" event accordingly.
| uiComponent | |
![]() |
validateNow():void
Validates and render the component instance, and any component instances with
depth higher than itself in the validation queue, immediately. | uiComponent |