Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev
Next
Sample
Document
Uses of Class java.awt.Container
Deprecated: ShowHide
View: ClientSubclassPackageImplementation

Uses of Class
java.awt.Container

  • Packages that use Container 
    Package Description
    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.
    • Uses of Container in java.awt

      Subclasses of Container in java.awt 
      Modifier and Type Class and Description
      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 
      Modifier and Type Method and Description
      Container  KeyboardFocusManager.getCurrentFocusCycleRoot()
      Returns the current focus cycle root, if the current focus cycle root is in the same context as the calling thread.
      Container  Window.getFocusCycleRootAncestor()
      Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy.
      Container  Component.getFocusCycleRootAncestor()
      Returns the Container which is the focus cycle root of this Component's focus traversal cycle.
      protected Container  KeyboardFocusManager.getGlobalCurrentFocusCycleRoot()
      Returns the current focus cycle root, even if the calling thread is in a different context than the current focus cycle root.
      protected static Container  Toolkit.getNativeContainer(Component c)
      Give native peers the ability to query the native container given a native component (eg the direct parent may be lightweight).
      Container  Component.getParent()
      Gets the parent of this component.
      Methods in java.awt with parameters of type Container 
      Modifier and Type Method and Description
      protected void  GridBagLayout.arrangeGrid(Container parent)
      Lays out the grid.
      protected void  GridBagLayout.ArrangeGrid(Container parent)
      This method is obsolete and supplied for backwards compatability only; new code should call arrangeGrid instead.
      abstract void  KeyboardFocusManager.downFocusCycle(Container aContainer)
      Moves the focus down one focus traversal cycle.
      void  DefaultKeyboardFocusManager.downFocusCycle(Container aContainer)
      Moves the focus down one focus traversal cycle.
      void  CardLayout.first(Container parent)
      Flips to the first card of the container.
      abstract Component  FocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
      Returns the Component that should receive the focus after aComponent.
      Component  ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent)
      Returns the Component that should receive the focus after aComponent.
      abstract Component  FocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
      Returns the Component that should receive the focus before aComponent.
      Component  ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent)
      Returns the Component that should receive the focus before aComponent.
      abstract Component  FocusTraversalPolicy.getDefaultComponent(Container aContainer)
      Returns the default Component to focus.
      Component  ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container aContainer)
      Returns the default Component to focus.
      abstract Component  FocusTraversalPolicy.getFirstComponent(Container aContainer)
      Returns the first Component in the traversal cycle.
      Component  ContainerOrderFocusTraversalPolicy.getFirstComponent(Container aContainer)
      Returns the first Component in the traversal cycle.
      abstract Component  FocusTraversalPolicy.getLastComponent(Container aContainer)
      Returns the last Component in the traversal cycle.
      Component  ContainerOrderFocusTraversalPolicy.getLastComponent(Container aContainer)
      Returns the last Component in the traversal cycle.
      float  LayoutManager2.getLayoutAlignmentX(Container target)
      Returns the alignment along the x axis.
      float  GridBagLayout.getLayoutAlignmentX(Container parent)
      Returns the alignment along the x axis.
      float  CardLayout.getLayoutAlignmentX(Container parent)
      Returns the alignment along the x axis.
      float  BorderLayout.getLayoutAlignmentX(Container parent)
      Returns the alignment along the x axis.
      float  LayoutManager2.getLayoutAlignmentY(Container target)
      Returns the alignment along the y axis.
      float  GridBagLayout.getLayoutAlignmentY(Container parent)
      Returns the alignment along the y axis.
      float  CardLayout.getLayoutAlignmentY(Container parent)
      Returns the alignment along the y axis.
      float  BorderLayout.getLayoutAlignmentY(Container parent)
      Returns the alignment along the y axis.
      Component  BorderLayout.getLayoutComponent(Container target, java.lang.Object constraints)
      Returns the component that corresponds to the given constraint location based on the target Container's component orientation.
      protected GridBagLayoutInfo  GridBagLayout.getLayoutInfo(Container parent, int sizeflag)
      Fills in an instance of GridBagLayoutInfo for the current set of managed children.
      protected GridBagLayoutInfo  GridBagLayout.GetLayoutInfo(Container parent, int sizeflag)
      This method is obsolete and supplied for backwards compatability only; new code should call getLayoutInfo instead.
      protected Dimension  GridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info)
      Figures out the minimum size of the master based on the information from getLayoutInfo.
      protected Dimension  GridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info)
      This method is obsolete and supplied for backwards compatability only; new code should call getMinSize instead.
      void  LayoutManager2.invalidateLayout(Container target)
      Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
      void  GridBagLayout.invalidateLayout(Container target)
      Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
      void  CardLayout.invalidateLayout(Container target)
      Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
      void  BorderLayout.invalidateLayout(Container target)
      Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
      boolean  Container.isFocusCycleRoot(Container container)
      Returns whether the specified Container is the focus cycle root of this Container's focus traversal cycle.
      boolean  Component.isFocusCycleRoot(Container container)
      Returns whether the specified Container is the focus cycle root of this Component's focus traversal cycle.
      void  CardLayout.last(Container parent)
      Flips to the last card of the container.
      void  LayoutManager.layoutContainer(Container parent)
      Lays out the specified container.
      void  GridLayout.layoutContainer(Container parent)
      Lays out the specified container using this layout.
      void  GridBagLayout.layoutContainer(Container parent)
      Lays out the specified container using this grid bag layout.
      void  FlowLayout.layoutContainer(Container target)
      Lays out the container.
      void  CardLayout.layoutContainer(Container parent)
      Lays out the specified container using this card layout.
      void  BorderLayout.layoutContainer(Container target)
      Lays out the container argument using this border layout.
      Dimension  LayoutManager2.maximumLayoutSize(Container target)
      Calculates the maximum size dimensions for the specified container, given the components it contains.
      Dimension  GridBagLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  CardLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  BorderLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  LayoutManager.minimumLayoutSize(Container parent)
      Calculates the minimum size dimensions for the specified container, given the components it contains.
      Dimension  GridLayout.minimumLayoutSize(Container parent)
      Determines the minimum size of the container argument using this grid layout.
      Dimension  GridBagLayout.minimumLayoutSize(Container parent)
      Determines the minimum size of the parent container using this grid bag layout.
      Dimension  FlowLayout.minimumLayoutSize(Container target)
      Returns the minimum dimensions needed to layout the visible components contained in the specified target container.
      Dimension  CardLayout.minimumLayoutSize(Container parent)
      Calculates the minimum size for the specified panel.
      Dimension  BorderLayout.minimumLayoutSize(Container target)
      Determines the minimum size of the target container using this layout manager.
      void  CardLayout.next(Container parent)
      Flips to the next card of the specified container.
      Dimension  LayoutManager.preferredLayoutSize(Container parent)
      Calculates the preferred size dimensions for the specified container, given the components it contains.
      Dimension  GridLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the container argument using this grid layout.
      Dimension  GridBagLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the parent container using this grid bag layout.
      Dimension  FlowLayout.preferredLayoutSize(Container target)
      Returns the preferred dimensions for this layout given the visible components in the specified target container.
      Dimension  CardLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the container argument using this card layout.
      Dimension  BorderLayout.preferredLayoutSize(Container target)
      Determines the preferred size of the target container using this layout manager, based on the components in the container.
      void  CardLayout.previous(Container parent)
      Flips to the previous card of the specified container.
      void  KeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot)
      Sets the current focus cycle root.
      void  CardLayout.show(Container parent, java.lang.String name)
      Flips to the component that was added to this layout with the specified name, using addLayoutComponent.
    • Uses of Container in java.awt.event

      Methods in java.awt.event that return Container 
      Modifier and Type Method and Description
      Container  HierarchyEvent.getChangedParent()
      Returns the parent of the Component returned by getChanged().
      Container  ContainerEvent.getContainer()
      Returns the originator of the event.
      Constructors in java.awt.event with parameters of type Container 
      Constructor and Description
      HierarchyEvent(Component source, int id, Component changed, Container changedParent)
      Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
      HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)
      Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge