JSR-62 (Final)

Uses of Class
java.awt.Container

Packages that use Container
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
javax.microedition.xlet Provides interfaces used by applications and the application manager to communicate. 
 

Uses of Container in java.applet
 

Subclasses of Container in java.applet
 class Applet
          An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
 

Uses of Container in java.awt
 

Subclasses of Container in java.awt
 class Dialog
          A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
 class FileDialog
          The FileDialog class displays a dialog window from which the user can select a file.
 class Frame
          A Frame is a top-level window with a title and a border.
 class Panel
          Panel is the simplest container class.
 class ScrollPane
          A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
 class Window
          A Window object is a top-level window with no borders and no menubar.
 

Methods in java.awt that return Container
 Container Component.getParent()
          Gets the parent of this component.
 

Methods in java.awt with parameters of type Container
 Dimension LayoutManager2.maximumLayoutSize(Container target)
          Returns the maximum size of this component.
 float LayoutManager2.getLayoutAlignmentX(Container target)
          Returns the alignment along the x axis.
 float LayoutManager2.getLayoutAlignmentY(Container target)
          Returns the alignment along the y axis.
 void LayoutManager2.invalidateLayout(Container target)
          Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
 Dimension LayoutManager.preferredLayoutSize(Container parent)
          Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
 Dimension LayoutManager.minimumLayoutSize(Container parent)
          Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.
 void LayoutManager.layoutContainer(Container parent)
          Lays out the container in the specified panel.
 Dimension GridLayout.preferredLayoutSize(Container parent)
          Determines the preferred size of the container argument using this grid layout.
 Dimension GridLayout.minimumLayoutSize(Container parent)
          Determines the minimum size of the container argument using this grid layout.
 void GridLayout.layoutContainer(Container parent)
          Lays out the specified container using this layout.
 Dimension GridBagLayout.preferredLayoutSize(Container parent)
          Determines the preferred size of the target container using this grid bag layout.
 Dimension GridBagLayout.minimumLayoutSize(Container parent)
          Determines the minimum size of the target container using this grid bag layout.
 Dimension GridBagLayout.maximumLayoutSize(Container target)
          Returns the maximum dimensions for this layout given the components in the specified target container.
 float GridBagLayout.getLayoutAlignmentX(Container parent)
          Returns the alignment along the x axis.
 float GridBagLayout.getLayoutAlignmentY(Container parent)
          Returns the alignment along the y axis.
 void GridBagLayout.invalidateLayout(Container target)
          Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
 void GridBagLayout.layoutContainer(Container parent)
          Lays out the specified container using this grid bag layout.
protected  void GridBagLayout.ArrangeGrid(Container parent)
           
 Dimension FlowLayout.preferredLayoutSize(Container target)
          Returns the preferred dimensions for this layout given the components in the specified target container.
 Dimension FlowLayout.minimumLayoutSize(Container target)
          Returns the minimum dimensions needed to layout the components contained in the specified target container.
 void FlowLayout.layoutContainer(Container target)
          Lays out the container.
 Dimension CardLayout.preferredLayoutSize(Container parent)
          Determines the preferred size of the container argument using this card layout.
 Dimension CardLayout.minimumLayoutSize(Container parent)
          Calculates the minimum size for the specified panel.
 Dimension CardLayout.maximumLayoutSize(Container target)
          Returns the maximum dimensions for this layout given the components in the specified target container.
 float CardLayout.getLayoutAlignmentX(Container parent)
          Returns the alignment along the x axis.
 float CardLayout.getLayoutAlignmentY(Container parent)
          Returns the alignment along the y axis.
 void CardLayout.invalidateLayout(Container target)
          Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
 void CardLayout.layoutContainer(Container parent)
          Lays out the specified container using this card layout.
 void CardLayout.first(Container parent)
          Flips to the first card of the container.
 void CardLayout.next(Container parent)
          Flips to the next card of the specified container.
 void CardLayout.previous(Container parent)
          Flips to the previous card of the specified container.
 void CardLayout.last(Container parent)
          Flips to the last card of the container.
 void CardLayout.show(Container parent, String name)
          Flips to the component that was added to this layout with the specified name, using addLayoutComponent.
 Dimension BorderLayout.minimumLayoutSize(Container target)
          Determines the minimum size of the target container using this layout manager.
 Dimension BorderLayout.preferredLayoutSize(Container target)
          Determines the preferred size of the target container using this layout manager, based on the components in the container.
 Dimension BorderLayout.maximumLayoutSize(Container target)
          Returns the maximum dimensions for this layout given the components in the specified target container.
 float BorderLayout.getLayoutAlignmentX(Container parent)
          Returns the alignment along the x axis.
 float BorderLayout.getLayoutAlignmentY(Container parent)
          Returns the alignment along the y axis.
 void BorderLayout.invalidateLayout(Container target)
          Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
 void BorderLayout.layoutContainer(Container target)
          Lays out the container argument using this border layout.
 

Uses of Container in java.awt.event
 

Methods in java.awt.event that return Container
 Container ContainerEvent.getContainer()
          Returns the originator of the event.
 

Uses of Container in javax.microedition.xlet
 

Methods in javax.microedition.xlet that return Container
 Container XletContext.getContainer()
          Get the parent container for an Xlet to put its AWT components in.
 


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.