API Overview API Index Direct link to this page
JDK 1.6
  Package: javax.swing
Author(s)
Since
Version
Serial
exclude
Description
  Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
See also:   
AbstractAction View Source This class provides default implementations for the JFC Action interface.
AbstractButton View Source Defines common behaviors for buttons and menu items.
AbstractButton.AccessibleAbstractButton View Source This class implements accessibility support for the AbstractButton class.
AbstractButton.ButtonChangeListener View Source Extends ChangeListener to be serializable.
AbstractCellEditor View Source
AbstractListModel View Source The abstract definition for the data model that provides a List with its contents.
AbstractSpinnerModel View Source This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.
Action View Source The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
ActionMap View Source ActionMap provides mappings from Objects (called keys or Action names) to Actions.
BorderFactory View Source Factory class for vending standard Border objects.
BoundedRangeModel View Source Defines the data model used by components like Sliders and ProgressBars.
Box View Source A lightweight container that uses a BoxLayout object as its layout manager.
Box.AccessibleBox View Source This class implements accessibility support for the Box class.
Box.Filler View Source An implementation of a lightweight component that participates in layout but has no view.
Box.Filler.AccessibleBoxFiller View Source This class implements accessibility support for the Box.Filler class.
BoxLayout View Source A layout manager that allows multiple components to be laid out either vertically or horizontally.
ButtonGroup View Source This class is used to create a multiple-exclusion scope for a set of buttons.
ButtonModel View Source State model for buttons.
CellEditor View Source This interface defines the methods any general editor should be able to implement.
CellRendererPane View Source This class is inserted in between cell renderers and the components that use them.
CellRendererPane.AccessibleCellRendererPane View Source This class implements accessibility support for the CellRendererPane class.
ComboBoxEditor View Source The editor component used for JComboBox components.
ComboBoxModel View Source A data model for a combo box.
ComponentInputMap View Source A ComponentInputMap is an InputMap associated with a particular JComponent.
DebugGraphics View Source Graphics subclass supporting graphics debugging.
DefaultBoundedRangeModel View Source A generic implementation of BoundedRangeModel.
DefaultButtonModel View Source The default implementation of a Button component's data model.
DefaultCellEditor View Source The default editor for table and tree cells.
DefaultCellEditor.EditorDelegate View Source The protected EditorDelegate class.
DefaultComboBoxModel View Source The default model for combo boxes.
DefaultDesktopManager View Source This is an implementation of the DesktopManager.
DefaultFocusManager View Source This class has been obsoleted by the 1.4 focus APIs.
DefaultListCellRenderer View Source Renders an item in a list.
DefaultListCellRenderer.UIResource View Source A subclass of DefaultListCellRenderer that implements UIResource.
DefaultListModel View Source This class loosely implements the java.util.Vector API, in that it implements the 1.1.x version of java.util.Vector, has no collection class support, and notifies the ListDataListeners when changes occur.
DefaultListSelectionModel View Source Default data model for list selections.
DefaultRowSorter View Source An implementation of RowSorter that provides sorting and filtering around a grid-based data model.
DefaultRowSorter.ModelWrapper View Source DefaultRowSorter.ModelWrapper is responsible for providing the data that gets sorted by DefaultRowSorter.
DefaultSingleSelectionModel View Source A generic implementation of SingleSelectionModel.
DesktopManager View Source DesktopManager objects are owned by a JDesktopPane object.
DropMode View Source Drop modes, used to determine the method by which a component tracks and indicates a drop location during drag and drop.
FocusManager View Source This class has been obsoleted by the 1.4 focus APIs.
GrayFilter View Source An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image.
GroupLayout View Source GroupLayout is a LayoutManager that hierarchically groups components in order to position them in a Container.
GroupLayout.Alignment View Source Enumeration of the possible ways ParallelGroup can align its children.
GroupLayout.Group View Source Group provides the basis for the two types of operations supported by GroupLayout: laying out components one after another (SequentialGroup) or aligned (ParallelGroup).
GroupLayout.ParallelGroup View Source A Group that aligns and sizes it's children.
GroupLayout.SequentialGroup View Source A Group that positions and sizes its elements sequentially, one after another.
Icon View Source A small fixed size picture, typically used to decorate components.
ImageIcon View Source An implementation of the Icon interface that paints Icons from Images.
ImageIcon.AccessibleImageIcon View Source This class implements accessibility support for the ImageIcon class.
InputMap View Source InputMap provides a binding between an input event (currently only KeyStrokes are used) and an Object.
InputVerifier View Source The purpose of this class is to help clients support smooth focus navigation through GUIs with text fields.
InternalFrameFocusTraversalPolicy View Source A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component.
JApplet View Source An extended version of java.applet.Applet that adds support for the JFC/Swing component architecture.
JApplet.AccessibleJApplet View Source This class implements accessibility support for the JApplet class.
JButton View Source An implementation of a "push" button.
JButton.AccessibleJButton View Source This class implements accessibility support for the JButton class.
JCheckBox View Source An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
JCheckBox.AccessibleJCheckBox View Source This class implements accessibility support for the JCheckBox class.
JCheckBoxMenuItem View Source A menu item that can be selected or deselected.
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem View Source This class implements accessibility support for the JCheckBoxMenuItem class.
JColorChooser View Source JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
JColorChooser.AccessibleJColorChooser View Source This class implements accessibility support for the JColorChooser class.
JComboBox View Source A component that combines a button or editable field and a drop-down list.
JComboBox.AccessibleJComboBox View Source This class implements accessibility support for the JComboBox class.
JComboBox.KeySelectionManager View Source The interface that defines a KeySelectionManager.
JComponent View Source The base class for all Swing components except top-level containers.
JComponent.AccessibleJComponent View Source Inner class of JComponent used to provide default support for accessibility.
JComponent.AccessibleJComponent.AccessibleContainerHandler View Source Fire PropertyChange listener, if one is registered, when children added/removed.
JComponent.AccessibleJComponent.AccessibleFocusHandler View Source Fire PropertyChange listener, if one is registered, when focus events happen
JDesktopPane View Source A container used to create a multiple-document interface or a virtual desktop.
JDesktopPane.AccessibleJDesktopPane View Source This class implements accessibility support for the JDesktopPane class.
JDialog View Source The main class for creating a dialog window.
JDialog.AccessibleJDialog View Source This class implements accessibility support for the JDialog class.
JEditorPane View Source A text component to edit various kinds of content.
JEditorPane.AccessibleJEditorPane View Source This class implements accessibility support for the JEditorPane class.
JEditorPane.AccessibleJEditorPaneHTML View Source This class provides support for AccessibleHypertext, and is used in instances where the EditorKit installed in this JEditorPane is an instance of HTMLEditorKit.
JEditorPane.JEditorPaneAccessibleHypertextSupport View Source What's returned by AccessibleJEditorPaneHTML.getAccessibleText.
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink View Source
JFileChooser View Source JFileChooser provides a simple mechanism for the user to choose a file.
JFileChooser.AccessibleJFileChooser View Source This class implements accessibility support for the JFileChooser class.
JFormattedTextField View Source 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 View Source Instances of AbstractFormatter are used by JFormattedTextField to handle the conversion both from an Object to a String, and back from a String to an Object.
JFormattedTextField.AbstractFormatterFactory View Source Instances of AbstractFormatterFactory are used by JFormattedTextField to obtain instances of AbstractFormatter which in turn are used to format values.
JFrame View Source An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
JFrame.AccessibleJFrame View Source This class implements accessibility support for the JFrame class.
JInternalFrame View Source 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.
JInternalFrame.AccessibleJInternalFrame View Source This class implements accessibility support for the JInternalFrame class.
JInternalFrame.JDesktopIcon View Source This component represents an iconified version of a JInternalFrame.
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon View Source This class implements accessibility support for the JInternalFrame.JDesktopIcon class.
JLabel View Source A display area for a short text string or an image, or both.
JLabel.AccessibleJLabel View Source The class used to obtain the accessible role for this object.
JLayeredPane View Source JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
JLayeredPane.AccessibleJLayeredPane View Source This class implements accessibility support for the JLayeredPane class.
JList View Source A component that displays a list of objects and allows the user to select one or more items.
JList.AccessibleJList View Source This class implements accessibility support for the JList class.
JList.AccessibleJList.AccessibleJListChild View Source This class implements accessibility support appropriate for list children.
JList.DropLocation View Source A subclass of TransferHandler.DropLocation representing a drop location for a JList.
JMenu View Source An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
JMenu.AccessibleJMenu View Source This class implements accessibility support for the JMenu class.
JMenu.WinListener View Source A listener class that watches for a popup window closing.
JMenuBar View Source An implementation of a menu bar.
JMenuBar.AccessibleJMenuBar View Source This class implements accessibility support for the JMenuBar class.
JMenuItem View Source An implementation of an item in a menu.
JMenuItem.AccessibleJMenuItem View Source This class implements accessibility support for the JMenuItem class.
JOptionPane View Source JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
JOptionPane.AccessibleJOptionPane View Source This class implements accessibility support for the JOptionPane class.
JPanel View Source JPanel is a generic lightweight container.
JPanel.AccessibleJPanel View Source This class implements accessibility support for the JPanel class.
JPasswordField View Source 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.
JPasswordField.AccessibleJPasswordField View Source This class implements accessibility support for the JPasswordField class.
JPopupMenu View Source An implementation of a popup menu -- a small window that pops up and displays a series of choices.
JPopupMenu.AccessibleJPopupMenu View Source This class implements accessibility support for the JPopupMenu class.
JPopupMenu.Separator View Source A popup menu-specific separator.
JProgressBar View Source A component that visually displays the progress of some task.
JProgressBar.AccessibleJProgressBar View Source This class implements accessibility support for the JProgressBar class.
JRadioButton View Source An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
JRadioButton.AccessibleJRadioButton View Source This class implements accessibility support for the JRadioButton class.
JRadioButtonMenuItem View Source An implementation of a radio button menu item.
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem View Source This class implements accessibility support for the JRadioButtonMenuItem class.
JRootPane View Source A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame.
JRootPane.AccessibleJRootPane View Source This class implements accessibility support for the JRootPane class.
JRootPane.RootLayout View Source A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.
JScrollBar View Source An implementation of a scrollbar.
JScrollBar.AccessibleJScrollBar View Source This class implements accessibility support for the JScrollBar class.
JScrollPane View Source Provides a scrollable view of a lightweight component.
JScrollPane.AccessibleJScrollPane View Source This class implements accessibility support for the JScrollPane class.
JScrollPane.ScrollBar View Source By default JScrollPane creates scrollbars that are instances of this class.
JSeparator View Source 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.
JSeparator.AccessibleJSeparator View Source This class implements accessibility support for the JSeparator class.
JSlider View Source A component that lets the user graphically select a value by sliding a knob within a bounded interval.
JSlider.AccessibleJSlider View Source This class implements accessibility support for the JSlider class.
JSpinner View Source A single line input field that lets the user select a number or an object value from an ordered sequence.
JSpinner.AccessibleJSpinner View Source AccessibleJSpinner implements accessibility support for the JSpinner class.
JSpinner.DateEditor View Source An editor for a JSpinner whose model is a SpinnerDateModel.
JSpinner.DefaultEditor View Source A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField.
JSpinner.ListEditor View Source An editor for a JSpinner whose model is a SpinnerListModel.
JSpinner.NumberEditor View Source An editor for a JSpinner whose model is a SpinnerNumberModel.
JSplitPane View Source JSplitPane is used to divide two (and only two) Components.
JSplitPane.AccessibleJSplitPane View Source This class implements accessibility support for the JSplitPane class.
JTabbedPane View Source A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
JTabbedPane.AccessibleJTabbedPane View Source This class implements accessibility support for the JTabbedPane class.
JTabbedPane.ModelListener View Source We pass ModelChanged events along to the listeners with the tabbedpane (instead of the model itself) as the event source.
JTable View Source The JTable is used to display and edit regular two-dimensional tables of cells.
JTable.AccessibleJTable View Source This class implements accessibility support for the JTable class.
JTable.AccessibleJTable.AccessibleJTableCell View Source The class provides an implementation of the Java Accessibility API appropriate to table cells.
JTable.AccessibleJTable.AccessibleJTableModelChange View Source
JTable.DropLocation View Source A subclass of TransferHandler.DropLocation representing a drop location for a JTable.
JTable.PrintMode View Source Printing modes, used in printing JTables.
JTextArea View Source A JTextArea is a multi-line area that displays plain text.
JTextArea.AccessibleJTextArea View Source This class implements accessibility support for the JTextArea class.
JTextField View Source JTextField is a lightweight component that allows the editing of a single line of text.
JTextField.AccessibleJTextField View Source This class implements accessibility support for the JTextField class.
JTextPane View Source A text component that can be marked up with attributes that are represented graphically.
JToggleButton View Source An implementation of a two-state button.
JToggleButton.AccessibleJToggleButton View Source This class implements accessibility support for the JToggleButton class.
JToggleButton.ToggleButtonModel View Source The ToggleButton model
JToolBar View Source JToolBar provides a component that is useful for displaying commonly used Actions or controls.
JToolBar.AccessibleJToolBar View Source This class implements accessibility support for the JToolBar class.
JToolBar.Separator View Source A toolbar-specific separator.
JToolTip View Source Used to display a "Tip" for a Component.
JToolTip.AccessibleJToolTip View Source This class implements accessibility support for the JToolTip class.
JTree View Source A control that displays a set of hierarchical data as an outline.
JTree.AccessibleJTree View Source This class implements accessibility support for the JTree class.
JTree.AccessibleJTree.AccessibleJTreeNode View Source This class implements accessibility support for the JTree child.
JTree.DropLocation View Source A subclass of TransferHandler.DropLocation representing a drop location for a JTree.
JTree.DynamicUtilTreeNode View Source DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and create the appropriate children tree nodes as necessary.
JTree.EmptySelectionModel View Source EmptySelectionModel is a TreeSelectionModel that does not allow anything to be selected.
JTree.TreeModelHandler View Source Listens to the model and updates the expandedState accordingly when nodes are removed, or changed.
JTree.TreeSelectionRedirector View Source Handles creating a new TreeSelectionEvent with the JTree as the source and passing it off to all the listeners.
JViewport View Source The "viewport" or "porthole" through which you see the underlying information.
JViewport.AccessibleJViewport View Source This class implements accessibility support for the JViewport class.
JViewport.ViewListener View Source A listener for the view.
JWindow View Source A JWindow is a container that can be displayed anywhere on the user's desktop.
JWindow.AccessibleJWindow View Source This class implements accessibility support for the JWindow class.
KeyStroke View Source A KeyStroke represents a key action on the keyboard, or equivalent input device.
LayoutFocusTraversalPolicy View Source A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.
LayoutStyle View Source LayoutStyle provides information about how to position components.
LayoutStyle.ComponentPlacement View Source ComponentPlacement is an enumeration of the possible ways two components can be placed relative to each other.
ListCellRenderer View Source Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
ListModel View Source This interface defines the methods components like JList use to get the value of each cell in a list and the length of the list.
ListSelectionModel View Source This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
LookAndFeel View Source LookAndFeel, as the name implies, encapsulates a look and feel.
MenuElement View Source Any component that can be placed into a menu should implement this interface.
MenuSelectionManager View Source A MenuSelectionManager owns the selection in menu hierarchy.
MutableComboBoxModel View Source A mutable version of ComboBoxModel.
OverlayLayout View Source A layout manager to arrange components over the top of each other.
Popup View Source Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy.
PopupFactory View Source PopupFactory, as the name implies, is used to obtain instances of Popups.
ProgressMonitor View Source A class to monitor the progress of some operation.
ProgressMonitor.AccessibleProgressMonitor View Source AccessibleProgressMonitor implements accessibility support for the ProgressMonitor class.
ProgressMonitorInputStream View Source Monitors the progress of reading from some InputStream.
Renderer View Source Defines the requirements for an object responsible for "rendering" (displaying) a value.
RepaintManager View Source 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.
RootPaneContainer View Source This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.
RowFilter View Source RowFilter is used to filter out entries from the model so that they are not shown in the view.
RowFilter.ComparisonType View Source Enumeration of the possible comparison values supported by some of the default RowFilters.
RowFilter.Entry View Source An Entry object is passed to instances of RowFilter, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown.
RowSorter View Source RowSorter provides the basis for sorting and filtering.
RowSorter.SortKey View Source SortKey describes the sort order for a particular column.
Scrollable View Source An interface that provides information to a scrolling container like JScrollPane.
ScrollPaneConstants View Source Constants used with the JScrollPane component.
ScrollPaneLayout View Source The layout manager used by JScrollPane.
ScrollPaneLayout.UIResource View Source The UI resource version of ScrollPaneLayout.
SingleSelectionModel View Source A model that supports at most one indexed selection.
SizeRequirements View Source For the convenience of layout managers, calculates information about the size and position of components.
SizeSequence View Source A SizeSequence object efficiently maintains an ordered list of sizes and corresponding positions.
SortingFocusTraversalPolicy View Source A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator.
SortOrder View Source SortOrder is an enumeration of the possible sort orderings.
SpinnerDateModel View Source A SpinnerModel for sequences of Dates.
SpinnerListModel View Source A simple implementation of SpinnerModel whose values are defined by an array or a List.
SpinnerModel View Source A model for a potentially unbounded sequence of object values.
SpinnerNumberModel View Source A SpinnerModel for sequences of numbers.
Spring View Source An instance of the Spring class holds three properties that characterize its behavior: the minimum, preferred, and maximum values.
SpringLayout View Source A SpringLayout lays out the children of its associated container according to a set of constraints.
SpringLayout.Constraints View Source A Constraints object holds the constraints that govern the way a component's size and position change in a container controlled by a SpringLayout.
SwingConstants View Source A collection of constants generally used for positioning and orienting components on the screen.
SwingUtilities View Source A collection of utility methods for Swing.
SwingWorker View Source An abstract class to perform lengthy GUI-interacting tasks in a dedicated thread.
SwingWorker.StateValue View Source Values for the state bound property.
Timer View Source Fires one or more ActionEvents at specified intervals.
ToolTipManager View Source Manages all the ToolTips in the system.
ToolTipManager.insideTimerAction View Source
ToolTipManager.outsideTimerAction View Source
ToolTipManager.stillInsideTimerAction View Source
TransferHandler View Source This class is used to handle the transfer of a Transferable to and from Swing components.
TransferHandler.DropLocation View Source Represents a location where dropped data should be inserted.
TransferHandler.TransferSupport View Source This class encapsulates all relevant details of a clipboard or drag and drop transfer, and also allows for customizing aspects of the drag and drop experience.
UIDefaults View Source A table of defaults for Swing components.
UIDefaults.ActiveValue View Source This class enables one to store an entry in the defaults table that's constructed each time it's looked up with one of the getXXX(key) methods.
UIDefaults.LazyInputMap View Source LazyInputMap will create a InputMap in its createValue method.
UIDefaults.LazyValue View Source This class enables one to store an entry in the defaults table that isn't constructed until the first time it's looked up with one of the getXXX(key) methods.
UIDefaults.ProxyLazyValue View Source This class provides an implementation of LazyValue which can be used to delay loading of the Class for the instance to be created.
UIManager View Source UIManager manages the current look and feel, the set of available look and feels, PropertyChangeListeners that are notified when the look and feel changes, look and feel defaults, and convenience methods for obtaining various default values.
UIManager.LookAndFeelInfo View Source Provides a little information about an installed LookAndFeel for the sake of configuring a menu or for initial application set up.
UnsupportedLookAndFeelException View Source An exception that indicates the requested look & feel management classes are not present on the user's system.
ViewportLayout View Source The default layout manager for JViewport.
WindowConstants View Source Constants used to control the window-closing operation.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar