Class awt.FlowLayout
All Packages    This Package    Previous    Next

Class awt.FlowLayout

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

public class FlowLayout
extends GapsLayout
Flow layout is used to layout buttons in a panel. It will arrange buttons left to right until no more buttons fit on the same line.
Version:
1.20 31 Jan 1995
Author:
Arthur van Hoff, Sami Shaio

defaultLayout

FlowLayout()

getPreferredSize(Container)
Preferred Dimension
layout(Container)
Layout the container
minDimension(Container)
Return the minimum dimensions of this layout.

defaultLayout
  public static FlowLayout defaultLayout

FlowLayout
  public FlowLayout()

getPreferredSize
  public Dimension getPreferredSize(Container pTarget)
Preferred Dimension
Overrides:
getPreferredSize in class ContainerLayout

minDimension

  public Dimension minDimension(Container pTarget)
Return the minimum dimensions of this layout.
Overrides:
minDimension in class ContainerLayout

layout

  public void layout(Container pTarget)
Layout the container
Overrides:
layout in class ContainerLayout


All Packages    This Package    Previous    Next