Class org.aswing.GridBagLayout

Implemented Interfaces

LayoutManager

Description

Method Index

addLayoutComponent(), getLayoutAlignmentX(), getLayoutAlignmentY(), invalidateLayout(), layoutContainer(), maximumLayoutSize(), minimumLayoutSize(), preferredLayoutSize(), removeLayoutComponent()

Method Detail

addLayoutComponent

public function addLayoutComponent(comp:Component, constraints:Object):Void

Description copied from LayoutManager

Adds the specified component to the layout, using the specified constraint object.

Specified By

addLayoutComponent() in org.aswing.LayoutManager

removeLayoutComponent

public function removeLayoutComponent(comp:Component):Void

Description copied from LayoutManager

Removes the specified component from the layout.

Specified By

removeLayoutComponent() in org.aswing.LayoutManager

preferredLayoutSize

public function preferredLayoutSize(target:Container):Dimension

Description copied from LayoutManager

Calculates the preferred size dimensions for the specified container, given the components it contains.

Specified By

preferredLayoutSize() in org.aswing.LayoutManager

minimumLayoutSize

public function minimumLayoutSize(target:Container):Dimension

Description copied from LayoutManager

Calculates the minimum size dimensions for the specified container, given the components it contains.

Specified By

minimumLayoutSize() in org.aswing.LayoutManager

maximumLayoutSize

public function maximumLayoutSize(target:Container):Dimension

Description copied from LayoutManager

Calculates the maximum size dimensions for the specified container, given the components it contains.

Specified By

maximumLayoutSize() in org.aswing.LayoutManager

layoutContainer

public function layoutContainer(target:Container):Void

Description copied from LayoutManager

Lays out the specified container.

Specified By

layoutContainer() in org.aswing.LayoutManager

getLayoutAlignmentX

public function getLayoutAlignmentX(target:Container):Number

Description copied from LayoutManager

Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.

Specified By

getLayoutAlignmentX() in org.aswing.LayoutManager

getLayoutAlignmentY

public function getLayoutAlignmentY(target:Container):Number

Description copied from LayoutManager

Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.5 is centered, etc.

Specified By

getLayoutAlignmentY() in org.aswing.LayoutManager

invalidateLayout

public function invalidateLayout(target:Container):Void

Description copied from LayoutManager

Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.

Specified By

invalidateLayout() in org.aswing.LayoutManager