Class org.aswing.ScrollPaneLayout

Description

The layout manager used by JScrollPane. JScrollPaneLayout is responsible for three components: a viewportable's pane, two scrollbars.

See Also

Field Index

BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT

Method Index

new ScrollPaneLayout()
layoutContainer(), minimumLayoutSize(), preferredLayoutSize()

Inherited from EmptyLayout

Constructor Detail

ScrollPaneLayout

public function ScrollPaneLayout(style:Number)

Parameters

stylehow to place the scrollbars, default is BOTTOM_RIGHT

See Also

Field Detail

TOP_LEFT

static public TOP_LEFT:Number
scrollbar are place at top and left

TOP_RIGHT

static public TOP_RIGHT:Number
scrollbar are place at top and right

BOTTOM_LEFT

static public BOTTOM_LEFT:Number
scrollbar are place at bottom and left

BOTTOM_RIGHT

static public BOTTOM_RIGHT:Number
scrollbar are place at bottom and right

Method Detail

minimumLayoutSize

public function minimumLayoutSize(target:Container):Dimension

Description copied from EmptyLayout

new Dimension(0, 0);

Specified By

minimumLayoutSize() in org.aswing.LayoutManager

Overrides

minimumLayoutSize() in org.aswing.EmptyLayout

preferredLayoutSize

public function preferredLayoutSize(target:Container):Dimension

layoutContainer

public function layoutContainer(target:Container):Void

Description copied from EmptyLayout

do nothing

Specified By

layoutContainer() in org.aswing.LayoutManager

Overrides

layoutContainer() in org.aswing.EmptyLayout