| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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. | 
| java.beans.beancontext | Provides classes and interfaces relating to bean context. | 
| 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.colorchooser | Contains classes and interfaces used by the JColorChoosercomponent. | 
| javax.swing.event | Provides for events fired by Swing components. | 
| 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 Java look and feel (once codenamed Metal), which is the default look and feel. | 
| javax.swing.table | Provides classes and interfaces for dealing with javax.swing.JTable. | 
| javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. | 
| javax.swing.tree | Provides classes and interfaces for dealing with javax.swing.JTree. | 
| Uses of Container in java.applet | 
|---|
| Subclasses of Container in java.applet | |
|---|---|
|  class | AppletAn 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 | DialogA 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 | FileDialogThe FileDialogclass displays a dialog window
 from which the user can select a file. | 
|  class | FrameA Frameis a top-level window with a title and a border. | 
|  class | PanelPanelis the simplest container class. | 
|  class | ScrollPaneA container class which implements automatic horizontal and/or vertical scrolling for a single child component. | 
|  class | WindowA Windowobject is a top-level window with no borders and no
 menubar. | 
| Methods in java.awt that return Container | |
|---|---|
|  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 nullbecause 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 | |
|---|---|
| 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 arrangeGridinstead. | 
|  void | DefaultKeyboardFocusManager.downFocusCycle(Container aContainer)Moves the focus down one focus traversal cycle. | 
| abstract  void | KeyboardFocusManager.downFocusCycle(Container aContainer)Moves the focus down one focus traversal cycle. | 
|  void | CardLayout.first(Container parent)Flips to the first card of the container. | 
|  Component | ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| abstract  Component | FocusTraversalPolicy.getComponentAfter(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus after aComponent. | 
|  Component | ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer,
                   Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| abstract  Component | FocusTraversalPolicy.getComponentBefore(Container aContainer,
                   Component aComponent)Returns the Component that should receive the focus before aComponent. | 
|  Component | ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
| abstract  Component | FocusTraversalPolicy.getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
|  Component | ContainerOrderFocusTraversalPolicy.getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
| abstract  Component | FocusTraversalPolicy.getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
|  Component | ContainerOrderFocusTraversalPolicy.getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
| abstract  Component | FocusTraversalPolicy.getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
|  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 | LayoutManager2.getLayoutAlignmentX(Container target)Returns the alignment along the x axis. | 
|  float | BorderLayout.getLayoutAlignmentX(Container parent)Returns the alignment along the x 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 | LayoutManager2.getLayoutAlignmentY(Container target)Returns the alignment along the y axis. | 
|  float | BorderLayout.getLayoutAlignmentY(Container parent)Returns the alignment along the y axis. | 
|  Component | BorderLayout.getLayoutComponent(Container target,
                   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 GridBagLayoutInfofor 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 getLayoutInfoinstead. | 
| 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 getMinSizeinstead. | 
|  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 | LayoutManager2.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 | 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. | 
|  void | LayoutManager.layoutContainer(Container parent)Lays out the specified container. | 
|  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 | LayoutManager2.maximumLayoutSize(Container target)Calculates the maximum size dimensions for the specified container, given the components it contains. | 
|  Dimension | BorderLayout.maximumLayoutSize(Container target)Returns the maximum dimensions for this layout given the components in the specified target container. | 
|  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 parentcontainer
 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 targetcontainer
 using this layout manager. | 
|  Dimension | LayoutManager.minimumLayoutSize(Container parent)Calculates the minimum size dimensions for the specified container, given the components it contains. | 
|  void | CardLayout.next(Container parent)Flips to the next card of the specified container. | 
|  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 parentcontainer 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 targetcontainer using this layout manager, based on the components
 in the container. | 
|  Dimension | LayoutManager.preferredLayoutSize(Container parent)Calculates the preferred size dimensions for the specified container, given the components it contains. | 
|  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,
     String name)Flips to the component that was added to this layout with the specified name, usingaddLayoutComponent. | 
| Uses of Container in java.awt.event | 
|---|
| Methods in java.awt.event that return Container | |
|---|---|
|  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 | |
|---|---|
| HierarchyEvent(Component source,
               int id,
               Component changed,
               Container changedParent)Constructs an HierarchyEventobject to identify a
 change in theComponenthierarchy. | |
| HierarchyEvent(Component source,
               int id,
               Component changed,
               Container changedParent,
               long changeFlags)Constructs an HierarchyEventobject to identify
 a change in theComponenthierarchy. | |
| Uses of Container in java.beans.beancontext | 
|---|
| Methods in java.beans.beancontext that return Container | |
|---|---|
|  Container | BeanContextContainerProxy.getContainer()Gets the java.awt.Containerassociated 
 with thisBeanContext. | 
| Uses of Container in javax.swing | 
|---|
| Subclasses of Container in javax.swing | |
|---|---|
|  class | AbstractButtonDefines common behaviors for buttons and menu items. | 
|  class | BoxA lightweight container that uses a BoxLayout object as its layout manager. | 
| static class | Box.FillerAn implementation of a lightweight component that participates in layout but has no view. | 
|  class | CellRendererPaneThis class is inserted in between cell renderers and the components that use them. | 
|  class | DefaultListCellRendererRenders an item in a list. | 
| static class | DefaultListCellRenderer.UIResourceA subclass of DefaultListCellRenderer that implements UIResource. | 
|  class | JAppletAn extended version of java.applet.Appletthat adds support for 
 the JFC/Swing component architecture. | 
|  class | JButtonAn implementation of a "push" button. | 
|  class | JCheckBoxAn implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user. | 
|  class | JCheckBoxMenuItemA menu item that can be selected or deselected. | 
|  class | JColorChooserJColorChooserprovides a pane of controls designed to allow
 a user to manipulate and select a color. | 
|  class | JComboBoxA component that combines a button or editable field and a drop-down list. | 
|  class | JComponentThe base class for all Swing components except top-level containers. | 
|  class | JDesktopPaneA container used to create a multiple-document interface or a virtual desktop. | 
|  class | JDialogThe main class for creating a dialog window. | 
|  class | JEditorPaneA text component to edit various kinds of content. | 
|  class | JFileChooserJFileChooserprovides a simple mechanism for the user to
 choose a file. | 
|  class | JFormattedTextFieldJFormattedTextFieldextendsJTextFieldadding
 support for formatting arbitrary values, as well as retrieving a particular
 object once the user has edited the text. | 
|  class | JFrameAn extended version of java.awt.Framethat adds support for 
 the JFC/Swing component architecture. | 
|  class | JInternalFrameA lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar. | 
| static class | JInternalFrame.JDesktopIconThis component represents an iconified version of a JInternalFrame. | 
|  class | JLabelA display area for a short text string or an image, or both. | 
|  class | JLayeredPaneJLayeredPaneadds depth to a JFC/Swing container,
 allowing components to overlap each other when needed. | 
|  class | JListA component that displays a list of objects and allows the user to select one or more items. | 
|  class | JMenuAn implementation of a menu -- a popup window containing JMenuItems that
 is displayed when the user selects an item on theJMenuBar. | 
|  class | JMenuBarAn implementation of a menu bar. | 
|  class | JMenuItemAn implementation of an item in a menu. | 
|  class | JOptionPaneJOptionPanemakes it easy to pop up a standard dialog box that
 prompts users for a value or informs them of something. | 
|  class | JPanelJPanelis a generic lightweight container. | 
|  class | JPasswordFieldJPasswordFieldis a lightweight component that allows
 the editing of a single line of text where the view indicates
 something was typed, but does not show the original characters. | 
|  class | JPopupMenuAn implementation of a popup menu -- a small window that pops up and displays a series of choices. | 
| static class | JPopupMenu.SeparatorA popup menu-specific separator. | 
|  class | JProgressBarA component that visually displays the progress of some task. | 
|  class | JRadioButtonAn implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. | 
|  class | JRadioButtonMenuItemAn implementation of a radio button menu item. | 
|  class | JRootPaneA lightweight container used behind the scenes by JFrame,JDialog,JWindow,JApplet, andJInternalFrame. | 
|  class | JScrollBarAn implementation of a scrollbar. | 
|  class | JScrollPaneProvides a scrollable view of a lightweight component. | 
| protected  class | JScrollPane.ScrollBarBy default JScrollPanecreates scrollbars
 that are instances
 of this class. | 
|  class | JSeparatorJSeparatorprovides a general purpose component for
 implementing divider lines - most commonly used as a divider
 between menu items that breaks them up into logical groupings. | 
|  class | JSliderA component that lets the user graphically select a value by sliding a knob within a bounded interval. | 
|  class | JSpinnerA single line input field that lets the user select a number or an object value from an ordered sequence. | 
| static class | JSpinner.DateEditorAn editor for a JSpinnerwhose model is aSpinnerDateModel. | 
| static class | JSpinner.DefaultEditorA simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField. | 
| static class | JSpinner.ListEditorAn editor for a JSpinnerwhose model is aSpinnerListModel. | 
| static class | JSpinner.NumberEditorAn editor for a JSpinnerwhose model is aSpinnerNumberModel. | 
|  class | JSplitPaneJSplitPaneis used to divide two (and only two)Components. | 
|  class | JTabbedPaneA component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon. | 
|  class | JTableThe JTableis used to display and edit regular two-dimensional tables
 of cells. | 
|  class | JTextAreaA JTextAreais a multi-line area that displays plain text. | 
|  class | JTextFieldJTextFieldis a lightweight component that allows the editing 
 of a single line of text. | 
|  class | JTextPaneA text component that can be marked up with attributes that are represented graphically. | 
|  class | JToggleButtonAn implementation of a two-state button. | 
|  class | JToolBarJToolBarprovides a component that is useful for
 displaying commonly usedActions or controls. | 
| static class | JToolBar.SeparatorA toolbar-specific separator. | 
|  class | JToolTipUsed to display a "Tip" for a Component. | 
|  class | JTreeA control that displays a set of hierarchical data as an outline. | 
|  class | JViewportThe "viewport" or "porthole" through which you see the underlying information. | 
|  class | JWindowA JWindowis a container that can be displayed anywhere on the
 user's desktop. | 
| Fields in javax.swing declared as Container | |
|---|---|
| protected  Container | JRootPane.contentPaneThe content pane. | 
| Methods in javax.swing that return Container | |
|---|---|
| protected  Container | JRootPane.createContentPane()Called by the constructor methods to create the default contentPane. | 
| static Container | SwingUtilities.getAncestorNamed(String name,
                 Component comp)Convenience method for searching above compin the
 component hierarchy and returns the first object ofnameit
 finds. | 
| static Container | SwingUtilities.getAncestorOfClass(Class<?> c,
                   Component comp)Convenience method for searching above compin the
 component hierarchy and returns the first object of classcit
 finds. | 
|  Container | JInternalFrame.getContentPane()Returns the content pane for this internal frame. | 
|  Container | JDialog.getContentPane()Returns the contentPaneobject for this dialog. | 
|  Container | JApplet.getContentPane()Returns the contentPane object for this applet. | 
|  Container | JWindow.getContentPane()Returns the Containerwhich is thecontentPanefor this window. | 
|  Container | JRootPane.getContentPane()Returns the content pane -- the container that holds the components parented by the root pane. | 
|  Container | JFrame.getContentPane()Returns the contentPaneobject for this frame. | 
|  Container | RootPaneContainer.getContentPane()Returns the contentPane. | 
|  Container | JInternalFrame.getFocusCycleRootAncestor()Always returns nullbecauseJInternalFrames
 must always be roots of a focus
 traversal cycle. | 
|  Container | BoxLayout.getTarget()Returns the container that uses this layout manager. | 
|  Container | OverlayLayout.getTarget()Returns the container that uses this layout manager. | 
|  Container | JComponent.getTopLevelAncestor()Returns the top-level ancestor of this component (either the containing WindoworApplet),
 ornullif this component has not
 been added to any container. | 
| Methods in javax.swing with parameters of type Container | |
|---|---|
|  Component | SortingFocusTraversalPolicy.getComponentAfter(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus after aComponent. | 
|  Component | LayoutFocusTraversalPolicy.getComponentAfter(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus after aComponent. | 
|  Component | DefaultFocusManager.getComponentAfter(Container aContainer,
                  Component aComponent) | 
|  Component | SortingFocusTraversalPolicy.getComponentBefore(Container aContainer,
                   Component aComponent)Returns the Component that should receive the focus before aComponent. | 
|  Component | LayoutFocusTraversalPolicy.getComponentBefore(Container aContainer,
                   Component aComponent)Returns the Component that should receive the focus before aComponent. | 
|  Component | DefaultFocusManager.getComponentBefore(Container aContainer,
                   Component aComponent) | 
| abstract  int | LayoutStyle.getContainerGap(JComponent component,
                int position,
                Container parent)Returns the amount of space to place between the component and specified edge of its parent. | 
|  Component | SortingFocusTraversalPolicy.getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
|  Component | SortingFocusTraversalPolicy.getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
|  Component | LayoutFocusTraversalPolicy.getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
|  Component | DefaultFocusManager.getFirstComponent(Container aContainer) | 
|  Component | SortingFocusTraversalPolicy.getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
|  Component | LayoutFocusTraversalPolicy.getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
|  Component | DefaultFocusManager.getLastComponent(Container aContainer) | 
|  float | SpringLayout.getLayoutAlignmentX(Container p)Returns 0.5f (centered). | 
|  float | GroupLayout.getLayoutAlignmentX(Container parent)Returns the alignment along the x axis. | 
|  float | BoxLayout.getLayoutAlignmentX(Container target)Returns the alignment along the X axis for the container. | 
|  float | OverlayLayout.getLayoutAlignmentX(Container target)Returns the alignment along the x axis for the container. | 
|  float | JRootPane.RootLayout.getLayoutAlignmentX(Container target) | 
|  float | SpringLayout.getLayoutAlignmentY(Container p)Returns 0.5f (centered). | 
|  float | GroupLayout.getLayoutAlignmentY(Container parent)Returns the alignment along the y axis. | 
|  float | BoxLayout.getLayoutAlignmentY(Container target)Returns the alignment along the Y axis for the container. | 
|  float | OverlayLayout.getLayoutAlignmentY(Container target)Returns the alignment along the y axis for the container. | 
|  float | JRootPane.RootLayout.getLayoutAlignmentY(Container target) | 
| abstract  int | LayoutStyle.getPreferredGap(JComponent component1,
                JComponent component2,
                LayoutStyle.ComponentPlacement type,
                int position,
                Container parent)Returns the amount of space to use between two components. | 
|  void | SpringLayout.invalidateLayout(Container p) | 
|  void | GroupLayout.invalidateLayout(Container parent)Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. | 
|  void | BoxLayout.invalidateLayout(Container target)Indicates that a child has changed its layout related information, and thus any cached calculations should be flushed. | 
|  void | OverlayLayout.invalidateLayout(Container target)Indicates a child has changed its layout related information, which causes any cached calculations to be flushed. | 
|  void | JRootPane.RootLayout.invalidateLayout(Container target) | 
|  void | SpringLayout.layoutContainer(Container parent) | 
|  void | GroupLayout.layoutContainer(Container parent)Lays out the specified container. | 
|  void | JSpinner.DefaultEditor.layoutContainer(Container parent)Resize the one (and only) child to completely fill the area within the parents insets. | 
|  void | BoxLayout.layoutContainer(Container target)Called by the AWT when the specified container needs to be laid out. | 
|  void | ViewportLayout.layoutContainer(Container parent)Called by the AWT when the specified container needs to be laid out. | 
|  void | ScrollPaneLayout.layoutContainer(Container parent)Lays out the scrollpane. | 
|  void | OverlayLayout.layoutContainer(Container target)Called by the AWT when the specified container needs to be laid out. | 
|  void | JRootPane.RootLayout.layoutContainer(Container parent)Instructs the layout manager to perform the layout for the specified container. | 
|  Dimension | SpringLayout.maximumLayoutSize(Container parent) | 
|  Dimension | GroupLayout.maximumLayoutSize(Container parent)Returns the maximum size for the specified container. | 
|  Dimension | BoxLayout.maximumLayoutSize(Container target)Returns the maximum dimensions the target container can use to lay out the components it contains. | 
|  Dimension | OverlayLayout.maximumLayoutSize(Container target)Returns the maximum dimensions needed to lay out the components contained in the specified target container. | 
|  Dimension | JRootPane.RootLayout.maximumLayoutSize(Container target)Returns the maximum amount of space the layout can use. | 
|  Dimension | SpringLayout.minimumLayoutSize(Container parent) | 
|  Dimension | GroupLayout.minimumLayoutSize(Container parent)Returns the minimum size for the specified container. | 
|  Dimension | JSpinner.DefaultEditor.minimumLayoutSize(Container parent)Returns the minimum size of first (and only) child plus the size of the parents insets. | 
|  Dimension | BoxLayout.minimumLayoutSize(Container target)Returns the minimum dimensions needed to lay out the components contained in the specified target container. | 
|  Dimension | ViewportLayout.minimumLayoutSize(Container parent)Returns the minimum dimensions needed to layout the components contained in the specified target container. | 
|  Dimension | ScrollPaneLayout.minimumLayoutSize(Container parent)The minimum size of a ScrollPaneis the size of the insets 
 plus minimum size of the viewport, plus the scrollpane's
 viewportBorder insets, plus the minimum size 
 of the visible headers, plus the minimum size of the 
 scrollbars whose displayPolicy isn't NEVER. | 
|  Dimension | OverlayLayout.minimumLayoutSize(Container target)Returns the minimum dimensions needed to lay out the components contained in the specified target container. | 
|  Dimension | JRootPane.RootLayout.minimumLayoutSize(Container parent)Returns the minimum amount of space the layout needs. | 
|  void | CellRendererPane.paintComponent(Graphics g,
               Component c,
               Container p,
               int x,
               int y,
               int w,
               int h)Calls this.paintComponent(g, c, p, x, y, w, h, false). | 
| static void | SwingUtilities.paintComponent(Graphics g,
               Component c,
               Container p,
               int x,
               int y,
               int w,
               int h)Paints a component to the specified Graphics. | 
|  void | CellRendererPane.paintComponent(Graphics g,
               Component c,
               Container p,
               int x,
               int y,
               int w,
               int h,
               boolean shouldValidate)Paint a cell renderer component c on graphics object g. | 
|  void | CellRendererPane.paintComponent(Graphics g,
               Component c,
               Container p,
               Rectangle r)Calls this.paintComponent() with the rectangles x,y,width,height fields. | 
| static void | SwingUtilities.paintComponent(Graphics g,
               Component c,
               Container p,
               Rectangle r)Paints a component to the specified Graphics. | 
|  Dimension | SpringLayout.preferredLayoutSize(Container parent) | 
|  Dimension | GroupLayout.preferredLayoutSize(Container parent)Returns the preferred size for the specified container. | 
|  Dimension | JSpinner.DefaultEditor.preferredLayoutSize(Container parent)Returns the preferred size of first (and only) child plus the size of the parents insets. | 
|  Dimension | BoxLayout.preferredLayoutSize(Container target)Returns the preferred dimensions for this layout, given the components in the specified target container. | 
|  Dimension | ViewportLayout.preferredLayoutSize(Container parent)Returns the preferred dimensions for this layout given the components in the specified target container. | 
|  Dimension | ScrollPaneLayout.preferredLayoutSize(Container parent)The preferred size of a ScrollPaneis the size of the insets,
 plus the preferred size of the viewport, plus the preferred size of 
 the visible headers, plus the preferred size of the scrollbars
 that will appear given the current view and the current
 scrollbar displayPolicies. | 
|  Dimension | OverlayLayout.preferredLayoutSize(Container target)Returns the preferred dimensions for this layout given the components in the specified target container. | 
|  Dimension | JRootPane.RootLayout.preferredLayoutSize(Container parent)Returns the amount of space the layout would like to have. | 
|  void | JInternalFrame.setContentPane(Container c)Sets this JInternalFrame'scontentPaneproperty. | 
|  void | JDialog.setContentPane(Container contentPane)Sets the contentPaneproperty. | 
|  void | JApplet.setContentPane(Container contentPane)Sets the contentPane property. | 
|  void | JWindow.setContentPane(Container contentPane)Sets the contentPaneproperty for this window. | 
|  void | JRootPane.setContentPane(Container content)Sets the content pane -- the container that holds the components parented by the root pane. | 
|  void | JFrame.setContentPane(Container contentPane)Sets the contentPaneproperty. | 
|  void | RootPaneContainer.setContentPane(Container contentPane)The "contentPane" is the primary container for application specific components. | 
| Constructors in javax.swing with parameters of type Container | |
|---|---|
| BoxLayout(Container target,
          int axis)Creates a layout manager that will lay out components along the given axis. | |
| GroupLayout(Container host)Creates a GroupLayoutfor the specifiedContainer. | |
| OverlayLayout(Container target)Constructs a layout manager that performs overlay arrangement of the children. | |
| Uses of Container in javax.swing.colorchooser | 
|---|
| Subclasses of Container in javax.swing.colorchooser | |
|---|---|
|  class | AbstractColorChooserPanelThis is the abstract superclass for color choosers. | 
| Uses of Container in javax.swing.event | 
|---|
| Methods in javax.swing.event that return Container | |
|---|---|
|  Container | AncestorEvent.getAncestor()Returns the ancestor that the event actually occurred on. | 
|  Container | AncestorEvent.getAncestorParent()Returns the parent of the ancestor the event actually occurred on. | 
| Constructors in javax.swing.event with parameters of type Container | |
|---|---|
| AncestorEvent(JComponent source,
              int id,
              Container ancestor,
              Container ancestorParent)Constructs an AncestorEvent object to identify a change in an ancestor-component's display-status. | |
| Uses of Container in javax.swing.plaf.basic | 
|---|
| Subclasses of Container in javax.swing.plaf.basic | |
|---|---|
|  class | BasicArrowButtonJButton object that draws a scaled Arrow in one of the cardinal directions. | 
|  class | BasicComboBoxRendererComboBox renderer | 
| static class | BasicComboBoxRenderer.UIResourceA subclass of BasicComboBoxRenderer that implements UIResource. | 
|  class | BasicComboPopupThis is a basic implementation of the ComboPopupinterface. | 
|  class | BasicInternalFrameTitlePaneThe class that manages a basic title bar | 
|  class | BasicInternalFrameTitlePane.SystemMenuBarThis class should be treated as a "protected" inner class. | 
|  class | BasicSplitPaneDividerDivider used by BasicSplitPaneUI. | 
| protected  class | BasicToolBarUI.DragWindow | 
| Methods in javax.swing.plaf.basic that return Container | |
|---|---|
| protected  Container | BasicOptionPaneUI.createButtonArea()Creates and returns a Container containing the buttons. | 
| protected  Container | BasicOptionPaneUI.createMessageArea()Messaged from installComponents to create a Container containing the body of the message. | 
| protected  Container | BasicOptionPaneUI.createSeparator() | 
| Methods in javax.swing.plaf.basic with parameters of type Container | |
|---|---|
| protected  void | BasicOptionPaneUI.addButtonComponents(Container container,
                    Object[] buttons,
                    int initialIndex)Creates the appropriate object to represent each of the objects in buttonsand adds it tocontainer. | 
| protected  void | BasicOptionPaneUI.addIcon(Container top)Creates and adds a JLabel representing the icon returned from getIcontotop. | 
| protected  void | BasicOptionPaneUI.addMessageComponents(Container container,
                     GridBagConstraints cons,
                     Object msg,
                     int maxll,
                     boolean internallyCreated)Creates the appropriate object to represent msgand
 places it intocontainer. | 
| protected  void | BasicOptionPaneUI.burstStringInto(Container c,
                String d,
                int maxll)Recursively creates new JLabel instances to represent d. | 
|  float | BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentX(Container target)Returns the alignment along the x axis. | 
|  float | BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentY(Container target)Returns the alignment along the y axis. | 
|  void | BasicSplitPaneUI.BasicHorizontalLayoutManager.invalidateLayout(Container c)Does nothing. | 
|  void | BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer(Container parent) | 
|  void | BasicScrollBarUI.layoutContainer(Container scrollbarContainer) | 
|  void | BasicOptionPaneUI.ButtonAreaLayout.layoutContainer(Container container) | 
|  void | BasicInternalFrameTitlePane.TitlePaneLayout.layoutContainer(Container c) | 
|  void | BasicInternalFrameUI.InternalFrameLayout.layoutContainer(Container c) | 
|  void | BasicSplitPaneUI.BasicHorizontalLayoutManager.layoutContainer(Container container)Does the actual layout. | 
|  void | BasicComboBoxUI.ComboBoxLayoutManager.layoutContainer(Container parent) | 
|  void | BasicSplitPaneDivider.DividerLayout.layoutContainer(Container c) | 
|  Dimension | BasicSplitPaneUI.BasicHorizontalLayoutManager.maximumLayoutSize(Container target)Returns the maximum layout size, which is Integer.MAX_VALUE in both directions. | 
|  Dimension | BasicTabbedPaneUI.TabbedPaneLayout.minimumLayoutSize(Container parent) | 
|  Dimension | BasicScrollBarUI.minimumLayoutSize(Container scrollbarContainer) | 
|  Dimension | BasicOptionPaneUI.ButtonAreaLayout.minimumLayoutSize(Container c) | 
|  Dimension | BasicInternalFrameTitlePane.TitlePaneLayout.minimumLayoutSize(Container c) | 
|  Dimension | BasicInternalFrameUI.InternalFrameLayout.minimumLayoutSize(Container c) | 
|  Dimension | BasicSplitPaneUI.BasicHorizontalLayoutManager.minimumLayoutSize(Container container)Returns the minimum size needed to contain the children. | 
|  Dimension | BasicComboBoxUI.ComboBoxLayoutManager.minimumLayoutSize(Container parent) | 
|  Dimension | BasicSplitPaneDivider.DividerLayout.minimumLayoutSize(Container c) | 
|  Dimension | BasicTabbedPaneUI.TabbedPaneLayout.preferredLayoutSize(Container parent) | 
|  Dimension | BasicScrollBarUI.preferredLayoutSize(Container scrollbarContainer) | 
|  Dimension | BasicOptionPaneUI.ButtonAreaLayout.preferredLayoutSize(Container c) | 
|  Dimension | BasicInternalFrameTitlePane.TitlePaneLayout.preferredLayoutSize(Container c) | 
|  Dimension | BasicInternalFrameUI.InternalFrameLayout.preferredLayoutSize(Container c) | 
|  Dimension | BasicSplitPaneUI.BasicHorizontalLayoutManager.preferredLayoutSize(Container container)Returns the preferred size needed to contain the children. | 
|  Dimension | BasicComboBoxUI.ComboBoxLayoutManager.preferredLayoutSize(Container parent) | 
|  Dimension | DefaultMenuLayout.preferredLayoutSize(Container target) | 
|  Dimension | BasicSplitPaneDivider.DividerLayout.preferredLayoutSize(Container c) | 
| Constructors in javax.swing.plaf.basic with parameters of type Container | |
|---|---|
| DefaultMenuLayout(Container target,
                  int axis) | |
| Uses of Container in javax.swing.plaf.metal | 
|---|
| Subclasses of Container in javax.swing.plaf.metal | |
|---|---|
|  class | MetalComboBoxButtonJButton subclass to help out MetalComboBoxUI | 
|  class | MetalComboBoxUI.MetalComboPopupDeprecated. As of Java 2 platform v1.4. | 
| protected  class | MetalFileChooserUI.FileRenderer | 
|  class | MetalFileChooserUI.FilterComboBoxRendererRender different type sizes and styles. | 
|  class | MetalInternalFrameTitlePaneClass that manages a JLF title bar | 
|  class | MetalScrollButtonJButton object for Metal scrollbar arrows. | 
| Methods in javax.swing.plaf.metal with parameters of type Container | |
|---|---|
|  void | MetalComboBoxUI.layoutComboBox(Container parent,
               MetalComboBoxUI.MetalComboBoxLayoutManager manager) | 
|  void | MetalComboBoxUI.MetalComboBoxLayoutManager.layoutContainer(Container parent) | 
|  void | MetalComboBoxUI.MetalComboBoxLayoutManager.superLayout(Container parent) | 
| Uses of Container in javax.swing.table | 
|---|
| Subclasses of Container in javax.swing.table | |
|---|---|
|  class | DefaultTableCellRendererThe standard class for rendering (displaying) individual cells in a JTable. | 
| static class | DefaultTableCellRenderer.UIResourceA subclass of DefaultTableCellRendererthat
 implementsUIResource. | 
|  class | JTableHeaderThis is the object which manages the header of the JTable. | 
| Uses of Container in javax.swing.text | 
|---|
| Subclasses of Container in javax.swing.text | |
|---|---|
|  class | JTextComponentJTextComponentis the base class for swing text 
 components. | 
| Methods in javax.swing.text that return Container | |
|---|---|
|  Container | View.getContainer()Fetches the container hosting the view. | 
| Uses of Container in javax.swing.tree | 
|---|
| Subclasses of Container in javax.swing.tree | |
|---|---|
|  class | DefaultTreeCellEditor.DefaultTextFieldTextFieldused when no editor is supplied. | 
|  class | DefaultTreeCellEditor.EditorContainerContainer responsible for placing the editingComponent. | 
|  class | DefaultTreeCellRendererDisplays an entry in a tree. | 
| Fields in javax.swing.tree declared as Container | |
|---|---|
| protected  Container | DefaultTreeCellEditor.editingContainerEditing container, will contain the editorComponent. | 
| Methods in javax.swing.tree that return Container | |
|---|---|
| protected  Container | DefaultTreeCellEditor.createContainer()Creates the container to manage placement of editingComponent. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.