JSR-62 (Final)

Uses of Interface
java.awt.LayoutManager

Packages that use LayoutManager
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of LayoutManager in java.awt
 

Subinterfaces of LayoutManager in java.awt
 interface LayoutManager2
          Defines an interface for classes that know how to layout Containers based on a layout constraints object.
 

Classes in java.awt that implement LayoutManager
 class BorderLayout
          A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
 class CardLayout
          A CardLayout object is a layout manager for a container.
 class FlowLayout
          A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph.
 class GridBagLayout
          The GridBagLayout class is a flexible layout manager that aligns components vertically and horizontally, without requiring that the components be of the same size.
 class GridLayout
          The GridLayout class is a layout manager that lays out a container's components in a rectangular grid.
 

Methods in java.awt that return LayoutManager
 LayoutManager Container.getLayout()
          Gets the layout manager for this container.
 

Methods in java.awt with parameters of type LayoutManager
 void ScrollPane.setLayout(LayoutManager mgr)
          Sets the layout manager for this container.
 void Container.setLayout(LayoutManager mgr)
          Sets the layout manager for this container.
 

Constructors in java.awt with parameters of type LayoutManager
Panel(LayoutManager layout)
          Creates a new panel with the specified layout manager.
 


JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.