Class

LayoutManager

 

Controls the automatic layout behavior for a window or container.

The subclass AutoLayoutManager implements the default automatic layout behavior.

QuickLinks

layout, resize

Methods

void layout ()
Invokes the automatic layout behavior for the managed container.

Adjusts sizes and positions of the child elements of this window or container according to the placement and alignment property values in the parent and children. Invoked automatically the first time the window is displayed. Thereafter, the script must invoke it explicitly to change the layout in case of changes in the size or position of the parent or children.

void resize ()
Performs a layout after a Window is resized, based on the new size.

Resizes the child elements of the managed container with a given alignment type, after the window has been resized by the user.

Element of

Group.layout

Panel.layout

Window.layout

Contents :: Index