Main Page | Packages | Class Tree | Index | Help

xp.system

interface ILayoutManager

All Known Implementing Classes:
LayoutManager

interface ILayoutManager

Controls the layout of controls in a container


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:
support@epresenterplus.com, xp.system.layout.HBoxLayout, xp.system.layout.VBoxLayout, xp.system.layout.ListLayout, xp.system.layout.DockLayout, xp.system.layout.GridLayout, xp.system.layout.BasicGridLayout, xp.system.layout.TableLayout


Method Summary

public
addLayoutComponent ( component, constraint ): Void
Adds the specified component with the specified name to the layout.

public
getLayoutType ( ): String
A string identifying the type of layout

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

public
initContainer ( container ): Void
Initializes the containers layout

public
layoutContainer ( ): Void
Layouts the container

public
removeLayoutComponent ( component ): Void
Removes the specified component from the layout.



Method Documentation

addLayoutComponent

public function addLayoutComponent(component,
 constraint): Void
Adds the specified component with the specified name to the layout.

Parameters:
component
component to add
constraint
indicates entry's position and alignment

getLayoutType

public function getLayoutType(): String
A string identifying the type of layout

getPreferredSize

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

initContainer

public function initContainer(container): Void
Initializes the containers layout

layoutContainer

public function layoutContainer(): Void
Layouts the container

removeLayoutComponent

public function removeLayoutComponent(component): Void
Removes the specified component from the layout.

Parameters:
component
component being removed

The documentation was generated from the following file:


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