javax.swing (Java 2 Platform SE 5.0) (original) (raw)
Class Summary
This class provides default implementations for the JFC Action
interface.
Defines common behaviors for buttons and menu items.
The abstract definition for the data model that provides a List
with its contents.
This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.
ActionMap
provides mappings fromObject
s (called keys or Action
names) to Action
s.
Factory class for vending standard Border
objects.
A lightweight container that uses a BoxLayout object as its layout manager.
An implementation of a lightweight component that participates in layout but has no view.
A layout manager that allows multiple components to be laid out either vertically or horizontally.
This class is used to create a multiple-exclusion scope for a set of buttons.
This class is inserted in between cell renderers and the components that use them.
A ComponentInputMap
is an InputMap
associated with a particular JComponent
.
Graphics subclass supporting graphics debugging.
A generic implementation of BoundedRangeModel.
The default implementation of a Button
component's data model.
The default editor for table and tree cells.
The default model for combo boxes.
This is an implementation of the DesktopManager
.
This class has been obsoleted by the 1.4 focus APIs.
Renders an item in a list.
DefaultListCellRenderer.UIResource
A subclass of DefaultListCellRenderer that implements UIResource.
This class loosely implements the java.util.Vector
API, in that it implements the 1.1.x version ofjava.util.Vector
, has no collection class support, and notifies the ListDataListener
s when changes occur.
Default data model for list selections.
A generic implementation of SingleSelectionModel.
This class has been obsoleted by the 1.4 focus APIs.
An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image.
An implementation of the Icon interface that paints Icons from Images.
InputMap
provides a binding between an input event (currently only KeyStroke
s are used) and an Object
.
The purpose of this class is to help clients support smooth focus navigation through GUIs with text fields.
InternalFrameFocusTraversalPolicy
A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component.
An extended version of java.applet.Applet
that adds support for the JFC/Swing component architecture.
An implementation of a "push" button.
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
A menu item that can be selected or deselected.
JColorChooser
provides a pane of controls designed to allow a user to manipulate and select a color.
A component that combines a button or editable field and a drop-down list.
The base class for all Swing components except top-level containers.
A container used to create a multiple-document interface or a virtual desktop.
The main class for creating a dialog window.
A text component to edit various kinds of content.
JFileChooser
provides a simple mechanism for the user to choose a file.
JFormattedTextField
extends JTextField
adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
JFormattedTextField.AbstractFormatter
Instances of AbstractFormatter
are used byJFormattedTextField
to handle the conversion both from an Object to a String, and back from a String to an Object.
JFormattedTextField.AbstractFormatterFactory
Instances of AbstractFormatterFactory
are used byJFormattedTextField
to obtain instances ofAbstractFormatter
which in turn are used to format values.
An extended version of java.awt.Frame
that adds support for the JFC/Swing component architecture.
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.
This component represents an iconified version of aJInternalFrame
.
A display area for a short text string or an image, or both.
JLayeredPane
adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
A component that allows the user to select one or more objects from a list.
An implementation of a menu -- a popup window containingJMenuItem
s that is displayed when the user selects an item on the JMenuBar
.
An implementation of a menu bar.
An implementation of an item in a menu.
JOptionPane
makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JPanel
is a generic lightweight container.
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.
An implementation of a popup menu -- a small window that pops up and displays a series of choices.
A popup menu-specific separator.
A component that, by default, displays an integer value within a bounded interval.
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
An implementation of a radio button menu item.
A lightweight container used behind the scenes byJFrame
, JDialog
, JWindow
,JApplet
, and JInternalFrame
.
An implementation of a scrollbar.
Provides a scrollable view of a lightweight component.
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.
A component that lets the user graphically select a value by sliding a knob within a bounded interval.
A single line input field that lets the user select a number or an object value from an ordered sequence.
An editor for a JSpinner
whose model is a SpinnerDateModel
.
A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField`.`
An editor for a JSpinner
whose model is a SpinnerListModel
.
An editor for a JSpinner
whose model is a SpinnerNumberModel
.
JSplitPane
is used to divide two (and only two)Component
s.
A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
The JTable
is used to display and edit regular two-dimensional tables of cells.
A JTextArea
is a multi-line area that displays plain text.
JTextField
is a lightweight component that allows the editing of a single line of text.
A text component that can be marked up with attributes that are represented graphically.
An implementation of a two-state button.
JToggleButton.ToggleButtonModel
The ToggleButton model
JToolBar
provides a component that is useful for displaying commonly used Action
s or controls.
A toolbar-specific separator.
Used to display a "Tip" for a Component.
A control that displays a set of hierarchical data as an outline.
DynamicUtilTreeNode
can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.
EmptySelectionModel
is a TreeSelectionModel
that does not allow anything to be selected.
The "viewport" or "porthole" through which you see the underlying information.
A JWindow
is a container that can be displayed anywhere on the user's desktop.
A KeyStroke represents a key action on the keyboard, or equivalent input device.
A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.
Completely characterizes a look and feel from the point of view of the pluggable look and feel components.
A MenuSelectionManager owns the selection in menu hierarchy.
A layout manager to arrange components over the top of each other.
Popups are used to display a Component
to the user, typically on top of all the other Component
s in a particular containment hierarchy.
PopupFactory
, as the name implies, is used to obtain instances of Popup
s.
A class to monitor the progress of some operation.
Monitors the progress of reading from some InputStream.
This class manages repaint requests, allowing the number of repaints to be minimized, for example by collapsing multiple requests into a single repaint for members of a component tree.
The layout manager used by JScrollPane
.
The UI resource version of ScrollPaneLayout
.
For the convenience of layout managers, calculates information about the size and position of components.
A SizeSequence
object efficiently maintains an ordered list of sizes and corresponding positions.
A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator.
A SpinnerModel
for sequences of Date
s.
A simple implementation of SpinnerModel
whose values are defined by an array or a List
.
A SpinnerModel
for sequences of numbers.
An instance of the Spring
class holds three properties that characterize its behavior: the minimum, preferred, and_maximum_ values.
A SpringLayout
lays out the children of its associated container according to a set of constraints.
A Constraints
object holds the constraints that govern the way a component's size and position change in a container controlled by a SpringLayout
.
A collection of utility methods for Swing.
Fires one or more action events after a specified delay.
Manages all the ToolTips
in the system.
This class is used to handle the transfer of a Transferable
to and from Swing components.
A table of defaults for Swing components.
LazyInputMap
will create a InputMap
in its createValue
method.
This class provides an implementation of LazyValue
which can be used to delay loading of the Class for the instance to be created.
This class keeps track of the current look and feel and its defaults.
Provides a little information about an installedLookAndFeel
for the sake of configuring a menu or for initial application set up.
The default layout manager for JViewport
.
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. For a programmer's guide to using these components, seeCreating a GUI with JFC/Swing, a trail in The Java Tutorial. For other resources, see Related Documentation.