Packageorg.aswing
Classpublic class WindowLayout
InheritanceWindowLayout Inheritance EmptyLayout

Layout for JWindow and JFrame.



Public Methods
 MethodDefined by
  
WindowLayout
  
addLayoutComponent(comp:Component, constraints:Object):void
WindowLayout
  
WindowLayout
 Inherited
return 0
EmptyLayout
 Inherited
return 0
EmptyLayout
  
WindowLayout
 Inherited
do nothing
EmptyLayout
  
WindowLayout
 Inherited
return IntDimension.createBigDimension();
EmptyLayout
  
WindowLayout
  
WindowLayout
  
WindowLayout
  
toString():String
WindowLayout
Public Constants
 ConstantDefined by
  CONTENT : String = "Content"
[static] The content pane layout constraint.
WindowLayout
  TITLE : String = "Title"
[static] The title bar layout constraint.
WindowLayout
Constructor detail
WindowLayout()constructor
public function WindowLayout()
Method detail
addLayoutComponent()method
public override function addLayoutComponent(comp:Component, constraints:Object):void

Parameters
comp:Component — the child to add to the layout
 
constraints:Object — the constraints indicate what position the child will be added.

Throws
— when the constraints is not TITLE either CONTENT.
getContentPane()method 
public function getContentPane():Component

Returns
Component
getTitleBar()method 
public function getTitleBar():Component

Returns
Component
layoutContainer()method 
public override function layoutContainer(target:Container):voidParameters
target:Container
minimumLayoutSize()method 
public override function minimumLayoutSize(target:Container):IntDimensionParameters
target:Container

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

Returns
IntDimension
removeLayoutComponent()method 
public override function removeLayoutComponent(comp:Component):voidParameters
comp:Component
toString()method 
public function toString():String

Returns
String
Constant detail
CONTENTconstant
public static const CONTENT:String = "Content"

The content pane layout constraint.

TITLEconstant 
public static const TITLE:String = "Title"

The title bar layout constraint.