Uses of Class
java.awt.Container
Packages that use Container
Package
Description
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides classes and interfaces relating to bean context.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Contains classes and interfaces used by the
JColorChooser component.Provides for events fired by Swing components.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with
javax.swing.JTable.Provides classes and interfaces that deal with editable and noneditable text
components.
Provides classes and interfaces for dealing with
javax.swing.JTree.-
Uses of Container in java.applet
Subclasses of Container in java.appletModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement. -
Uses of Container in java.awt
Modifier and TypeClassDescriptionclassA 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.classTheFileDialogclass displays a dialog window from which the user can select a file.classAFrameis a top-level window with a title and a border.classPanelis the simplest container class.classA container class which implements automatic horizontal and/or vertical scrolling for a single child component.classAWindowobject is a top-level window with no borders and no menubar.Modifier and TypeMethodDescriptionKeyboardFocusManager.getCurrentFocusCycleRoot()Returns the current focus cycle root, if the current focus cycle root is in the same context as the calling thread.Component.getFocusCycleRootAncestor()Returns the Container which is the focus cycle root of this Component's focus traversal cycle.final ContainerWindow.getFocusCycleRootAncestor()Always returnsnullbecause Windows have no ancestors; they represent the top of the Component hierarchy.protected ContainerKeyboardFocusManager.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 ContainerToolkit.getNativeContainer(Component c) Give native peers the ability to query the native container given a native component (eg the direct parent may be lightweight).Component.getParent()Gets the parent of this component.Modifier and TypeMethodDescriptionprotected voidGridBagLayout.arrangeGrid(Container parent) Lays out the grid.protected voidGridBagLayout.ArrangeGrid(Container parent) This method is obsolete and supplied for backwards compatibility only; new code should callarrangeGridinstead.voidDefaultKeyboardFocusManager.downFocusCycle(Container aContainer) Moves the focus down one focus traversal cycle.abstract voidKeyboardFocusManager.downFocusCycle(Container aContainer) Moves the focus down one focus traversal cycle.voidFlips to the first card of the container.ContainerOrderFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent) Returns the Component that should receive the focus after aComponent.abstract ComponentFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent) Returns the Component that should receive the focus after aComponent.ContainerOrderFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent) Returns the Component that should receive the focus before aComponent.abstract ComponentFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent) Returns the Component that should receive the focus before aComponent.ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container aContainer) Returns the default Component to focus.abstract ComponentFocusTraversalPolicy.getDefaultComponent(Container aContainer) Returns the default Component to focus.ContainerOrderFocusTraversalPolicy.getFirstComponent(Container aContainer) Returns the first Component in the traversal cycle.abstract ComponentFocusTraversalPolicy.getFirstComponent(Container aContainer) Returns the first Component in the traversal cycle.ContainerOrderFocusTraversalPolicy.getLastComponent(Container aContainer) Returns the last Component in the traversal cycle.abstract ComponentFocusTraversalPolicy.getLastComponent(Container aContainer) Returns the last Component in the traversal cycle.floatBorderLayout.getLayoutAlignmentX(Container parent) Returns the alignment along the x axis.floatCardLayout.getLayoutAlignmentX(Container parent) Returns the alignment along the x axis.floatGridBagLayout.getLayoutAlignmentX(Container parent) Returns the alignment along the x axis.floatLayoutManager2.getLayoutAlignmentX(Container target) Returns the alignment along the x axis.floatBorderLayout.getLayoutAlignmentY(Container parent) Returns the alignment along the y axis.floatCardLayout.getLayoutAlignmentY(Container parent) Returns the alignment along the y axis.floatGridBagLayout.getLayoutAlignmentY(Container parent) Returns the alignment along the y axis.floatLayoutManager2.getLayoutAlignmentY(Container target) Returns the alignment along the y axis.BorderLayout.getLayoutComponent(Container target, Object constraints) Returns the component that corresponds to the given constraint location based on the targetContainer's component orientation.protected GridBagLayoutInfoGridBagLayout.getLayoutInfo(Container parent, int sizeflag) Fills in an instance ofGridBagLayoutInfofor the current set of managed children.protected GridBagLayoutInfoGridBagLayout.GetLayoutInfo(Container parent, int sizeflag) This method is obsolete and supplied for backwards compatibility only; new code should callgetLayoutInfoinstead.protected DimensionGridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info) Figures out the minimum size of the parent based on the information fromgetLayoutInfo.protected DimensionGridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info) This method is obsolete and supplied for backwards compatibility only; new code should callgetMinSizeinstead.voidBorderLayout.invalidateLayout(Container target) Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.voidCardLayout.invalidateLayout(Container target) Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.voidGridBagLayout.invalidateLayout(Container target) Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.voidLayoutManager2.invalidateLayout(Container target) Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.booleanComponent.isFocusCycleRoot(Container container) Returns whether the specified Container is the focus cycle root of this Component's focus traversal cycle.booleanContainer.isFocusCycleRoot(Container container) Returns whether the specified Container is the focus cycle root of this Container's focus traversal cycle.voidFlips to the last card of the container.voidBorderLayout.layoutContainer(Container target) Lays out the container argument using this border layout.voidCardLayout.layoutContainer(Container parent) Lays out the specified container using this card layout.voidFlowLayout.layoutContainer(Container target) Lays out the container.voidGridBagLayout.layoutContainer(Container parent) Lays out the specified container using this grid bag layout.voidGridLayout.layoutContainer(Container parent) Lays out the specified container using this layout.voidLayoutManager.layoutContainer(Container parent) Lays out the specified container.BorderLayout.maximumLayoutSize(Container target) Returns the maximum dimensions for this layout given the components in the specified target container.CardLayout.maximumLayoutSize(Container target) Returns the maximum dimensions for this layout given the components in the specified target container.GridBagLayout.maximumLayoutSize(Container target) Returns the maximum dimensions for this layout given the components in the specified target container.LayoutManager2.maximumLayoutSize(Container target) Calculates the maximum size dimensions for the specified container, given the components it contains.BorderLayout.minimumLayoutSize(Container target) Determines the minimum size of thetargetcontainer using this layout manager.CardLayout.minimumLayoutSize(Container parent) Calculates the minimum size for the specified panel.FlowLayout.minimumLayoutSize(Container target) Returns the minimum dimensions needed to layout the visible components contained in the specified target container.GridBagLayout.minimumLayoutSize(Container parent) Determines the minimum size of theparentcontainer using this grid bag layout.GridLayout.minimumLayoutSize(Container parent) Determines the minimum size of the container argument using this grid layout.LayoutManager.minimumLayoutSize(Container parent) Calculates the minimum size dimensions for the specified container, given the components it contains.voidFlips to the next card of the specified container.BorderLayout.preferredLayoutSize(Container target) Determines the preferred size of thetargetcontainer using this layout manager, based on the components in the container.CardLayout.preferredLayoutSize(Container parent) Determines the preferred size of the container argument using this card layout.FlowLayout.preferredLayoutSize(Container target) Returns the preferred dimensions for this layout given the visible components in the specified target container.GridBagLayout.preferredLayoutSize(Container parent) Determines the preferred size of theparentcontainer using this grid bag layout.GridLayout.preferredLayoutSize(Container parent) Determines the preferred size of the container argument using this grid layout.LayoutManager.preferredLayoutSize(Container parent) Calculates the preferred size dimensions for the specified container, given the components it contains.voidFlips to the previous card of the specified container.voidKeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot) Sets the current focus cycle root.voidFlips to the component that was added to this layout with the specifiedname, usingaddLayoutComponent. -
Uses of Container in java.awt.event
Methods in java.awt.event that return ContainerModifier and TypeMethodDescriptionHierarchyEvent.getChangedParent()Returns the parent of the Component returned bygetChanged().ContainerEvent.getContainer()Returns the originator of the event.Constructors in java.awt.event with parameters of type ContainerModifierConstructorDescriptionHierarchyEvent(Component source, int id, Component changed, Container changedParent) Constructs anHierarchyEventobject to identify a change in theComponenthierarchy.HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags) Constructs anHierarchyEventobject to identify a change in theComponenthierarchy. -
Uses of Container in java.beans.beancontext
Methods in java.beans.beancontext that return ContainerModifier and TypeMethodDescriptionBeanContextContainerProxy.getContainer()Deprecated, for removal: This API element is subject to removal in a future version.Gets thejava.awt.Containerassociated with thisBeanContext. -
Uses of Container in javax.swing
Subclasses of Container in javax.swingModifier and TypeClassDescriptionclassDefines common behaviors for buttons and menu items.classA lightweight container that uses a BoxLayout object as its layout manager.static classAn implementation of a lightweight component that participates in layout but has no view.classThis class is inserted in between cell renderers and the components that use them.classRenders an item in a list.static classA subclass of DefaultListCellRenderer that implements UIResource.classDeprecated, for removal: This API element is subject to removal in a future version.The Applet API is deprecated, no replacement.classAn implementation of a "push" button.classAn implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.classA menu item that can be selected or deselected.classJColorChooserprovides a pane of controls designed to allow a user to manipulate and select a color.classJComboBox<E>A component that combines a button or editable field and a drop-down list.classThe base class for all Swing components except top-level containers.classA container used to create a multiple-document interface or a virtual desktop.classThe main class for creating a dialog window.classA text component to edit various kinds of content.classJFileChooserprovides a simple mechanism for the user to choose a file.classJFormattedTextFieldextendsJTextFieldadding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.classAn extended version ofjava.awt.Framethat adds support for the JFC/Swing component architecture.classA 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 classThis component represents an iconified version of aJInternalFrame.classA display area for a short text string or an image, or both.final classJLayeris a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of allAWTEvents generated within its borders.classJLayeredPaneadds depth to a JFC/Swing container, allowing components to overlap each other when needed.classJList<E>A component that displays a list of objects and allows the user to select one or more items.classAn implementation of a menu -- a popup window containingJMenuItems that is displayed when the user selects an item on theJMenuBar.classAn implementation of a menu bar.classAn implementation of an item in a menu.classJOptionPanemakes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.classJPanelis a generic lightweight container.classJPasswordFieldis 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.classAn implementation of a popup menu -- a small window that pops up and displays a series of choices.static classA popup menu-specific separator.classA component that visually displays the progress of some task.classAn implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.classAn implementation of a radio button menu item.classA lightweight container used behind the scenes byJFrame,JDialog,JWindow,JApplet, andJInternalFrame.classAn implementation of a scrollbar.classProvides a scrollable view of a lightweight component.protected classBy defaultJScrollPanecreates scrollbars that are instances of this class.classJSeparatorprovides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.classA component that lets the user graphically select a value by sliding a knob within a bounded interval.classA single line input field that lets the user select a number or an object value from an ordered sequence.static classAn editor for aJSpinnerwhose model is aSpinnerDateModel.static classA simple base class for more specialized editors that displays a read-only view of the model's current value with aJFormattedTextField.static classAn editor for aJSpinnerwhose model is aSpinnerListModel.static classAn editor for aJSpinnerwhose model is aSpinnerNumberModel.classJSplitPaneis used to divide two (and only two)Components.classA component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.classTheJTableis used to display and edit regular two-dimensional tables of cells.classAJTextAreais a multi-line area that displays plain text.classJTextFieldis a lightweight component that allows the editing of a single line of text.classA text component that can be marked up with attributes that are represented graphically.classAn implementation of a two-state button.classJToolBarprovides a component that is useful for displaying commonly usedActions or controls.static classA toolbar-specific separator.classUsed to display a "Tip" for a Component.classA control that displays a set of hierarchical data as an outline.classThe "viewport" or "porthole" through which you see the underlying information.classAJWindowis a container that can be displayed anywhere on the user's desktop.Fields in javax.swing declared as ContainerMethods in javax.swing that return ContainerModifier and TypeMethodDescriptionprotected ContainerJRootPane.createContentPane()Called by the constructor methods to create the defaultcontentPane.static ContainerSwingUtilities.getAncestorNamed(String name, Component comp) Convenience method for searching abovecompin the component hierarchy and returns the first object ofnameit finds.static ContainerSwingUtilities.getAncestorOfClass(Class<?> c, Component comp) Convenience method for searching abovecompin the component hierarchy and returns the first object of classcit finds.JApplet.getContentPane()Deprecated, for removal: This API element is subject to removal in a future version.Returns the contentPane object for this applet.JDialog.getContentPane()Returns thecontentPaneobject for this dialog.JFrame.getContentPane()Returns thecontentPaneobject for this frame.JInternalFrame.getContentPane()Returns the content pane for this internal frame.JRootPane.getContentPane()Returns the content pane -- the container that holds the components parented by the root pane.JWindow.getContentPane()Returns theContainerwhich is thecontentPanefor this window.RootPaneContainer.getContentPane()Returns the contentPane.final ContainerJInternalFrame.getFocusCycleRootAncestor()Always returnsnullbecauseJInternalFrames must always be roots of a focus traversal cycle.final ContainerBoxLayout.getTarget()Returns the container that uses this layout manager.final ContainerOverlayLayout.getTarget()Returns the container that uses this layout manager.JComponent.getTopLevelAncestor()Returns the top-level ancestor of this component (either the containingWindoworApplet), ornullif this component has not been added to any container.static ContainerSwingUtilities.getUnwrappedParent(Component component) Returns the first ancestor of thecomponentwhich is not an instance ofJLayer.Methods in javax.swing with parameters of type ContainerModifier and TypeMethodDescriptionDefaultFocusManager.getComponentAfter(Container aContainer, Component aComponent) Returns the component after.LayoutFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent) Returns the Component that should receive the focus after aComponent.SortingFocusTraversalPolicy.getComponentAfter(Container aContainer, Component aComponent) Returns the Component that should receive the focus after aComponent.DefaultFocusManager.getComponentBefore(Container aContainer, Component aComponent) Returns the component before.LayoutFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent) Returns the Component that should receive the focus before aComponent.SortingFocusTraversalPolicy.getComponentBefore(Container aContainer, Component aComponent) Returns the Component that should receive the focus before aComponent.abstract intLayoutStyle.getContainerGap(JComponent component, int position, Container parent) Returns the amount of space to place between the component and specified edge of its parent.SortingFocusTraversalPolicy.getDefaultComponent(Container aContainer) Returns the default Component to focus.DefaultFocusManager.getFirstComponent(Container aContainer) Returns the first component.LayoutFocusTraversalPolicy.getFirstComponent(Container aContainer) Returns the first Component in the traversal cycle.SortingFocusTraversalPolicy.getFirstComponent(Container aContainer) Returns the first Component in the traversal cycle.DefaultFocusManager.getLastComponent(Container aContainer) Returns the last component.LayoutFocusTraversalPolicy.getLastComponent(Container aContainer) Returns the last Component in the traversal cycle.SortingFocusTraversalPolicy.getLastComponent(Container aContainer) Returns the last Component in the traversal cycle.floatBoxLayout.getLayoutAlignmentX(Container target) Returns the alignment along the X axis for the container.floatGroupLayout.getLayoutAlignmentX(Container parent) Returns the alignment along the x axis.floatJRootPane.RootLayout.getLayoutAlignmentX(Container target) floatOverlayLayout.getLayoutAlignmentX(Container target) Returns the alignment along the x axis for the container.floatSpringLayout.getLayoutAlignmentX(Container p) Returns 0.5f (centered).floatBoxLayout.getLayoutAlignmentY(Container target) Returns the alignment along the Y axis for the container.floatGroupLayout.getLayoutAlignmentY(Container parent) Returns the alignment along the y axis.floatJRootPane.RootLayout.getLayoutAlignmentY(Container target) floatOverlayLayout.getLayoutAlignmentY(Container target) Returns the alignment along the y axis for the container.floatSpringLayout.getLayoutAlignmentY(Container p) Returns 0.5f (centered).abstract intLayoutStyle.getPreferredGap(JComponent component1, JComponent component2, LayoutStyle.ComponentPlacement type, int position, Container parent) Returns the amount of space to use between two components.voidBoxLayout.invalidateLayout(Container target) Indicates that a child has changed its layout related information, and thus any cached calculations should be flushed.voidGroupLayout.invalidateLayout(Container parent) Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.voidJRootPane.RootLayout.invalidateLayout(Container target) voidOverlayLayout.invalidateLayout(Container target) Indicates a child has changed its layout related information, which causes any cached calculations to be flushed.voidSpringLayout.invalidateLayout(Container p) voidBoxLayout.layoutContainer(Container target) Called by the AWT when the specified container needs to be laid out.voidGroupLayout.layoutContainer(Container parent) Lays out the specified container.voidJRootPane.RootLayout.layoutContainer(Container parent) Instructs the layout manager to perform the layout for the specified container.voidJSpinner.DefaultEditor.layoutContainer(Container parent) Resize the one (and only) child to completely fill the area within the parents insets.voidOverlayLayout.layoutContainer(Container target) Called by the AWT when the specified container needs to be laid out.voidScrollPaneLayout.layoutContainer(Container parent) Lays out the scrollpane.voidSpringLayout.layoutContainer(Container parent) voidViewportLayout.layoutContainer(Container parent) Called by the AWT when the specified container needs to be laid out.BoxLayout.maximumLayoutSize(Container target) Returns the maximum dimensions the target container can use to lay out the components it contains.GroupLayout.maximumLayoutSize(Container parent) Returns the maximum size for the specified container.JRootPane.RootLayout.maximumLayoutSize(Container target) Returns the maximum amount of space the layout can use.OverlayLayout.maximumLayoutSize(Container target) Returns the maximum dimensions needed to lay out the components contained in the specified target container.SpringLayout.maximumLayoutSize(Container parent) BoxLayout.minimumLayoutSize(Container target) Returns the minimum dimensions needed to lay out the components contained in the specified target container.GroupLayout.minimumLayoutSize(Container parent) Returns the minimum size for the specified container.JRootPane.RootLayout.minimumLayoutSize(Container parent) Returns the minimum amount of space the layout needs.JSpinner.DefaultEditor.minimumLayoutSize(Container parent) Returns the minimum size of first (and only) child plus the size of the parents insets.OverlayLayout.minimumLayoutSize(Container target) Returns the minimum dimensions needed to lay out the components contained in the specified target container.ScrollPaneLayout.minimumLayoutSize(Container parent) The minimum size of aScrollPaneis 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.SpringLayout.minimumLayoutSize(Container parent) ViewportLayout.minimumLayoutSize(Container parent) Returns the minimum dimensions needed to layout the components contained in the specified target container.voidCellRendererPane.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).voidCellRendererPane.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.voidCellRendererPane.paintComponent(Graphics g, Component c, Container p, Rectangle r) Calls this.paintComponent(g, c, p, r.x, r.y, r.width, r.height) whereris the inputRectangleparameter.static voidSwingUtilities.paintComponent(Graphics g, Component c, Container p, int x, int y, int w, int h) Paints a component to the specifiedGraphics.static voidSwingUtilities.paintComponent(Graphics g, Component c, Container p, Rectangle r) Paints a component to the specifiedGraphics.BoxLayout.preferredLayoutSize(Container target) Returns the preferred dimensions for this layout, given the components in the specified target container.GroupLayout.preferredLayoutSize(Container parent) Returns the preferred size for the specified container.JRootPane.RootLayout.preferredLayoutSize(Container parent) Returns the amount of space the layout would like to have.JSpinner.DefaultEditor.preferredLayoutSize(Container parent) Returns the preferred size of first (and only) child plus the size of the parents insets.OverlayLayout.preferredLayoutSize(Container target) Returns the preferred dimensions for this layout given the components in the specified target container.ScrollPaneLayout.preferredLayoutSize(Container parent) The preferred size of aScrollPaneis 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.SpringLayout.preferredLayoutSize(Container parent) ViewportLayout.preferredLayoutSize(Container parent) Returns the preferred dimensions for this layout given the components in the specified target container.voidJApplet.setContentPane(Container contentPane) Deprecated, for removal: This API element is subject to removal in a future version.Sets the contentPane property.voidJDialog.setContentPane(Container contentPane) Sets thecontentPaneproperty.voidJFrame.setContentPane(Container contentPane) Sets thecontentPaneproperty.voidJInternalFrame.setContentPane(Container c) Sets thisJInternalFrame'scontentPaneproperty.voidJRootPane.setContentPane(Container content) Sets the content pane -- the container that holds the components parented by the root pane.voidJWindow.setContentPane(Container contentPane) Sets thecontentPaneproperty for this window.voidRootPaneContainer.setContentPane(Container contentPane) The "contentPane" is the primary container for application specific components.Constructors in javax.swing with parameters of type ContainerModifierConstructorDescriptionCreates a layout manager that will lay out components along the given axis.GroupLayout(Container host) Creates aGroupLayoutfor 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.colorchooserModifier and TypeClassDescriptionclassThis is the abstract superclass for color choosers. -
Uses of Container in javax.swing.event
Methods in javax.swing.event that return ContainerModifier and TypeMethodDescriptionAncestorEvent.getAncestor()Returns the ancestor that the event actually occurred on.AncestorEvent.getAncestorParent()Returns the parent of the ancestor the event actually occurred on.Constructors in javax.swing.event with parameters of type ContainerModifierConstructorDescriptionAncestorEvent(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.basicModifier and TypeClassDescriptionclassJButton object that draws a scaled Arrow in one of the cardinal directions.classComboBox rendererstatic classA subclass of BasicComboBoxRenderer that implements UIResource.classThis is a basic implementation of theComboPopupinterface.classThe class that manages a basic title barclassThis class should be treated as a "protected" inner class.classDivider used by BasicSplitPaneUI.protected classThe window which appears during dragging theJToolBar.Methods in javax.swing.plaf.basic that return ContainerModifier and TypeMethodDescriptionprotected ContainerBasicOptionPaneUI.createButtonArea()Creates and returns aContainercontaining the buttons.protected ContainerBasicOptionPaneUI.createMessageArea()Messaged frominstallComponentsto create aContainercontaining the body of the message.protected ContainerBasicOptionPaneUI.createSeparator()Returns a separator.Methods in javax.swing.plaf.basic with parameters of type ContainerModifier and TypeMethodDescriptionprotected voidBasicOptionPaneUI.addButtonComponents(Container container, Object[] buttons, int initialIndex) Creates the appropriate object to represent each of the objects inbuttonsand adds it tocontainer.protected voidCreates and adds a JLabel representing the icon returned fromgetIcontotop.protected voidBasicOptionPaneUI.addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) Creates the appropriate object to representmsgand places it intocontainer.protected voidBasicOptionPaneUI.burstStringInto(Container c, String d, int maxll) Recursively creates newJLabelinstances to representd.floatBasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentX(Container target) Returns the alignment along the x axis.floatBasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentY(Container target) Returns the alignment along the y axis.voidBasicSplitPaneUI.BasicHorizontalLayoutManager.invalidateLayout(Container c) Does nothing.voidBasicComboBoxUI.ComboBoxLayoutManager.layoutContainer(Container parent) voidBasicInternalFrameTitlePane.TitlePaneLayout.layoutContainer(Container c) voidBasicInternalFrameUI.InternalFrameLayout.layoutContainer(Container c) Lays out the specified container.voidBasicOptionPaneUI.ButtonAreaLayout.layoutContainer(Container container) voidBasicScrollBarUI.layoutContainer(Container scrollbarContainer) voidBasicSplitPaneDivider.DividerLayout.layoutContainer(Container c) voidBasicSplitPaneUI.BasicHorizontalLayoutManager.layoutContainer(Container container) Does the actual layout.voidBasicTabbedPaneUI.TabbedPaneLayout.layoutContainer(Container parent) Lays out the specified container.BasicSplitPaneUI.BasicHorizontalLayoutManager.maximumLayoutSize(Container target) Returns the maximum layout size, which is Integer.MAX_VALUE in both directions.BasicComboBoxUI.ComboBoxLayoutManager.minimumLayoutSize(Container parent) BasicInternalFrameTitlePane.TitlePaneLayout.minimumLayoutSize(Container c) BasicInternalFrameUI.InternalFrameLayout.minimumLayoutSize(Container c) Calculates the minimum size dimensions for the specified container, given the components it contains.BasicOptionPaneUI.ButtonAreaLayout.minimumLayoutSize(Container c) BasicScrollBarUI.minimumLayoutSize(Container scrollbarContainer) BasicSplitPaneDivider.DividerLayout.minimumLayoutSize(Container c) BasicSplitPaneUI.BasicHorizontalLayoutManager.minimumLayoutSize(Container container) Returns the minimum size needed to contain the children.BasicTabbedPaneUI.TabbedPaneLayout.minimumLayoutSize(Container parent) BasicComboBoxUI.ComboBoxLayoutManager.preferredLayoutSize(Container parent) BasicInternalFrameTitlePane.TitlePaneLayout.preferredLayoutSize(Container c) BasicInternalFrameUI.InternalFrameLayout.preferredLayoutSize(Container c) Calculates the preferred size dimensions for the specified container, given the components it contains.BasicOptionPaneUI.ButtonAreaLayout.preferredLayoutSize(Container c) BasicScrollBarUI.preferredLayoutSize(Container scrollbarContainer) BasicSplitPaneDivider.DividerLayout.preferredLayoutSize(Container c) BasicSplitPaneUI.BasicHorizontalLayoutManager.preferredLayoutSize(Container container) Returns the preferred size needed to contain the children.BasicTabbedPaneUI.TabbedPaneLayout.preferredLayoutSize(Container parent) Constructors in javax.swing.plaf.basic with parameters of type ContainerModifierConstructorDescriptionDefaultMenuLayout(Container target, int axis) Constructs a new instance ofDefaultMenuLayout. -
Uses of Container in javax.swing.plaf.metal
Subclasses of Container in javax.swing.plaf.metalModifier and TypeClassDescriptionclassJButton subclass to help out MetalComboBoxUIclassDeprecated.As of Java 2 platform v1.4.protected classDeprecated.As of JDK version 9.classRender different type sizes and styles.classClass that manages a JLF title barclassJButton object for Metal scrollbar arrows.Methods in javax.swing.plaf.metal with parameters of type ContainerModifier and TypeMethodDescriptionvoidMetalComboBoxUI.layoutComboBox(Container parent, MetalComboBoxUI.MetalComboBoxLayoutManager manager) Lays out theJComboBoxin theparentcontainer.voidMetalComboBoxUI.MetalComboBoxLayoutManager.superLayout(Container parent) Lays out the parent container. -
Uses of Container in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth that return ContainerModifier and TypeMethodDescriptionprotected ContainerSynthOptionPaneUI.createMessageArea()Called fromBasicOptionPaneUI.installComponents()to create aContainercontaining the body of the message. -
Uses of Container in javax.swing.table
Subclasses of Container in javax.swing.tableModifier and TypeClassDescriptionclassThe standard class for rendering (displaying) individual cells in aJTable.static classA subclass ofDefaultTableCellRendererthat implementsUIResource.classThis is the object which manages the header of theJTable. -
Uses of Container in javax.swing.text
Subclasses of Container in javax.swing.textModifier and TypeClassDescriptionclassJTextComponentis the base class for swing text components.Methods in javax.swing.text that return Container -
Uses of Container in javax.swing.tree
Subclasses of Container in javax.swing.treeModifier and TypeClassDescriptionclassTextFieldused when no editor is supplied.classContainer responsible for placing theeditingComponent.classDisplays an entry in a tree.Fields in javax.swing.tree declared as ContainerModifier and TypeFieldDescriptionprotected ContainerDefaultTreeCellEditor.editingContainerEditing container, will contain theeditorComponent.Methods in javax.swing.tree that return ContainerModifier and TypeMethodDescriptionprotected ContainerDefaultTreeCellEditor.createContainer()Creates the container to manage placement ofeditingComponent.