`[all packages] [package ] [class hierarchy] [index]`

# public class ScrollableLayout

(source file: ScrollableLayout.java)

    java.lang.Object
       |
       +----ScrollableLayout

The pure class interface.

    public class ScrollableLayout
      implements LayoutManager

  A simple layout manager for adding scrollbars to a component. This has since been superceded by AWT 1.1, but is still necessary in order to run on AWT 1.0 browsers (eg Netscape 4).

  Author:
    Alan Jeffrey
  Version: v1.0 1998/06/02

##

ScrollableLayout()

##

addLayoutComponent(String, Component)
  Components can be added to the centre, south or east.
layoutContainer(Container)
  Lay out the contents.
minimumLayoutSize(Container)
  Find the preferred layout size.
preferredLayoutSize(Container)
  Find the preferred layout size.
removeLayoutComponent(Component)
  A dummy method (removing components isn't implemented).

##

ScrollableLayout

    public ScrollableLayout();

##

addLayoutComponent

    public void addLayoutComponent(String name,
                                   Component comp);

  Components can be added to the centre, south or east.

  Parameters:
    name - the location
    comp - the component to add.

removeLayoutComponent

    public void removeLayoutComponent(Component comp);

  A dummy method (removing components isn't implemented).

preferredLayoutSize

    public Dimension preferredLayoutSize(Container parent);

  Find the preferred layout size.

  Parameters:
    parent - the container.
  Returns:
    the preferred size.

minimumLayoutSize

    public Dimension minimumLayoutSize(Container parent);

  Find the preferred layout size.

  Parameters:
    parent - the container.
  Returns:
    the preferred size.

layoutContainer

    public void layoutContainer(Container parent);

  Lay out the contents.

  Parameters:
    parent - the container.
  Returns:
    the preferred size.

`[all packages] [package ] [class hierarchy] [index]`

###### ScrollableLayout.html