class org.aswing.colorchooser.VerticalLayout extends EmptyLayout

@author paling

Class Fields

static var CENTER:Int

This value indicates that each row of components should be centered.

static var LEFT:Int

This value indicates that each row of components should be left-justified.

static var RIGHT:Int

This value indicates that each row of components should be right-justified.

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

function new(?align:Int = 0, ?gap:Int = 0): Void

function getAlign(): Int

Returns the align.

returns

the align

function getGap(): Int

Gets gap.

returns

gap

function getLayoutAlignmentX(target:Container): Float

return 0.5

function getLayoutAlignmentY(target:Container): Float

return 0.5

function layoutContainer(target:Container): Void

do nothing

function minimumLayoutSize(target:Container): IntDimension

Returns minimumLayoutSize;

function preferredLayoutSize(target:Container): IntDimension

Returns preferredLayoutSize;

function setAlign(align:Int): Void

Sets new align. Must be one of:

  • LEFT
  • RIGHT
  • CENTER
  • TOP
  • BOTTOM
Default is LEFT.

align

new align

function setGap(gap:Int): Void

Sets new gap.

get

new gap