BiHBox
This is a horizontal BiBox where components are laid out from left to right (or right to left if rightToLeft is true).
This class extends BiBox and therefore all methods and fields available for BiBox are also available for BiHBox .
Constructor
new BiHBox ( 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
None.
Static Method Details
getFlex
Returns the dock value for the source
Syntax
BiHBox . 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
BiHBox . 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