| Package | org.aswing |
| Class | public class EmptyLayout |
| Implements | LayoutManager |
| Subclasses | BorderLayout, BoxLayout, CenterLayout, EmptyLayoutUIResourse, FlowLayout, GridLayout, GridListLayout, ScrollPaneLayout, SoftBoxLayout, VerticalLayout, ViewportLayout, WindowLayout |
| Method | Defined by | ||
|---|---|---|---|
| EmptyLayout | |||
|
addLayoutComponent(comp:Component, constraints:Object):void
Do nothing
Adds the specified component to the layout, using the specified
constraint object.
| EmptyLayout | ||
|
getLayoutAlignmentX(target:Container):Number
return 0
| EmptyLayout | ||
|
getLayoutAlignmentY(target:Container):Number
return 0
| EmptyLayout | ||
|
invalidateLayout(target:Container):void
do nothing
| EmptyLayout | ||
|
layoutContainer(target:Container):void
do nothing
| EmptyLayout | ||
|
return IntDimension.createBigDimension();
| EmptyLayout | ||
|
new IntDimension(0, 0);
| EmptyLayout | ||
|
Simply return target.getSize();
| EmptyLayout | ||
|
removeLayoutComponent(comp:Component):void
Do nothing
Removes the specified component from the layout.
| EmptyLayout | ||
| EmptyLayout | () | constructor |
public function EmptyLayout()
| addLayoutComponent | () | method |
public function addLayoutComponent(comp:Component, constraints:Object):voidDo nothing Adds 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):Numberreturn 0
Parameterstarget:Container |
Number |
| getLayoutAlignmentY | () | method |
public function getLayoutAlignmentY(target:Container):Numberreturn 0
Parameterstarget:Container |
Number |
| invalidateLayout | () | method |
| layoutContainer | () | method |
| maximumLayoutSize | () | method |
public function maximumLayoutSize(target:Container):IntDimensionreturn IntDimension.createBigDimension();
Parameterstarget:Container |
IntDimension |
| minimumLayoutSize | () | method |
public function minimumLayoutSize(target:Container):IntDimensionnew IntDimension(0, 0);
Parameterstarget:Container |
IntDimension |
| preferredLayoutSize | () | method |
public function preferredLayoutSize(target:Container):IntDimensionSimply return target.getSize();
Parameterstarget:Container |
IntDimension |
| removeLayoutComponent | () | method |
public function removeLayoutComponent(comp:Component):voidDo nothing Removes the specified component from the layout.
Parameterscomp:Component — the component to be removed
|