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
| Name | Type | Optional | Default | Descripton |
sAlign |
String |
![]() |
Optional alignment of the children | |
sPack |
String |
![]() |
Optional pack value |
Properties
None.
Methods
None.
Events
None.
Static Methods
| Name | Description |
getFlex |
Returns the dock value for the source |
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. |
Static Fields
None.
Remarks
Static Method Details
getFlex
Returns the dock value for the source
Syntax
BiVBox
.
getFlex
(
oSource
)
Parameters
| Name | Type | Optional | Default | Descripton |
oSource |
|
The 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
| Name | Type | Optional | Default | Descripton |
oSource |
|
The component to set the dock value for | ||
nFlex |
Number |
The flex value is used to tell how much of the remaining space the component should use. |
Return Type
void
