JavaTM 2 Platform
Standard Edition

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. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
 

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 Container.setLayout(LayoutManager mgr)
          Sets the layout manager for this container.
 void ScrollPane.setLayout(LayoutManager mgr)
          Sets the layout manager for this container.
 

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

Uses of LayoutManager in javax.swing
 

Classes in javax.swing that implement LayoutManager
 class BoxLayout
          A layout manager that allows multiple components to be layed out either vertically or horizontally.
protected  class JRootPane.RootLayout
          A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.
 class OverlayLayout
          A layout manager to arrange components over the top of each other.
 class ScrollPaneLayout
          The layout manager used by JScrollPane.
static class ScrollPaneLayout.UIResource
          The UI resource version of ScrollPaneLayout.
 class ViewportLayout
          The default layout manager for JViewport.
 

Methods in javax.swing that return LayoutManager
protected  LayoutManager JViewport.createLayoutManager()
          Subclassers can override this to install a different layout manager (or null) in the constructor.
protected  LayoutManager JRootPane.createRootLayout()
          Called by the constructor methods to create the default layoutManager.
 

Methods in javax.swing with parameters of type LayoutManager
 void JInternalFrame.setLayout(LayoutManager manager)
          By default the layout of this component may not be set, the layout of its contentPane should be set instead.
 void JApplet.setLayout(LayoutManager manager)
          By default the layout of this component may not be set, the layout of its contentPane should be set instead.
 void JScrollPane.setLayout(LayoutManager layout)
          Sets the layout manager for this JScrollPane.
 void JWindow.setLayout(LayoutManager manager)
          By default the layout of this component may not be set, the layout of its contentPane should be set instead.
 void Box.setLayout(LayoutManager l)
          Throws an AWTError, since a Box can use only a BoxLayout.
 void JDialog.setLayout(LayoutManager manager)
          By default the layout of this component may not be set, the layout of its contentPane should be set instead.
 void JFrame.setLayout(LayoutManager manager)
          By default the layout of this component may not be set, the layout of its contentPane should be set instead.
 

Constructors in javax.swing with parameters of type LayoutManager
JPanel.JPanel(LayoutManager layout, boolean isDoubleBuffered)
          Creates a new JPanel with the specified layout manager and buffering strategy.
JPanel.JPanel(LayoutManager layout)
          Create a new buffered JPanel with the specified layout manager
 

Uses of LayoutManager in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement LayoutManager
 class BasicComboBoxUI.ComboBoxLayoutManager
          This layout manager handles the 'standard' layout of combo boxes.
 class BasicInternalFrameTitlePane.TitlePaneLayout
          This inner class is marked "public" due to a compiler bug.
 class BasicInternalFrameUI.InternalFrameLayout
           
static class BasicOptionPaneUI.ButtonAreaLayout
          ButtonAreaLayout acts similiar to FlowLayout.
 class BasicScrollBarUI
          Implementation of ScrollBarUI for the Basic Look and Feel
protected  class BasicSplitPaneDivider.DividerLayout
          Used to layout a BasicSplitPaneDivider.
 class BasicSplitPaneUI.BasicHorizontalLayoutManager
          LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.
 class BasicSplitPaneUI.BasicVerticalLayoutManager
          LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.
 class BasicTabbedPaneUI.TabbedPaneLayout
          This inner class is marked "public" due to a compiler bug.
 class DefaultMenuLayout
          The default layout manager for Popup menus and menubars.
 

Fields in javax.swing.plaf.basic declared as LayoutManager
protected  LayoutManager BasicInternalFrameUI.internalFrameLayout
           
 

Methods in javax.swing.plaf.basic that return LayoutManager
protected  LayoutManager BasicOptionPaneUI.createLayoutManager()
           
protected  LayoutManager BasicTabbedPaneUI.createLayoutManager()
           
protected  LayoutManager BasicInternalFrameTitlePane.createLayout()
           
protected  LayoutManager BasicComboBoxUI.createLayoutManager()
          Creates the standard combo box layout manager that has the arrow button to the right and the editor to the left.
protected  LayoutManager BasicInternalFrameUI.createLayoutManager()
           
 

Uses of LayoutManager in javax.swing.plaf.metal
 

Classes in javax.swing.plaf.metal that implement LayoutManager
 class MetalComboBoxUI.MetalComboBoxLayoutManager
          This inner class is marked "public" due to a compiler bug.
 class MetalScrollBarUI
          Implementation of ScrollBarUI for the Metal Look and Feel
 class MetalTabbedPaneUI.TabbedPaneLayout
          This inner class is marked "public" due to a compiler bug.
 

Methods in javax.swing.plaf.metal that return LayoutManager
protected  LayoutManager MetalTabbedPaneUI.createLayoutManager()
           
protected  LayoutManager MetalComboBoxUI.createLayoutManager()
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.