Packageorg.aswing
Classpublic class EmptyLayout
ImplementsLayoutManager
SubclassesBorderLayout, BoxLayout, CenterLayout, EmptyLayoutUIResourse, FlowLayout, GridLayout, GridListLayout, ScrollPaneLayout, SoftBoxLayout, VerticalLayout, ViewportLayout, WindowLayout

LayoutManager's empty implementation.



Public Methods
 MethodDefined by
  
EmptyLayout
  
addLayoutComponent(comp:Component, constraints:Object):void
Do nothing Adds the specified component to the layout, using the specified constraint object.
EmptyLayout
  
return 0
EmptyLayout
  
return 0
EmptyLayout
  
do nothing
EmptyLayout
  
do nothing
EmptyLayout
  
return IntDimension.createBigDimension();
EmptyLayout
  
new IntDimension(0, 0);
EmptyLayout
  
Simply return target.getSize();
EmptyLayout
  
Do nothing Removes the specified component from the layout.
EmptyLayout
Constructor detail
EmptyLayout()constructor
public function EmptyLayout()
Method detail
addLayoutComponent()method
public function addLayoutComponent(comp:Component, constraints:Object):void

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

Parameters
comp:Component — the component to be added
 
constraints:Object — where/how the component is added to the layout.
getLayoutAlignmentX()method 
public function getLayoutAlignmentX(target:Container):Number

return 0

Parameters
target:Container

Returns
Number
getLayoutAlignmentY()method 
public function getLayoutAlignmentY(target:Container):Number

return 0

Parameters
target:Container

Returns
Number
invalidateLayout()method 
public function invalidateLayout(target:Container):void

do nothing

Parameters
target:Container
layoutContainer()method 
public function layoutContainer(target:Container):void

do nothing

Parameters
target:Container
maximumLayoutSize()method 
public function maximumLayoutSize(target:Container):IntDimension

return IntDimension.createBigDimension();

Parameters
target:Container

Returns
IntDimension
minimumLayoutSize()method 
public function minimumLayoutSize(target:Container):IntDimension

new IntDimension(0, 0);

Parameters
target:Container

Returns
IntDimension
preferredLayoutSize()method 
public function preferredLayoutSize(target:Container):IntDimension

Simply return target.getSize();

Parameters
target:Container

Returns
IntDimension
removeLayoutComponent()method 
public function removeLayoutComponent(comp:Component):void

Do nothing Removes the specified component from the layout.

Parameters
comp:Component — the component to be removed