class org.aswing.Box extends JPanel
The following picture illustrates Box
with X_AXIS
:
![](../../BoxLayoutX.jpg)
The picure for Y_AXIS
:
![](../../BoxLayoutY.jpg)
@see SoftBox.
Authors paling, ngrebenshikov
Class Fields
static function createHorizontalBox(?gap:Int = 0): Box
Creates and return a Horizontal Box.
gap | (optional)the gap between each component, default 0 |
returns | a horizontal Box. |
static function createHorizontalGlue(): Component
Creates a glue that displays its components from left to right.
@see org.aswing.JSpacer.createVerticalGlue
static function createVerticalBox(?gap:Int = 0): Box
Creates and return a Vertical Box.
gap | (optional)the gap between each component, default 0 |
returns | a vertical Box. |
static function createVerticalGlue(): Component
Creates a glue that displays its components from top to bottom.
@see org.aswing.JSpacer.createVerticalGlue