class org.aswing.WindowLayout extends EmptyLayout

Layout for JWindow and JFrame.

Author paling

Class Fields

static var CONTENT:String

The content pane layout constraint.

static var TITLE:String

The title bar layout constraint.

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from EmptyLayout

function addLayoutComponent(comp:Component, constraints:Dynamic):Void
function getLayoutAlignmentX(target:Container):Float
function getLayoutAlignmentY(target:Container):Float
function invalidateLayout(target:Container):Void
function layoutContainer(target:Container):Void
function maximumLayoutSize(target:Container):IntDimension
function minimumLayoutSize(target:Container):IntDimension
function preferredLayoutSize(target:Container):IntDimension
function removeLayoutComponent(comp:Component):Void

var contentPane:Component

A content pane that is set in the JWindow via window.append(comp, WindowLayout.TITLE); (readonly)

var titleBar:Component

A title bar that is set in the JWindow via window.append(comp, WindowLayout.TITLE); (readonly)

function new(): Void

function addLayoutComponent(comp:Component, constraints:Dynamic): Void

comp

the child to add to the layout

constraints

the constraints indicate what position the child will be added. It throws ArgumentError when the constraints is not TITLE either CONTENT.

function toString(): String