| Package | org.aswing |
| Interface | public interface LayoutManager |
| Implementors | EmptyLayout, Form, FormRow, JList, JTable |
See also
| Method | Defined by | ||
|---|---|---|---|
|
addLayoutComponent(comp:Component, constraints:Object):void
Adds the specified component to the layout, using the specified
constraint object.
| LayoutManager | ||
|
getLayoutAlignmentX(target:Container):Number
Returns the alignment along the x axis.
| LayoutManager | ||
|
getLayoutAlignmentY(target:Container):Number
Returns the alignment along the y axis.
| LayoutManager | ||
|
invalidateLayout(target:Container):void
Invalidates the layout, indicating that if the layout manager
has cached information it should be discarded.
| LayoutManager | ||
|
layoutContainer(target:Container):void
Lays out the specified container.
| LayoutManager | ||
|
Calculates the maximum size dimensions for the specified container,
given the components it contains.
| LayoutManager | ||
|
Calculates the minimum size dimensions for the specified
container, given the components it contains.
| LayoutManager | ||
|
Calculates the preferred size dimensions for the specified
container, given the components it contains.
| LayoutManager | ||
|
removeLayoutComponent(comp:Component):void
Removes the specified component from the layout.
| LayoutManager | ||
| addLayoutComponent | () | method |
public function addLayoutComponent(comp:Component, constraints:Object):voidAdds the specified component to the layout, using the specified constraint object.
Parameterscomp:Component — the component to be added
|
|
constraints:Object — where/how the component is added to the layout.
|
| getLayoutAlignmentX | () | method |
public function getLayoutAlignmentX(target:Container):NumberReturns 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.
Parameterstarget:Container |
Number |
| getLayoutAlignmentY | () | method |
public function getLayoutAlignmentY(target:Container):NumberReturns 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.
Parameterstarget:Container |
Number |
| invalidateLayout | () | method |
public function invalidateLayout(target:Container):voidInvalidates the layout, indicating that if the layout manager has cached information it should be discarded.
Parameterstarget:Container |
| layoutContainer | () | method |
public function layoutContainer(target:Container):voidLays out the specified container.
Parameterstarget:Container — the container to be laid out
|
| maximumLayoutSize | () | method |
public function maximumLayoutSize(target:Container):IntDimensionCalculates the maximum size dimensions for the specified container, given the components it contains.
Parameterstarget:Container — the component to be laid out
|
IntDimension |
See also
| minimumLayoutSize | () | method |
public function minimumLayoutSize(target:Container):IntDimensionCalculates the minimum size dimensions for the specified container, given the components it contains.
Parameterstarget:Container — the component to be laid out
|
IntDimension |
See also
| preferredLayoutSize | () | method |
public function preferredLayoutSize(target:Container):IntDimensionCalculates the preferred size dimensions for the specified container, given the components it contains.
Parameterstarget:Container — the container to be laid out
|
IntDimension |
See also
| removeLayoutComponent | () | method |
public function removeLayoutComponent(comp:Component):voidRemoves the specified component from the layout.
Parameterscomp:Component — the component to be removed
|