Class ScrollerLayout

Class ScrollerLayout

java.lang.Object
   |
   +----ScrollerLayout

public class ScrollerLayout
extends Object
implements LayoutManager
Layout manager for a Scroller.

Lays out 3 Components: a horizontal scrollbar, a vertical scrollbar and a viewport (Panel).

Valid names/Component pairs that can be added via addLayoutComponent(String, Component):

"East" Scrollbar (vertical)
"West" Scrollbar (vertical)
"North" Scrollbar (horizontal)
"South" Scrollbar (horizontal)
"Scroll" Panel (viewport)
Version:
1.0, Apr 1 1996
Author:
David Geary
See Also:
Scroller

Constructor Index

 o ScrollerLayout(Scroller)

Method Index

 o addLayoutComponent(String, Component)
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)

Constructors

 o ScrollerLayout
  public ScrollerLayout(Scroller scroller)

Methods

 o addLayoutComponent
  public void addLayoutComponent(String name,
                                 Component comp)
 o removeLayoutComponent
  public void removeLayoutComponent(Component comp)
 o preferredLayoutSize
  public Dimension preferredLayoutSize(Container parent)
 o minimumLayoutSize
  public Dimension minimumLayoutSize(Container parent)
 o layoutContainer
  public void layoutContainer(Container target)