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.image |
Provides classes for creating and modifying images.
|
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.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree . |
Modifier and Type | Class | Description |
---|---|---|
class |
Applet |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
Modifier and Type | Class | Description |
---|---|---|
class |
java.awt.Component |
A component is an object having a graphical representation
that can be displayed on the screen and that can interact with the
user.
|
class |
java.awt.Container |
A generic Abstract Window Toolkit(AWT) container object is a component
that can contain other AWT components.
|
class |
java.awt.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 |
java.awt.Frame |
A
Frame is a top-level window with a title and a border. |
class |
java.awt.Panel |
Panel is the simplest container class. |
class |
java.awt.Window |
A
Window object is a top-level window with no borders and no
menubar. |
Modifier and Type | Method | Description |
---|---|---|
int |
AbstractMultiResolutionImage.getHeight(ImageObserver observer) |
This method simply delegates to the same method on the base image and
it is equivalent to:
getBaseImage().getHeight(observer) . |
int |
BufferedImage.getHeight(ImageObserver observer) |
Returns the height of the
BufferedImage . |
Object |
AbstractMultiResolutionImage.getProperty(String name,
ImageObserver observer) |
This method simply delegates to the same method on the base image and
it is equivalent to:
getBaseImage().getProperty(name, observer) . |
Object |
BufferedImage.getProperty(String name,
ImageObserver observer) |
Returns a property of the image by name.
|
int |
AbstractMultiResolutionImage.getWidth(ImageObserver observer) |
This method simply delegates to the same method on the base image and
it is equivalent to:
getBaseImage().getWidth(observer) . |
int |
BufferedImage.getWidth(ImageObserver observer) |
Returns the width of the
BufferedImage . |
Modifier and Type | Class | 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.Filler |
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.UIResource |
A subclass of DefaultListCellRenderer that implements UIResource.
|
class |
JApplet |
Deprecated.
The Applet API is deprecated. See the
java.applet package documentation
for further information.
|
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.JDesktopIcon |
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 java.awt.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 AWTEvent s 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
JMenuItem s 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.Separator |
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.ScrollBar |
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.DateEditor |
An editor for a
JSpinner whose model is a
SpinnerDateModel . |
static class |
JSpinner.DefaultEditor |
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.ListEditor |
An editor for a
JSpinner whose model is a
SpinnerListModel . |
static class |
JSpinner.NumberEditor |
An editor for a
JSpinner whose model is a
SpinnerNumberModel . |
class |
JSplitPane |
JSplitPane is used to divide two (and only two)
Component s. |
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 Action s or controls. |
static class |
JToolBar.Separator |
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 | Method | Description |
---|---|---|
ImageObserver |
ImageIcon.getImageObserver() |
Returns the image observer for the image.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.Color bgcolor,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
java.awt.Color bgcolor,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int x,
int y,
int width,
int height,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int x,
int y,
java.awt.Color bgcolor,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
boolean |
DebugGraphics.drawImage(java.awt.Image img,
int x,
int y,
ImageObserver observer) |
Overrides
Graphics.drawImage . |
void |
ImageIcon.setImageObserver(ImageObserver observer) |
Sets the image observer for the image.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractColorChooserPanel |
This is the abstract superclass for color choosers.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BasicArrowButton |
JButton object that draws a scaled Arrow in one of the cardinal directions.
|
class |
BasicComboBoxRenderer |
ComboBox renderer
|
static class |
BasicComboBoxRenderer.UIResource |
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.SystemMenuBar |
This class should be treated as a "protected" inner class.
|
class |
BasicSplitPaneDivider |
Divider used by BasicSplitPaneUI.
|
protected class |
BasicToolBarUI.DragWindow |
The window which appears during dragging the
JToolBar . |
Modifier and Type | Class | Description |
---|---|---|
class |
MetalComboBoxButton |
JButton subclass to help out MetalComboBoxUI
|
class |
MetalComboBoxUI.MetalComboPopup |
Deprecated.
As of Java 2 platform v1.4.
|
protected class |
MetalFileChooserUI.FileRenderer |
Deprecated.
As of JDK version 9. Obsolete class.
|
class |
MetalFileChooserUI.FilterComboBoxRenderer |
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 | Class | Description |
---|---|---|
class |
DefaultTableCellRenderer |
The standard class for rendering (displaying) individual cells
in a
JTable . |
static class |
DefaultTableCellRenderer.UIResource |
A subclass of
DefaultTableCellRenderer that
implements UIResource . |
class |
JTableHeader |
This is the object which manages the header of the
JTable . |
Modifier and Type | Class | Description |
---|---|---|
class |
JTextComponent |
JTextComponent is the base class for swing text
components. |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultTreeCellEditor.DefaultTextField |
TextField used when no editor is supplied. |
class |
DefaultTreeCellEditor.EditorContainer |
Container responsible for placing the
editingComponent . |
class |
DefaultTreeCellRenderer |
Displays an entry in a tree.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b151-2