|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Container | |
com.sun.java.swing | Provides a set of "lightweight" (all-Java |
com.sun.java.swing.event | Provides for events fired by Swing components. |
com.sun.java.swing.table | Provides classes and interfaces for dealing with java.awt.swing. |
com.sun.java.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
com.sun.java.swing.tree | Provides classes and interfaces for dealing with java.awt.swing. |
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. |
Uses of Container in com.sun.java.swing |
Subclasses of Container in com.sun.java.swing | |
AbstractButton
Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes. |
|
Box
A lightweight container that uses a BoxLayout object as its layout manager. |
|
CellRendererPane
This class is inserted in between cell renderers and the components that use them. |
|
DefaultListCellRenderer
Renders an item in a list. |
|
static | DefaultListCellRenderer.UIResource
A subclass of DefaultListCellRenderer that implements UIResource. |
JApplet
An extended version of java.applet. |
|
JButton
An implementation of a "push" button. |
|
JCheckBox
An implementation of a CheckBox -- an item that can be selected or deselected, and which displays its state to the user. |
|
JCheckBoxMenuItem
A menu item that can be selected or deselected. |
|
JColorChooser
JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color. |
|
JComboBox
Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it. |
|
JComponent
The base class for the Swing components. |
|
JDesktopPane
A container used to create a multiple-document interface or a virtual desktop. |
|
JDialog
The main class for creating a dialog window. |
|
JEditorPane
A text pane to edit various kinds of content, such as html and rtf. |
|
JFileChooser
JFileChooser provides a simple mechanism for the user to chooser a file. |
|
JFrame
An extended version of java.awt. |
|
JInternalFrame
A 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 | JInternalFrame.JDesktopIcon
This component represents an iconified version of a JInternalFrame. |
JLabel
A display area for a short text string or an image, or both. |
|
JLayeredPane
JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed. |
|
JList
A component that allows the user to select one or more objects from a list. |
|
JMenu
An implementation of a menu -- a popup window containing JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
|
JMenuBar
An implementation of a MenuBar. |
|
JMenuItem
An implementation of a MenuItem. |
|
JOptionPane
JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something. |
|
JPanel
JPanel is a generic lightweight container. |
|
JPasswordField
JPasswordField is 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. |
|
JPopupMenu
An implementation of a Popup Menu -- a small window which pops up and displays a series of choices. |
|
static | JPopupMenu.Separator
A popupmenu-specific separator. |
JProgressBar
A component that displays an integer value within a bounded interval. |
|
JRadioButton
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. |
|
JRadioButtonMenuItem
An implementation of a RadioButtonMenuItem. |
|
JRootPane
The fundamental component in the container hierarchy. |
|
JScrollBar
An implementation of a scrollbar. |
|
JScrollPane
A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports. |
|
protected | JScrollPane.ScrollBar
By default JScrollPane creates scrollbars that are instances of this class. |
JSeparator
An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings. |
|
JSlider
A component that lets the user graphically select a value by slding a knob within a bounded interval. |
|
JSplitPane
JSplitPane is used to divide two (and only two) Components. |
|
JTabbedPane
A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon. |
|
JTable
JTable is a user-interface component that presents data in a two-dimensional table format. |
|
JTextArea
A TextArea is a multi-line area that displays plain text. |
|
JTextField
JTextField is a lightweight component that allows the editing of a single line of text. |
|
JTextPane
A text component that can be marked up with attributes that are represented graphically. |
|
JToggleButton
An implementation of a two-state button. |
|
JToolBar
JToolBar provides a component which is useful for displaying commonly used Actions or controls. |
|
static | JToolBar.Separator
A toolbar-specific separator. |
JToolTip
Used to display a "Tip" for a Component. |
|
JTree
A control that displays a set of hierarchical data as an outline. |
|
JViewport
The "viewport" or "porthole" through which you see the underlying information. |
|
JWindow
A JWindow is a container that can be displayed anywhere on the user's desktop. |
Fields in com.sun.java.swing declared as Container | |
protected Container | JRootPane.contentPane
The content pane. |
Methods in com.sun.java.swing that return Container | |
Container | JComponent.getTopLevelAncestor()
Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container. |
Container | JFrame.getContentPane()
Returns the contentPane object for this frame. |
static Container | SwingUtilities.getAncestorOfClass(Class c,
Component comp)
Convience method for searching above comp in the
component hierarchy and returns the first object of class c it
finds. |
static Container | SwingUtilities.getAncestorNamed(String name,
Component comp)
Convience method for searching above comp in the
component hierarchy and returns the first object of name it
finds. |
Container | JWindow.getContentPane()
Returns the contentPane object for this window. |
Container | JDialog.getContentPane()
Returns the contentPane object for this dialog. |
Container | JInternalFrame.getContentPane()
|
Container | JApplet.getContentPane()
Returns the contentPane object for this applet. |
Container | RootPaneContainer.getContentPane()
Returns the contentPane. |
protected Container | JRootPane.createContentPane()
Called by the constructor methods to create the default contentPane. |
Container | JRootPane.getContentPane()
Returns the content pane -- the container that holds the components parented by the root pane. |
Methods in com.sun.java.swing with parameters of type Container | |
void | JFrame.setContentPane(Container contentPane)
Sets the contentPane property. |
static void | SwingUtilities.paintComponent(Graphics g,
Component c,
Container p,
int x,
int y,
int w,
int h)
Paint a component c on an abitrary graphics g in the specified rectangle. |
static void | SwingUtilities.paintComponent(Graphics g,
Component c,
Container p,
Rectangle r)
|
void | JWindow.setContentPane(Container contentPane)
Sets the contentPane property. |
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,
int x,
int y,
int w,
int h)
Calls this.paintComponent(g, c, p, x, y, w, h, false). |
void | CellRendererPane.paintComponent(Graphics g,
Component c,
Container p,
Rectangle r)
Calls this.paintComponent() with the rectangles x,y,width,height fields. |
void | JDialog.setContentPane(Container contentPane)
Sets the contentPane property. |
void | JInternalFrame.setContentPane(Container c)
Sets this JInternalFrame's content pane. |
Dimension | ViewportLayout.preferredLayoutSize(Container parent)
Returns the preferred dimensions for this layout given the components 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. |
void | ViewportLayout.layoutContainer(Container parent)
Called by the AWT when the specified container needs to be laid out. |
void | JApplet.setContentPane(Container contentPane)
Sets the contentPane property. |
void | RootPaneContainer.setContentPane(Container contentPane)
The "contentPane" is the primary container for application specific components. |
void | BoxLayout.invalidateLayout(Container target)
Indicates that a child has changed its layout related information, and thus any cached calculations should be flushed. |
Dimension | BoxLayout.preferredLayoutSize(Container target)
Returns the preferred dimensions for this layout, given the components in the specified target container. |
Dimension | BoxLayout.minimumLayoutSize(Container target)
Returns the minimum dimensions needed to lay out the components contained in the specified target container. |
Dimension | BoxLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions the target container can use to lay out the components it contains. |
float | BoxLayout.getLayoutAlignmentX(Container target)
Returns the alignment along the X axis for the container. |
float | BoxLayout.getLayoutAlignmentY(Container target)
Returns the alignment along the Y axis for the container. |
void | BoxLayout.layoutContainer(Container target)
Called by the AWT |
void | JRootPane.setContentPane(Container content)
Sets the content pane -- the container that holds the components parented by the root pane. |
Dimension | JRootPane.RootLayout.preferredLayoutSize(Container parent)
Returns the amount of space the layout would like to have. |
Dimension | JRootPane.RootLayout.minimumLayoutSize(Container parent)
Returns the minimum amount of space the layout needs. |
Dimension | JRootPane.RootLayout.maximumLayoutSize(Container target)
Returns the maximum amount of space the layout can use. |
void | JRootPane.RootLayout.layoutContainer(Container parent)
Instructs the layout manager to perform the layout for the specified container. |
float | JRootPane.RootLayout.getLayoutAlignmentX(Container target)
|
float | JRootPane.RootLayout.getLayoutAlignmentY(Container target)
|
void | JRootPane.RootLayout.invalidateLayout(Container target)
|
Component | DefaultFocusManager.getFirstComponent(Container aContainer)
Return the first component that should receive the focus |
Component | DefaultFocusManager.getLastComponent(Container aContainer)
Return the last component that should receive the focus |
Component | DefaultFocusManager.getComponentBefore(Container aContainer,
Component aComponent)
Return the component that should receive the focus before aComponent |
Component | DefaultFocusManager.getComponentAfter(Container aContainer,
Component aComponent)
Return the component the should receive the focus after aComponent |
Dimension | ScrollPaneLayout.preferredLayoutSize(Container parent)
The preferred size of a ScrollPane is 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 | ScrollPaneLayout.minimumLayoutSize(Container parent)
The minimum size of a ScrollPane is 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. |
void | ScrollPaneLayout.layoutContainer(Container parent)
Layout the scrollpane. |
void | OverlayLayout.invalidateLayout(Container target)
Indicates a child has changed its layout related information, which causes any cached calculations to be flushed. |
Dimension | OverlayLayout.preferredLayoutSize(Container target)
Returns the preferred dimensions for this layout given the components in the specified target container. |
Dimension | OverlayLayout.minimumLayoutSize(Container target)
Returns the minimum dimensions needed to lay out the components contained in the specified target container. |
Dimension | OverlayLayout.maximumLayoutSize(Container target)
Returns the minimum dimensions needed to lay out the components contained in the specified target container. |
float | OverlayLayout.getLayoutAlignmentX(Container target)
Returns the alignment along the x axis for the container. |
float | OverlayLayout.getLayoutAlignmentY(Container target)
Returns the alignment along the y axis for the container. |
void | OverlayLayout.layoutContainer(Container target)
Called by the AWT when the specified container needs to be laid out. |
Constructors in com.sun.java.swing with parameters of type Container | |
BoxLayout.BoxLayout(Container target,
int axis)
Creates a layout manager that will lay out components either left to right or top to bottom, as specified in the axis parameter. |
|
OverlayLayout.OverlayLayout(Container target)
Constructs a layout manager that performs overlay arrangment of the children. |
Uses of Container in com.sun.java.swing.event |
Methods in com.sun.java.swing.event that return Container | |
Container | AncestorEvent.getAncestor()
Returns the ancestor that the event actually occured on. |
Container | AncestorEvent.getAncestorParent()
Returns the parent of the ancestor the event actually occured on. |
Constructors in com.sun.java.swing.event with parameters of type Container | |
AncestorEvent.AncestorEvent(JComponent source,
int id,
Container ancestor,
Container ancestorParent)
|
Uses of Container in com.sun.java.swing.table |
Subclasses of Container in com.sun.java.swing.table | |
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells in a JTable. |
|
static | DefaultTableCellRenderer.UIResource
A subclass of DefaultTableCellRenderer that implements UIResource. |
JTableHeader
This is the column header part of a JTable. |
Uses of Container in com.sun.java.swing.text |
Subclasses of Container in com.sun.java.swing.text | |
JTextComponent
JTextComponent is the base class for swing text components. |
Methods in com.sun.java.swing.text that return Container | |
Container | View.getContainer()
Fetches the container hosting the view. |
Uses of Container in com.sun.java.swing.tree |
Subclasses of Container in com.sun.java.swing.tree | |
DefaultTreeCellEditor.DefaultTextField
TextField used when no editor is supplied. |
|
DefaultTreeCellEditor.EditorContainer
Container responsible for placing the editingComponent. |
|
DefaultTreeCellRenderer
Displays an entry in a tree. |
Fields in com.sun.java.swing.tree declared as Container | |
protected Container | DefaultTreeCellEditor.editingContainer
Editing container, will contain the editorComponent. |
Methods in com.sun.java.swing.tree that return Container | |
protected Container | DefaultTreeCellEditor.createContainer()
Creates the container to manage placement of editingComponent. |
Uses of Container in java.applet |
Subclasses of Container in java.applet | |
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 | |
Dialog
A class that produces a dialog - a window that takes input from the user. |
|
FileDialog
The FileDialog class displays a dialog window
from which the user can select a file.
|
|
Frame
A Frame is a top-level window with a title and a border. |
|
Panel
Panel is the simplest container class. |
|
ScrollPane
A container class which implements automatic horizontal and/or vertical scrolling for a single child component. |
|
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. |
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). |
Methods in java.awt with parameters of type 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 | 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 | 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 | 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 | 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 java.awt.GridBagLayoutInfo | GridBagLayout.GetLayoutInfo(Container parent,
int sizeflag)
Print the layout constraints. |
protected Dimension | GridBagLayout.GetMinSize(Container parent,
java.awt.GridBagLayoutInfo info)
|
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 | 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 java.beans.beancontext |
Methods in java.beans.beancontext that return Container | |
Container | BeanContextContainer.getContextContainer()
|
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |