Developer Resources

BorderBoxLayout

Overview

Layout class that draws a box around controls that it positions and sizes automatically.

Base Class

BoxLayout

Constructor

BorderBoxLayout()
BorderBoxLayout(orientation : Integer, text : String)

Arguments

orientation
Determines the manner in which to position and size the layout object's components, depending on whether it's Layout.Horizontal or Layout.Vertical.
text
The text to use for the BorderBoxLayout label.

Inherited Methods

BoxLayout.add
Adds a form component or another layout object to the layout object for it to position and size automatically.
BoxLayout.addSpacer
Adds a pixel size spacer to the layout object.
BoxLayout.addStretchSpacer
Adds a stretch spacer to the layout object.
BoxLayout.clear
Removes all items from the Layout object.
BoxLayout.insert
Inserts a form component or another layout object into the layout object for it to position and size automatically.
BoxLayout.insertSpacer
Inserts a pixel size spacer into the layout object.
BoxLayout.insertStretchSpacer
Inserts a stretch spacer into the layout object.
Layout.layout
Positions and sizes the contents of the layout object.
Layout.show
Shows or hides the contents of the layout object.