| Package | Description |
|---|---|
| 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
JColorChooser component.
|
| 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.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Applet
An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Dialog
A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
|
class |
FileDialog
The
FileDialog class displays a dialog window from which the user can select a file.
|
class |
Frame
A
Frame is a top-level window with a title and a border.
|
class |
Panel
Panel is the simplest container class.
|
class |
ScrollPane
A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
|
class |
Window
A
Window object is a top-level window with no borders and no menubar.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
KeyboardFocusManager.getCurrentFocusCycleRoot()
Returns the current focus cycle root, if the current focus cycle root is in the same context as the calling thread.
|
Container |
Window.getFocusCycleRootAncestor()
Always returns
null because Windows have no ancestors; they represent the top of the Component hierarchy.
|
Container |
Component.getFocusCycleRootAncestor()
Returns the Container which is the focus cycle root of this Component's focus traversal cycle.
|
protected Container |
KeyboardFocusManager.getGlobalCurrentFocusCycleRoot()
Returns the current focus cycle root, even if the calling thread is in a different context than the current focus cycle root.
|
protected static Container |
Toolkit.getNativeContainer(Component
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridBagLayout.arrangeGrid(Container
Lays out the grid.
|
protected void |
GridBagLayout.ArrangeGrid(Container
This method is obsolete and supplied for backwards compatibility only; new code should call
arrangeGrid instead.
|
abstract void |
KeyboardFocusManager.downFocusCycle(Container
Moves the focus down one focus traversal cycle.
|
void |
DefaultKeyboardFocusManager.downFocusCycle(Container
Moves the focus down one focus traversal cycle.
|
void |
CardLayout.first(Container
Flips to the first card of the container.
|
abstract Component |
FocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
abstract Component |
FocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
ContainerOrderFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
abstract Component |
FocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
Component |
ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
abstract Component |
FocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
ContainerOrderFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
abstract Component |
FocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
ContainerOrderFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
float |
CardLayout.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
LayoutManager2.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
BorderLayout.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
GridBagLayout.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
CardLayout.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
float |
LayoutManager2.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
float |
BorderLayout.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
float |
GridBagLayout.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
Component |
BorderLayout.getLayoutComponent(Container
Returns the component that corresponds to the given constraint location based on the target
Container's component orientation.
|
protected GridBagLayoutInfo |
GridBagLayout.getLayoutInfo(Container
Fills in an instance of
GridBagLayoutInfo for the current set of managed children.
|
protected GridBagLayoutInfo |
GridBagLayout.GetLayoutInfo(Container
This method is obsolete and supplied for backwards compatibility only; new code should call
getLayoutInfo instead.
|
protected Dimension |
GridBagLayout.getMinSize(Container
Figures out the minimum size of the master based on the information from
getLayoutInfo.
|
protected Dimension |
GridBagLayout.GetMinSize(Container
This method is obsolete and supplied for backwards compatibility only; new code should call
getMinSize instead.
|
void |
CardLayout.invalidateLayout(Container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
|
void |
LayoutManager2.invalidateLayout(Container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
|
void |
BorderLayout.invalidateLayout(Container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
|
void |
GridBagLayout.invalidateLayout(Container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
|
boolean |
Container.isFocusCycleRoot(Container
Returns whether the specified Container is the focus cycle root of this Container's focus traversal cycle.
|
boolean |
Component.isFocusCycleRoot(Container
Returns whether the specified Container is the focus cycle root of this Component's focus traversal cycle.
|
void |
CardLayout.last(Container
Flips to the last card of the container.
|
void |
CardLayout.layoutContainer(Container
Lays out the specified container using this card layout.
|
void |
FlowLayout.layoutContainer(Container
Lays out the container.
|
void |
BorderLayout.layoutContainer(Container
Lays out the container argument using this border layout.
|
void |
GridBagLayout.layoutContainer(Container
Lays out the specified container using this grid bag layout.
|
void |
GridLayout.layoutContainer(Container
Lays out the specified container using this layout.
|
void |
LayoutManager.layoutContainer(Container
Lays out the specified container.
|
Dimension |
CardLayout.maximumLayoutSize(Container
Returns the maximum dimensions for this layout given the components in the specified target container.
|
Dimension |
LayoutManager2.maximumLayoutSize(Container
Calculates the maximum size dimensions for the specified container, given the components it contains.
|
Dimension |
BorderLayout.maximumLayoutSize(Container
Returns the maximum dimensions for this layout given the components in the specified target container.
|
Dimension |
GridBagLayout.maximumLayoutSize(Container
Returns the maximum dimensions for this layout given the components in the specified target container.
|
Dimension |
CardLayout.minimumLayoutSize(Container
Calculates the minimum size for the specified panel.
|
Dimension |
FlowLayout.minimumLayoutSize(Container
Returns the minimum dimensions needed to layout the
visible components contained in the specified target container.
|
Dimension |
BorderLayout.minimumLayoutSize(Container
Determines the minimum size of the
target container using this layout manager.
|
Dimension |
GridBagLayout.minimumLayoutSize(Container
Determines the minimum size of the
parent container using this grid bag layout.
|
Dimension |
GridLayout.minimumLayoutSize(Container
Determines the minimum size of the container argument using this grid layout.
|
Dimension |
LayoutManager.minimumLayoutSize(Container
Calculates the minimum size dimensions for the specified container, given the components it contains.
|
void |
CardLayout.next(Container
Flips to the next card of the specified container.
|
Dimension |
CardLayout.preferredLayoutSize(Container
Determines the preferred size of the container argument using this card layout.
|
Dimension |
FlowLayout.preferredLayoutSize(Container
Returns the preferred dimensions for this layout given the
visible components in the specified target container.
|
Dimension |
BorderLayout.preferredLayoutSize(Container
Determines the preferred size of the
target container using this layout manager, based on the components in the container.
|
Dimension |
GridBagLayout.preferredLayoutSize(Container
Determines the preferred size of the
parent container using this grid bag layout.
|
Dimension |
GridLayout.preferredLayoutSize(Container
Determines the preferred size of the container argument using this grid layout.
|
Dimension |
LayoutManager.preferredLayoutSize(Container
Calculates the preferred size dimensions for the specified container, given the components it contains.
|
void |
CardLayout.previous(Container
Flips to the previous card of the specified container.
|
void |
KeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container
Sets the current focus cycle root.
|
void |
CardLayout.show(Container
Flips to the component that was added to this layout with the specified
name, using
addLayoutComponent.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
HierarchyEvent.getChangedParent()
Returns the parent of the Component returned by
getChanged().
|
Container |
ContainerEvent.getContainer()
Returns the originator of the event.
|
| Constructor and Description | |
|---|---|
HierarchyEvent(Component
Constructs an
HierarchyEvent object to identify a change in the
Component hierarchy.
|
|
HierarchyEvent(Component
Constructs an
HierarchyEvent object to identify a change in the
Component hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
BeanContextContainerProxy.getContainer()
Gets the
java.awt.Container associated with this
BeanContext.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractButton
Defines common behaviors for buttons and menu items.
|
class |
Box
A lightweight container that uses a BoxLayout object as its layout manager.
|
static class |
Box
An implementation of a lightweight component that participates in layout but has no view.
|
class |
CellRendererPane
This class is inserted in between cell renderers and the components that use them.
|
class |
DefaultListCellRenderer
Renders an item in a list.
|
static class |
DefaultListCellRenderer
A subclass of DefaultListCellRenderer that implements UIResource.
|
class |
JApplet
An extended version of
java.applet.Applet that adds support for the JFC/Swing component architecture.
|
class |
JButton
An implementation of a "push" button.
|
class |
JCheckBox
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
|
class |
JCheckBoxMenuItem
A menu item that can be selected or deselected.
|
class |
JColorChooser
JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
|
class |
JComboBox<E>
A component that combines a button or editable field and a drop-down list.
|
class |
JComponent
The base class for all Swing components except top-level containers.
|
class |
JDesktopPane
A container used to create a multiple-document interface or a virtual desktop.
|
class |
JDialog
The main class for creating a dialog window.
|
class |
JEditorPane
A text component to edit various kinds of content.
|
class |
JFileChooser
JFileChooser provides a simple mechanism for the user to choose a file.
|
class |
JFormattedTextField
JFormattedTextField extends
JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
|
class |
JFrame
An extended version of
java.awt.Frame that adds support for the JFC/Swing component architecture.
|
class |
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 class |
JInternalFrame
This component represents an iconified version of a
JInternalFrame.
|
class |
JLabel
A display area for a short text string or an image, or both.
|
class |
JLayer<V extends Component
JLayer is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all
AWTEvents generated within its borders.
|
class |
JLayeredPane
JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
|
class |
JList<E>
A component that displays a list of objects and allows the user to select one or more items.
|
class |
JMenu
An implementation of a menu -- a popup window containing
JMenuItems that is displayed when the user selects an item on the
JMenuBar.
|
class |
JMenuBar
An implementation of a menu bar.
|
class |
JMenuItem
An implementation of an item in a menu.
|
class |
JOptionPane
JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
|
class |
JPanel
JPanel is a generic lightweight container.
|
class |
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.
|
class |
JPopupMenu
An implementation of a popup menu -- a small window that pops up and displays a series of choices.
|
static class |
JPopupMenu
A popup menu-specific separator.
|
class |
JProgressBar
A component that visually displays the progress of some task.
|
class |
JRadioButton
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
|
class |
JRadioButtonMenuItem
An implementation of a radio button menu item.
|
class |
JRootPane
A lightweight container used behind the scenes by
JFrame,
JDialog,
JWindow,
JApplet, and
JInternalFrame.
|
class |
JScrollBar
An implementation of a scrollbar.
|
class |
JScrollPane
Provides a scrollable view of a lightweight component.
|
protected class |
JScrollPane
By default
JScrollPane creates scrollbars that are instances of this class.
|
class |
JSeparator
JSeparator provides 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 |
JSlider
A component that lets the user graphically select a value by sliding a knob within a bounded interval.
|
class |
JSpinner
A single line input field that lets the user select a number or an object value from an ordered sequence.
|
static class |
JSpinner
An editor for a
JSpinner whose model is a
SpinnerDateModel.
|
static class |
JSpinner
A 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
An editor for a
JSpinner whose model is a
SpinnerListModel.
|
static class |
JSpinner
An editor for a
JSpinner whose model is a
SpinnerNumberModel.
|
class |
JSplitPane
JSplitPane is used to divide two (and only two)
Components.
|
class |
JTabbedPane
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
|
class |
JTable
The
JTable is used to display and edit regular two-dimensional tables of cells.
|
class |
JTextArea
A
JTextArea is a multi-line area that displays plain text.
|
class |
JTextField
JTextField is a lightweight component that allows the editing of a single line of text.
|
class |
JTextPane
A text component that can be marked up with attributes that are represented graphically.
|
class |
JToggleButton
An implementation of a two-state button.
|
class |
JToolBar
JToolBar provides a component that is useful for displaying commonly used
Actions or controls.
|
static class |
JToolBar
A toolbar-specific separator.
|
class |
JToolTip
Used to display a "Tip" for a Component.
|
class |
JTree
|
class |
JViewport
The "viewport" or "porthole" through which you see the underlying information.
|
class |
JWindow
A
JWindow is a container that can be displayed anywhere on the user's desktop.
|
| Modifier and Type | Field and Description |
|---|---|
protected Container |
JRootPane.contentPane
The content pane.
|
| Modifier and Type | Method and Description |
|---|---|
protected Container |
JRootPane.createContentPane()
Called by the constructor methods to create the default
contentPane.
|
static Container |
SwingUtilities.getAncestorNamed(String
Convenience method for searching above
comp in the component hierarchy and returns the first object of
name it finds.
|
static Container |
SwingUtilities.getAncestorOfClass(Class
Convenience method for searching above
comp in the component hierarchy and returns the first object of class
c it finds.
|
Container |
JRootPane.getContentPane()
Returns the content pane -- the container that holds the components parented by the root pane.
|
Container |
JWindow.getContentPane()
Returns the
Container which is the
contentPane for this window.
|
Container |
JInternalFrame.getContentPane()
Returns the content pane for this internal frame.
|
Container |
JDialog.getContentPane()
Returns the
contentPane object for this dialog.
|
Container |
JFrame.getContentPane()
Returns the
contentPane object for this frame.
|
Container |
JApplet.getContentPane()
Returns the contentPane object for this applet.
|
Container |
RootPaneContainer.getContentPane()
Returns the contentPane.
|
Container |
JInternalFrame.getFocusCycleRootAncestor()
Always returns
null because
JInternalFrames 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
Window or
Applet), or
null if this component has not been added to any container.
|
static Container |
SwingUtilities.getUnwrappedParent(Component
Returns the first ancestor of the
component which is not an instance of
JLayer.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
SortingFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
DefaultFocusManager.getComponentAfter(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentAfter(Container
Returns the Component that should receive the focus after aComponent.
|
Component |
SortingFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
Component |
DefaultFocusManager.getComponentBefore(Container
|
Component |
LayoutFocusTraversalPolicy.getComponentBefore(Container
Returns the Component that should receive the focus before aComponent.
|
abstract int |
LayoutStyle.getContainerGap(JComponent
Returns the amount of space to place between the component and specified edge of its parent.
|
Component |
SortingFocusTraversalPolicy.getDefaultComponent(Container
Returns the default Component to focus.
|
Component |
SortingFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
DefaultFocusManager.getFirstComponent(Container
|
Component |
LayoutFocusTraversalPolicy.getFirstComponent(Container
Returns the first Component in the traversal cycle.
|
Component |
SortingFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
Component |
DefaultFocusManager.getLastComponent(Container
|
Component |
LayoutFocusTraversalPolicy.getLastComponent(Container
Returns the last Component in the traversal cycle.
|
float |
JRootPane.RootLayout.getLayoutAlignmentX(Container
|
float |
BoxLayout.getLayoutAlignmentX(Container
Returns the alignment along the X axis for the container.
|
float |
SpringLayout.getLayoutAlignmentX(Container
Returns 0.5f (centered).
|
float |
OverlayLayout.getLayoutAlignmentX(Container
Returns the alignment along the x axis for the container.
|
float |
GroupLayout.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
JRootPane.RootLayout.getLayoutAlignmentY(Container
|
float |
BoxLayout.getLayoutAlignmentY(Container
Returns the alignment along the Y axis for the container.
|
float |
SpringLayout.getLayoutAlignmentY(Container
Returns 0.5f (centered).
|
float |
OverlayLayout.getLayoutAlignmentY(Container
Returns the alignment along the y axis for the container.
|
float |
GroupLayout.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
abstract int |
LayoutStyle.getPreferredGap(JComponent
Returns the amount of space to use between two components.
|
void |
JRootPane.RootLayout.invalidateLayout(Container
|
void |
BoxLayout.invalidateLayout(Container
Indicates that a child has changed its layout related information, and thus any cached calculations should be flushed.
|
void |
SpringLayout.invalidateLayout(Container
|
void |
OverlayLayout.invalidateLayout(Container
Indicates a child has changed its layout related information, which causes any cached calculations to be flushed.
|
void |
GroupLayout.invalidateLayout(Container
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
|
void |
JRootPane.RootLayout.layoutContainer(Container
Instructs the layout manager to perform the layout for the specified container.
|
void |
ViewportLayout.layoutContainer(Container
Called by the AWT when the specified container needs to be laid out.
|
void |
ScrollPaneLayout.layoutContainer(Container
Lays out the scrollpane.
|
void |
BoxLayout.layoutContainer(Container
Called by the AWT
when the specified container needs to be laid out.
|
void |
SpringLayout.layoutContainer(Container
|
void |
JSpinner.DefaultEditor.layoutContainer(Container
Resize the one (and only) child to completely fill the area within the parents insets.
|
void |
OverlayLayout.layoutContainer(Container
Called by the AWT when the specified container needs to be laid out.
|
void |
GroupLayout.layoutContainer(Container
Lays out the specified container.
|
Dimension |
JRootPane.RootLayout.maximumLayoutSize(Container
Returns the maximum amount of space the layout can use.
|
Dimension |
BoxLayout.maximumLayoutSize(Container
Returns the maximum dimensions the target container can use to lay out the components it contains.
|
Dimension |
SpringLayout.maximumLayoutSize(Container
|
Dimension |
OverlayLayout.maximumLayoutSize(Container
Returns the maximum dimensions needed to lay out the components contained in the specified target container.
|
Dimension |
GroupLayout.maximumLayoutSize(Container
Returns the maximum size for the specified container.
|
Dimension |
JRootPane.RootLayout.minimumLayoutSize(Container
Returns the minimum amount of space the layout needs.
|
Dimension |
ViewportLayout.minimumLayoutSize(Container
Returns the minimum dimensions needed to layout the components contained in the specified target container.
|
Dimension |
ScrollPaneLayout.minimumLayoutSize(Container
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.
|
Dimension |
BoxLayout.minimumLayoutSize(Container
Returns the minimum dimensions needed to lay out the components contained in the specified target container.
|
Dimension |
SpringLayout.minimumLayoutSize(Container
|
Dimension |
JSpinner.DefaultEditor.minimumLayoutSize(Container
Returns the minimum size of first (and only) child plus the size of the parents insets.
|
Dimension |
OverlayLayout.minimumLayoutSize(Container
Returns the minimum dimensions needed to lay out the components contained in the specified target container.
|
Dimension |
GroupLayout.minimumLayoutSize(Container
Returns the minimum size for the specified container.
|
void |
CellRendererPane.paintComponent(Graphics
Calls this.paintComponent(g, c, p, x, y, w, h, false).
|
static void |
SwingUtilities.paintComponent(Graphics
Paints a component to the specified
Graphics.
|
void |
CellRendererPane.paintComponent(Graphics
Paint a cell renderer component c on graphics object g.
|
void |
CellRendererPane.paintComponent(Graphics
Calls this.paintComponent() with the rectangles x,y,width,height fields.
|
static void |
SwingUtilities.paintComponent(Graphics
Paints a component to the specified
Graphics.
|
Dimension |
JRootPane.RootLayout.preferredLayoutSize(Container
Returns the amount of space the layout would like to have.
|
Dimension |
ViewportLayout.preferredLayoutSize(Container
Returns the preferred dimensions for this layout given the components in the specified target container.
|
Dimension |
ScrollPaneLayout.preferredLayoutSize(Container
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 |
BoxLayout.preferredLayoutSize(Container
Returns the preferred dimensions for this layout, given the components in the specified target container.
|
Dimension |
SpringLayout.preferredLayoutSize(Container
|
Dimension |
JSpinner.DefaultEditor.preferredLayoutSize(Container
Returns the preferred size of first (and only) child plus the size of the parents insets.
|
Dimension |
OverlayLayout.preferredLayoutSize(Container
Returns the preferred dimensions for this layout given the components in the specified target container.
|
Dimension |
GroupLayout.preferredLayoutSize(Container
Returns the preferred size for the specified container.
|
void |
JRootPane.setContentPane(Container
Sets the content pane -- the container that holds the components parented by the root pane.
|
void |
JWindow.setContentPane(Container
Sets the
contentPane property for this window.
|
void |
JInternalFrame.setContentPane(Container
Sets this
JInternalFrame's
contentPane property.
|
void |
JDialog.setContentPane(Container
Sets the
contentPane property.
|
void |
JFrame.setContentPane(Container
Sets the
contentPane property.
|
void |
JApplet.setContentPane(Container
Sets the contentPane property.
|
void |
RootPaneContainer.setContentPane(Container
The "contentPane" is the primary container for application specific components.
|
| Constructor and Description | |
|---|---|
BoxLayout(Container
Creates a layout manager that will lay out components along the given axis.
|
|
GroupLayout(Container
Creates a
GroupLayout for the specified
Container.
|
|
OverlayLayout(Container
Constructs a layout manager that performs overlay arrangement of the children.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractColorChooserPanel
This is the abstract superclass for color choosers.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description | |
|---|---|
AncestorEvent(JComponent
Constructs an AncestorEvent object to identify a change in an ancestor-component's display-status.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicArrowButton
JButton object that draws a scaled Arrow in one of the cardinal directions.
|
class |
BasicComboBoxRenderer
ComboBox renderer
|
static class |
BasicComboBoxRenderer
A subclass of BasicComboBoxRenderer that implements UIResource.
|
class |
BasicComboPopup
This is a basic implementation of the
ComboPopup interface.
|
class |
BasicInternalFrameTitlePane
The class that manages a basic title bar
|
class |
BasicInternalFrameTitlePane
This class should be treated as a "protected" inner class.
|
class |
BasicSplitPaneDivider
Divider used by BasicSplitPaneUI.
|
protected class |
BasicToolBarUI
|
| Modifier and Type | Method and Description |
|---|---|
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()
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicOptionPaneUI.addButtonComponents(Container
Creates the appropriate object to represent each of the objects in
buttons and adds it to
container.
|
protected void |
BasicOptionPaneUI.addIcon(Container
Creates and adds a JLabel representing the icon returned from
getIcon to
top.
|
protected void |
BasicOptionPaneUI.addMessageComponents(Container
Creates the appropriate object to represent
msg and places it into
container.
|
protected void |
BasicOptionPaneUI.burstStringInto(Container
Recursively creates new JLabel instances to represent
d.
|
float |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentX(Container
Returns the alignment along the x axis.
|
float |
BasicSplitPaneUI.BasicHorizontalLayoutManager.getLayoutAlignmentY(Container
Returns the alignment along the y axis.
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.invalidateLayout(Container
Does nothing.
|
void |
BasicInternalFrameUI.InternalFrameLayout.layoutContainer(Container
|
void |
BasicOptionPaneUI.ButtonAreaLayout.layoutContainer(Container
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.layoutContainer(Container
|
void |
BasicSplitPaneDivider.DividerLayout.layoutContainer(Container
|
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.layoutContainer(Container
Does the actual layout.
|
void |
BasicComboBoxUI.ComboBoxLayoutManager.layoutContainer(Container
|
void |
BasicInternalFrameTitlePane.TitlePaneLayout.layoutContainer(Container
|
void |
BasicScrollBarUI.layoutContainer(Container
|
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.maximumLayoutSize(Container
Returns the maximum layout size, which is Integer.MAX_VALUE in both directions.
|
Dimension |
BasicInternalFrameUI.InternalFrameLayout.minimumLayoutSize(Container
|
Dimension |
BasicOptionPaneUI.ButtonAreaLayout.minimumLayoutSize(Container
|
Dimension |
BasicTabbedPaneUI.TabbedPaneLayout.minimumLayoutSize(Container
|
Dimension |
BasicSplitPaneDivider.DividerLayout.minimumLayoutSize(Container
|
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.minimumLayoutSize(Container
Returns the minimum size needed to contain the children.
|
Dimension |
BasicComboBoxUI.ComboBoxLayoutManager.minimumLayoutSize(Container
|
Dimension |
BasicInternalFrameTitlePane.TitlePaneLayout.minimumLayoutSize(Container
|
Dimension |
BasicScrollBarUI.minimumLayoutSize(Container
|
Dimension |
BasicInternalFrameUI.InternalFrameLayout.preferredLayoutSize(Container
|
Dimension |
DefaultMenuLayout.preferredLayoutSize(Container
|
Dimension |
BasicOptionPaneUI.ButtonAreaLayout.preferredLayoutSize(Container
|
Dimension |
BasicTabbedPaneUI.TabbedPaneLayout.preferredLayoutSize(Container
|
Dimension |
BasicSplitPaneDivider.DividerLayout.preferredLayoutSize(Container
|
Dimension |
BasicSplitPaneUI.BasicHorizontalLayoutManager.preferredLayoutSize(Container
Returns the preferred size needed to contain the children.
|
Dimension |
BasicComboBoxUI.ComboBoxLayoutManager.preferredLayoutSize(Container
|
Dimension |
BasicInternalFrameTitlePane.TitlePaneLayout.preferredLayoutSize(Container
|
Dimension |
BasicScrollBarUI.preferredLayoutSize(Container
|
| Constructor and Description | |
|---|---|
DefaultMenuLayout(Container
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetalComboBoxButton
JButton subclass to help out MetalComboBoxUI
|
class |
MetalComboBoxUI
Deprecated.
As of Java 2 platform v1.4.
|
protected class |
MetalFileChooserUI
|
class |
MetalFileChooserUI
Render different type sizes and styles.
|
class |
MetalInternalFrameTitlePane
Class that manages a JLF title bar
|
class |
MetalScrollButton
JButton object for Metal scrollbar arrows.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetalComboBoxUI.layoutComboBox(Container
|
void |
MetalComboBoxUI.MetalComboBoxLayoutManager.layoutContainer(Container
|
void |
MetalComboBoxUI.MetalComboBoxLayoutManager.superLayout(Container
|
| Modifier and Type | Method and Description |
|---|---|
protected Container |
SynthOptionPaneUI.createMessageArea()
Called from
SynthOptionPaneUI to create a
Container containing the body of the message.
|
protected Container |
SynthOptionPaneUI.createSeparator()
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTableCellRenderer
The standard class for rendering (displaying) individual cells in a
JTable.
|
static class |
DefaultTableCellRenderer
A subclass of
DefaultTableCellRenderer that implements
UIResource.
|
class |
JTableHeader
This is the object which manages the header of the
JTable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JTextComponent
JTextComponent is the base class for swing text components.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
View.getContainer()
Fetches the container hosting the view.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTreeCellEditor
TextField used when no editor is supplied.
|
class |
DefaultTreeCellEditor
Container responsible for placing the
editingComponent.
|
class |
DefaultTreeCellRenderer
Displays an entry in a tree.
|
| Modifier and Type | Field and Description |
|---|---|
protected Container |
DefaultTreeCellEditor.editingContainer
Editing container, will contain the
editorComponent.
|
| Modifier and Type | Method and Description |
|---|---|
protected Container |
DefaultTreeCellEditor.createContainer()
Creates the container to manage placement of
editingComponent.
|