vertical box

 Widget 1 
 Widget 2 

Constructor

new (?relativeWidth:Float, ?align:Int)

@throws String if relativeWidth not in [0..1] or if align not in [-1, 0, 1]

Parameters:

relativeWidth

the widget relative width; defaults to 1

align

the widgets alignement (-1=left, 0=centered, 1=right); defaults to 0 *

Inherited Variables

Inherited Methods

Defined by Box

clear ():Box

removes all widget from the box

Returns:

the box instance

pack (widget:Widget):Box

adds a widget to display in the box

Parameters:

widget

the widget to add / display

Throws:

String

if widget is null

Returns:

the Box instance

Defined by Widget

getWidth ():Float

Returns:

the widget real width (in pixels), calculated from the width of the parent (or stage) and the relativeWidth

Defined by Sprite

startDrag (?lockCenter:Bool, ?bounds:Rectangle):Void

Defined by DisplayObjectContainer

Defined by InteractiveObject

Defined by DisplayObject

Defined by EventDispatcher