BiVBox

This is a vertical BiBox where components are laid out from top to bottom.

This class extends BiBox and therefore all methods and fields available for BiBox are also available for BiVBox .

Constructor

new BiVBox ( sAlign,sPack )

Parameters

NameTypeOptionalDefaultDescripton
sAlignStringOptional alignment of the children
sPackStringOptional pack value

Properties

None.

Methods

None.

Events

None.

Static Methods

NameDescription
getFlexReturns the dock value for the source
setFlexSets the attached flex property for the source. A flex value of 0 means that the size is determined by the preferred size and no flexing occurs.

Static Fields

None.

Remarks

None.

Static Method Details

getFlex

Returns the dock value for the source

Syntax

BiVBox . getFlex ( oSource )

Parameters

NameTypeOptionalDefaultDescripton
oSourceBiObjectThe component to get the dock value for

Return Type

String

setFlex

Sets the attached flex property for the source. A flex value of 0 means that the size is determined by the preferred size and no flexing occurs.

Syntax

BiVBox . setFlex ( oSource,nFlex )

Parameters

NameTypeOptionalDefaultDescripton
oSourceBiObjectThe component to set the dock value for
nFlexNumberThe flex value is used to tell how much of the remaining space the component should use.

Return Type

void