Main Page | Packages | Class Tree | Index | Help

xp.system.layout

class BoxLayout

Object
  |
  +--xp.system.layout.LayoutManager
        |
        +--xp.system.layout.BoxLayout


class BoxLayout
extends LayoutManager

BoxLayout
Layout control in a box in a container Lays out controls in a horizontal or vertical box in a container


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Constructor

public
BoxLayout ( )
Create the layout manager instance

Method Summary

public
getPreferredSize ( ): Void
Calculates the preferred size for a container

public
layoutContainer ( ): Void
Lays out the container using a horizontal box model Iterate over child cmps, position cmp at the left of the remainig space and stretch vertically to fit

Methods inherited from class xp.system.layout.LayoutManager

addLayoutComponent, getLayoutType, getPreferredSize, initContainer, layoutContainer, removeLayoutComponent



Constructor Documentation

BoxLayout

public function BoxLayout()
Create the layout manager instance


Method Documentation

getPreferredSize

public function getPreferredSize(): Void
Calculates the preferred size for a container

updates the measured size of the container

Overrides:

layoutContainer

public function layoutContainer(): Void
Lays out the container using a horizontal box model Iterate over child cmps, position cmp at the left of the remainig space and stretch vertically to fit

Overrides:


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc