    All Packages    This Package    Previous    Next

# Class awt.ContainerLayout

    java.lang.Object
       |
       +----awt.ContainerLayout

public class ContainerLayout
extends Object

A layout object (abstract class). There are serveral subclasses of this class that layout containers in various ways. To layout a container you need to call Layout(container).

Version:
  1.7 31 Jan 1995
Author:
  Arthur van Hoff

##

ContainerLayout()

##

getInsets(Container)
getPreferredSize(Container)
  Return the preferred size of this layout given the size of pTarget.
layout(Container)
  Layout the target container.
minDimension(Container)
  Return the minimum dimensions of this layout.

##

ContainerLayout

      public ContainerLayout()

##

getPreferredSize

      public Dimension getPreferredSize(Container pTarget)

  Return the preferred size of this layout given the size of pTarget.

minDimension

      public Dimension minDimension(Container pTarget)

  Return the minimum dimensions of this layout.

layout

      public abstract void layout(Container pTarget)

  Layout the target container.

getInsets

      protected int getInsets(Container pTarget)

    All Packages    This Package    Previous    Next