| Package | org.aswing |
| Class | public class ScrollPaneLayout |
| Inheritance | ScrollPaneLayout EmptyLayout |
JScrollPane.
JScrollPaneLayout is
responsible for three components: a viewportable's pane, two scrollbars.
See also
| Method | Defined by | ||
|---|---|---|---|
|
ScrollPaneLayout(style:int)
| ScrollPaneLayout | ||
![]() |
addLayoutComponent(comp:Component, constraints:Object):void
Do nothing
Adds the specified component to the layout, using the specified
constraint object.
| EmptyLayout | |
![]() |
getLayoutAlignmentX(target:Container):Number
return 0
| EmptyLayout | |
![]() |
getLayoutAlignmentY(target:Container):Number
return 0
| EmptyLayout | |
![]() |
invalidateLayout(target:Container):void
do nothing
| EmptyLayout | |
|
layoutContainer(target:Container):void
| ScrollPaneLayout | ||
![]() |
return IntDimension.createBigDimension();
| EmptyLayout | |
| ScrollPaneLayout | |||
|
return target.getSize();
| ScrollPaneLayout | ||
![]() |
removeLayoutComponent(comp:Component):void
Do nothing
Removes the specified component from the layout.
| EmptyLayout | |
| Constant | Defined by | ||
|---|---|---|---|
| BOTTOM_LEFT : int = 1 [static]
scrollbar are place at bottom and left
| ScrollPaneLayout | ||
| BOTTOM_RIGHT : int = 0 [static]
scrollbar are place at bottom and right
| ScrollPaneLayout | ||
| TOP_LEFT : int = 3 [static]
scrollbar are place at top and left
| ScrollPaneLayout | ||
| TOP_RIGHT : int = 2 [static]
scrollbar are place at top and right
| ScrollPaneLayout | ||
| ScrollPaneLayout | () | constructor |
public function ScrollPaneLayout(style:int)Parameters
style:int — how to place the scrollbars, default is BOTTOM_RIGHT
|
See also
| layoutContainer | () | method |
| minimumLayoutSize | () | method |
public override function minimumLayoutSize(target:Container):IntDimensionParameters
target:Container |
IntDimension |
| preferredLayoutSize | () | method |
public override function preferredLayoutSize(target:Container):IntDimensionreturn target.getSize();
Parameterstarget:Container |
IntDimension |
| BOTTOM_LEFT | constant |
public static const BOTTOM_LEFT:int = 1scrollbar are place at bottom and left
| BOTTOM_RIGHT | constant |
public static const BOTTOM_RIGHT:int = 0scrollbar are place at bottom and right
| TOP_LEFT | constant |
public static const TOP_LEFT:int = 3scrollbar are place at top and left
| TOP_RIGHT | constant |
public static const TOP_RIGHT:int = 2scrollbar are place at top and right