javax.swing.beaninfo | |
javax.swing.border | Provides classes and interface for drawing specialized borders around a Swing component. |
javax.swing.colorchooser | Contains classes and interfaces used by the JColorChooser component. |
javax.swing.event | Provides for events fired by Swing components. |
javax.swing.filechooser | Contains classes and interfaces used by the JFileChooser component. |
javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
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.multi | Provides user interface objects that combine two or more look and feels. |
javax.swing.plaf.nimbus | Provides user interface objects built according to the cross-platform Nimbus 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.text.html | Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. |
javax.swing.text.html.parser | Provides the default HTML parser, along with support classes. |
javax.swing.text.rtf | Provides a class ( RTFEditorKit ) for creating Rich-Text-Format text editors. |
javax.swing.tree | Provides classes and interfaces for dealing with javax.swing.JTree . |
javax.swing.undo | Allows developers to provide support for undo/redo in applications such as text editors. |
Action | The Action interface provides a useful extension to the
ActionListener
interface in cases where the same functionality may be accessed by
several controls. |
code | html |
BoundedRangeModel | Defines the data model used by components like Slider s
and ProgressBar s. |
code | html |
ButtonModel | State model for buttons. | code | html |
CellEditor | This interface defines the methods any general editor should be able to implement. | code | html |
ComboBoxEditor | The editor component used for JComboBox components. | code | html |
ComboBoxModel | A data model for a combo box. | code | html |
DesktopManager | DesktopManager objects are owned by a JDesktopPane object. | code | html |
GraphicsWrapper | A private interface to access clip bounds in wrapped Graphics objects. | code | html |
Icon | A small fixed size picture, typically used to decorate components. | code | html |
JComboBox.KeySelectionManager | The interface that defines a KeySelectionManager . |
code | html |
JTable.Resizable2 | code | html | |
JTable.Resizable3 | code | html | |
ListCellRenderer | Identifies components that can be used as "rubber stamps" to paint the cells in a JList. | code | html |
ListModel | 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. | code | html |
ListSelectionModel | This interface represents the current state of the selection for any of the components that display a list of values with stable indices. | code | html |
MenuElement | Any component that can be placed into a menu should implement this interface. | code | html |
MutableComboBoxModel | A mutable version of ComboBoxModel . |
code | html |
Painter | A painting delegate. |
code | html |
Renderer | Defines the requirements for an object responsible for "rendering" (displaying) a value. | code | html |
RootPaneContainer | This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame. | code | html |
ScrollPaneConstants | Constants used with the JScrollPane component. | code | html |
Scrollable | An interface that provides information to a scrolling container like JScrollPane. | code | html |
SingleSelectionModel | A model that supports at most one indexed selection. | code | html |
SpinnerModel | A model for a potentially unbounded sequence of object values. | code | html |
SwingConstants | A collection of constants generally used for positioning and orienting components on the screen. | code | html |
SwingHeavyWeight | An interface used to tag heavy weight components that we want processed by Swing's RepaintManager. | code | html |
TransferHandler.HasGetTransferHandler | An interface to tag things with a {@code getTransferHandler} method. | code | html |
UIDefaults.ActiveValue | 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. |
code | html |
UIDefaults.LazyValue | 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. |
code | html |
WindowConstants | Constants used to control the window-closing operation. | code | html |
AbstractAction | This class provides default implementations for the JFC Action
interface. |
code | html |
AbstractButton | Defines common behaviors for buttons and menu items. | code | html |
AbstractButton.AccessibleAbstractButton | This class implements accessibility support for the
AbstractButton class. |
code | html |
AbstractCellEditor | A base class for CellEditors , providing default
implementations for the methods in the CellEditor
interface except getCellEditorValue() . |
code | html |
AbstractListModel | The abstract definition for the data model that provides
a List with its contents. |
code | html |
AbstractSet | Empty | code | html |
AbstractSpinnerModel | This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations. | code | html |
ActionPropertyChangeListener | A package-private PropertyChangeListener which listens for property changes on an Action and updates the properties of an ActionEvent source. | code | html |
DefaultRowSorter | An implementation of RowSorter that provides sorting and
filtering around a grid-based data model. |
code | html |
DefaultRowSorter.ModelWrapper | DefaultRowSorter.ModelWrapper is responsible for providing
the data that gets sorted by DefaultRowSorter . |
code | html |
FocusManager | This class has been obsoleted by the 1.4 focus APIs. | code | html |
GroupLayout.Group | {@code Group} provides the basis for the two types of operations supported by {@code GroupLayout}: laying out components one after another (SequentialGroup ) or aligned (ParallelGroup ). | code | html |
GroupLayout.Spring | Spring consists of a range: min, pref and max, a value some where in the middle of that, and a location. | code | html |
InputVerifier | The purpose of this class is to help clients support smooth focus navigation through GUIs with text fields. | code | html |
InternalFrameFocusTraversalPolicy | A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component. | code | html |
JComponent | The base class for all Swing components except top-level containers. | code | html |
JComponent.AccessibleJComponent | Inner class of JComponent used to provide default support for accessibility. | code | html |
JFormattedTextField.AbstractFormatter | 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. |
code | html |
JFormattedTextField.AbstractFormatterFactory | Instances of AbstractFormatterFactory are used by
JFormattedTextField to obtain instances of
AbstractFormatter which in turn are used to format values. |
code | html |
LayoutStyle | LayoutStyle provides information about how to position
components. |
code | html |
LookAndFeel | {@code LookAndFeel}, as the name implies, encapsulates a look and feel. | code | html |
RowFilter | RowFilter is used to filter out entries from the
model so that they are not shown in the view. |
code | html |
RowFilter.Entry | 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. |
code | html |
RowFilter.GeneralFilter | code | html | |
RowSorter | RowSorter provides the basis for sorting and filtering. |
code | html |
Spring | An instance of the Spring class holds three properties that
characterize its behavior: the minimum, preferred, and
maximum values. |
code | html |
Spring.AbstractSpring | code | html | |
Spring.CompoundSpring | code | html | |
Spring.SpringMap | code | html | |
SwingWorker | An abstract class to perform lengthy GUI-interaction tasks in a background thread. | code | html |
ClientPropertyKey | An enumeration for keys used as client properties within the Swing implementation. | code | html |
DropMode | Drop modes, used to determine the method by which a component tracks and indicates a drop location during drag and drop. | code | html |
GroupLayout.Alignment | Enumeration of the possible ways {@code ParallelGroup} can align its children. | code | html |
JTable.PrintMode | Printing modes, used in printing JTable s. |
code | html |
LayoutStyle.ComponentPlacement | ComponentPlacement is an enumeration of the
possible ways two components can be placed relative to each
other. |
code | html |
MultiUIDefaults.MultiUIDefaultsEnumerator.Type | code | html | |
RowFilter.ComparisonType | Enumeration of the possible comparison values supported by
some of the default RowFilter s. |
code | html |
SortOrder | SortOrder is an enumeration of the possible sort orderings. | code | html |
SwingWorker.StateValue | Values for the {@code state} bound property. | code | html |
AbstractButton.AccessibleAbstractButton.ButtonKeyBinding | code | html | |
AbstractButton.ButtonActionPropertyChangeListener | code | html | |
AbstractButton.ButtonChangeListener | Extends ChangeListener to be serializable. |
code | html |
AbstractButton.Handler | code | html | |
ActionMap | ActionMap provides mappings from
Object s
(called keys or Action names)
to Action s. |
code | html |
ActionPropertyChangeListener.OwnedWeakReference | code | html | |
ActionProxy | code | html | |
AncestorNotifier | code | html | |
ArrayTable | code | html | |
Autoscroller | Autoscroller is responsible for generating synthetic mouse dragged events. | code | html |
BequestedFocusTraversalPolicy | code | html | |
BorderFactory | Factory class for vending standard Border objects. |
code | html |
Box | A lightweight container that uses a BoxLayout object as its layout manager. | code | html |
Box.AccessibleBox | This class implements accessibility support for the
Box class. |
code | html |
Box.Filler | An implementation of a lightweight component that participates in layout but has no view. | code | html |
Box.Filler.AccessibleBoxFiller | This class implements accessibility support for the
Box.Filler class. |
code | html |
BoxLayout | A layout manager that allows multiple components to be laid out either vertically or horizontally. | code | html |
BufferStrategyPaintManager | A PaintManager implementation that uses a BufferStrategy for rendering. | code | html |
BufferStrategyPaintManager.BufferInfo | BufferInfo is used to track the BufferStrategy being used for a particular Component. | code | html |
ButtonGroup | This class is used to create a multiple-exclusion scope for a set of buttons. | code | html |
CellRendererPane | This class is inserted in between cell renderers and the components that use them. | code | html |
CellRendererPane.AccessibleCellRendererPane | This class implements accessibility support for the
CellRendererPane class. |
code | html |
ColorChooserDialog | code | html | |
ColorChooserDialog.Closer | code | html | |
ColorChooserDialog.DisposeOnClose | code | html | |
ColorTracker | code | html | |
CompareTabOrderComparator | code | html | |
CompatibilityFocusTraversalPolicy | Provides compatibility to the older focus API in JComponent#setNextFocusableComponent(Component) . | code | html |
ComponentInputMap | A ComponentInputMap is an InputMap
associated with a particular JComponent . |
code | html |
DebugGraphics | Graphics subclass supporting graphics debugging. | code | html |
DebugGraphicsFilter | Color filter for DebugGraphics, used for images only. | code | html |
DebugGraphicsInfo | Class used by DebugGraphics for maintaining information about how to render graphics calls. | code | html |
DebugGraphicsObserver | ImageObserver for DebugGraphics, used for images only. | code | html |
DefaultBoundedRangeModel | A generic implementation of BoundedRangeModel. | code | html |
DefaultButtonModel | The default implementation of a Button component's data model. |
code | html |
DefaultCellEditor | The default editor for table and tree cells. | code | html |
DefaultCellEditor.EditorDelegate | The protected EditorDelegate class. |
code | html |
DefaultCellRenderer | code | html | |
DefaultComboBoxModel | The default model for combo boxes. | code | html |
DefaultDesktopManager | This is an implementation of the DesktopManager . |
code | html |
DefaultFocusManager | This class has been obsoleted by the 1.4 focus APIs. | code | html |
DefaultListCellRenderer | Renders an item in a list. | code | html |
DefaultListCellRenderer.UIResource | A subclass of DefaultListCellRenderer that implements UIResource. | code | html |
DefaultListModel | 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 ListDataListener s when changes occur. |
code | html |
DefaultListSelectionModel | Default data model for list selections. | code | html |
DefaultRowSorter.FilterEntry | RowFilter.Entry implementation that delegates to the ModelWrapper. | code | html |
DefaultRowSorter.Row | Row is used to handle the actual sorting by way of Comparable. | code | html |
DefaultSingleSelectionModel | A generic implementation of SingleSelectionModel. | code | html |
DelegatingDefaultFocusManager | Provides a javax.swing.DefaultFocusManager view onto an arbitrary java.awt.KeyboardFocusManager. | code | html |
GrayFilter | An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image. | code | html |
GroupLayout | {@code GroupLayout} is a {@code LayoutManager} that hierarchically groups components in order to position them in a {@code Container}. | code | html |
GroupLayout.AutoPreferredGapMatch | Represents two springs that should have autopadding inserted between them. | code | html |
GroupLayout.AutoPreferredGapSpring | Spring reprensenting the distance between any number of sources and targets. | code | html |
GroupLayout.BaselineGroup | An extension of {@code ParallelGroup} that aligns its constituent {@code Spring}s along the baseline. | code | html |
GroupLayout.ComponentInfo | Tracks the horizontal/vertical Springs for a Component. | code | html |
GroupLayout.ComponentSpring | code | html | |
GroupLayout.ContainerAutoPreferredGapSpring | An extension of AutopaddingSpring used for container level padding. | code | html |
GroupLayout.GapSpring | Spring represented a certain amount of space. | code | html |
GroupLayout.LinkInfo | code | html | |
GroupLayout.ParallelGroup | A {@code Group} that aligns and sizes it's children. | code | html |
GroupLayout.PreferredGapSpring | Spring representing the preferred distance between two components. | code | html |
GroupLayout.SequentialGroup | A {@code Group} that positions and sizes its elements sequentially, one after another. | code | html |
GroupLayout.SpringDelta | Used by SequentialGroup in calculating resizability of springs. | code | html |
ImageIcon | An implementation of the Icon interface that paints Icons from Images. | code | html |
ImageIcon.AccessibleImageIcon | This class implements accessibility support for the
ImageIcon class. |
code | html |
InputMap | InputMap provides a binding between an input event
(currently only KeyStroke s are used)
and an Object . |
code | html |
JApplet | An extended version of java.applet.Applet that adds support for
the JFC/Swing component architecture. |
code | html |
JApplet.AccessibleJApplet | This class implements accessibility support for the
JApplet class. |
code | html |
JButton | An implementation of a "push" button. | code | html |
JButton.AccessibleJButton | This class implements accessibility support for the
JButton class. |
code | html |
JCheckBox | An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user. | code | html |
JCheckBox.AccessibleJCheckBox | This class implements accessibility support for the
JCheckBox class. |
code | html |
JCheckBoxMenuItem | A menu item that can be selected or deselected. | code | html |
JCheckBoxMenuItem.AccessibleJCheckBoxMenuItem | This class implements accessibility support for the
JCheckBoxMenuItem class. |
code | html |
JColorChooser | JColorChooser provides a pane of controls designed to allow
a user to manipulate and select a color. |
code | html |
JColorChooser.AccessibleJColorChooser | This class implements accessibility support for the
JColorChooser class. |
code | html |
JComboBox | A component that combines a button or editable field and a drop-down list. | code | html |
JComboBox.AccessibleJComboBox | This class implements accessibility support for the
JComboBox class. |
code | html |
JComboBox.AccessibleJComboBox.AccessibleEditor | code | html | |
JComboBox.AccessibleJComboBox.AccessibleJComboBoxListSelectionListener | code | html | |
JComboBox.AccessibleJComboBox.AccessibleJComboBoxPopupMenuListener | code | html | |
JComboBox.AccessibleJComboBox.AccessibleJComboBoxPropertyChangeListener | code | html | |
JComboBox.AccessibleJComboBox.EditorAccessibleContext | code | html | |
JComboBox.ComboBoxActionPropertyChangeListener | code | html | |
JComboBox.DefaultKeySelectionManager | code | html | |
JComponent.AccessibleJComponent.AccessibleContainerHandler | Fire PropertyChange listener, if one is registered, when children added/removed. | code | html |
JComponent.AccessibleJComponent.AccessibleFocusHandler | Fire PropertyChange listener, if one is registered, when focus events happen | code | html |
JComponent.ActionStandin | ActionStandin is used as a standin for
ActionListeners that are
added via registerKeyboardAction . |
code | html |
JComponent.IntVector | code | html | |
JComponent.KeyboardState | code | html | |
JComponent.ReadObjectCallback | This object is the ObjectInputStream callback
that's called after a complete graph of objects (including at least
one JComponent ) has been read. |
code | html |
JDesktopPane | A container used to create a multiple-document interface or a virtual desktop. | code | html |
JDesktopPane.AccessibleJDesktopPane | This class implements accessibility support for the
JDesktopPane class. |
code | html |
JDesktopPane.ComponentPosition | code | html | |
JDialog | The main class for creating a dialog window. | code | html |
JDialog.AccessibleJDialog | This class implements accessibility support for the {@code JDialog} class. | code | html |
JEditorPane | A text component to edit various kinds of content. | code | html |
JEditorPane.AccessibleJEditorPane | This class implements accessibility support for the
JEditorPane class. |
code | html |
JEditorPane.AccessibleJEditorPaneHTML | This class provides support for AccessibleHypertext ,
and is used in instances where the EditorKit
installed in this JEditorPane is an instance of
HTMLEditorKit . |
code | html |
JEditorPane.HeaderParser | code | html | |
JEditorPane.JEditorPaneAccessibleHypertextSupport | What's returned by
AccessibleJEditorPaneHTML.getAccessibleText . |
code | html |
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink | code | html | |
JEditorPane.JEditorPaneAccessibleHypertextSupport.LinkVector | code | html | |
JEditorPane.PageLoader | Loads a stream into the text document model. | code | html |
JEditorPane.PlainEditorKit | code | html | |
JEditorPane.PlainEditorKit.PlainParagraph | Paragraph for representing plain-text lines that support bidirectional text. | code | html |
JEditorPane.PlainEditorKit.PlainParagraph.LogicalView | This class can be used to represent a logical view for a flow. | code | html |
JFileChooser | JFileChooser provides a simple mechanism for the user to
choose a file. |
code | html |
JFileChooser.AccessibleJFileChooser | This class implements accessibility support for the
JFileChooser class. |
code | html |
JFileChooser.WeakPCL | code | html | |
JFormattedTextField | JFormattedTextField extends JTextField adding
support for formatting arbitrary values, as well as retrieving a particular
object once the user has edited the text. |
code | html |
JFormattedTextField.CancelAction | CancelAction will reset the value in the JFormattedTextField when
actionPerformed is invoked. |
code | html |
JFormattedTextField.CommitAction | Used to commit the edit. | code | html |
JFormattedTextField.DocumentHandler | Sets the dirty state as the document changes. | code | html |
JFormattedTextField.FocusLostHandler | FOCUS_LOST behavior implementation | code | html |
JFrame | An extended version of java.awt.Frame that adds support for
the JFC/Swing component architecture. |
code | html |
JFrame.AccessibleJFrame | This class implements accessibility support for the
JFrame class. |
code | html |
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. | code | html |
JInternalFrame.AccessibleJInternalFrame | This class implements accessibility support for the
JInternalFrame class. |
code | html |
JInternalFrame.FocusPropertyChangeListener | code | html | |
JInternalFrame.JDesktopIcon | This component represents an iconified version of a
JInternalFrame . |
code | html |
JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon | This class implements accessibility support for the
JInternalFrame.JDesktopIcon class. |
code | html |
JLabel | A display area for a short text string or an image, or both. | code | html |
JLabel.AccessibleJLabel | The class used to obtain the accessible role for this object. | code | html |
JLabel.AccessibleJLabel.LabelKeyBinding | code | html | |
JLayer | {@code JLayer} is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all {@code AWTEvent}s generated within its borders. | code | html |
JLayer.DefaultLayerGlassPane | The default glassPane for the javax.swing.JLayer . | code | html |
JLayer.LayerEventController | static AWTEventListener to be shared with all AbstractLayerUIs | code | html |
JLayeredPane | JLayeredPane adds depth to a JFC/Swing container,
allowing components to overlap each other when needed. |
code | html |
JLayeredPane.AccessibleJLayeredPane | This class implements accessibility support for the
JLayeredPane class. |
code | html |
JList | A component that displays a list of objects and allows the user to select one or more items. | code | html |
JList.AccessibleJList | This class implements accessibility support for the {@code JList} class. | code | html |
JList.AccessibleJList.AccessibleJListChild | This class implements accessibility support appropriate for list children. | code | html |
JList.DropLocation | A subclass of TransferHandler.DropLocation representing
a drop location for a JList . |
code | html |
JList.ListSelectionHandler | code | html | |
JMenu | An implementation of a menu -- a popup window containing
JMenuItem s that
is displayed when the user selects an item on the JMenuBar . |
code | html |
JMenu.AccessibleJMenu | This class implements accessibility support for the
JMenu class. |
code | html |
JMenu.MenuChangeListener | code | html | |
JMenu.WinListener | A listener class that watches for a popup window closing. | code | html |
JMenuBar | An implementation of a menu bar. | code | html |
JMenuBar.AccessibleJMenuBar | This class implements accessibility support for the
JMenuBar class. |
code | html |
JMenuItem | An implementation of an item in a menu. | code | html |
JMenuItem.AccessibleJMenuItem | This class implements accessibility support for the
JMenuItem class. |
code | html |
JMenuItem.MenuItemFocusListener | code | html | |
JOptionPane | JOptionPane makes it easy to pop up a standard dialog box that
prompts users for a value or informs them of something. |
code | html |
JOptionPane.AccessibleJOptionPane | This class implements accessibility support for the
JOptionPane class. |
code | html |
JOptionPane.ModalPrivilegedAction | Retrieves a method from the provided class and makes it accessible. | code | html |
JPanel | JPanel is a generic lightweight container. |
code | html |
JPanel.AccessibleJPanel | This class implements accessibility support for the
JPanel class. |
code | html |
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. |
code | html |
JPasswordField.AccessibleJPasswordField | This class implements accessibility support for the
JPasswordField class. |
code | html |
JPopupMenu | An implementation of a popup menu -- a small window that pops up and displays a series of choices. | code | html |
JPopupMenu.AccessibleJPopupMenu | This class implements accessibility support for the
JPopupMenu class. |
code | html |
JPopupMenu.Separator | A popup menu-specific separator. | code | html |
JProgressBar | A component that visually displays the progress of some task. | code | html |
JProgressBar.AccessibleJProgressBar | This class implements accessibility support for the
JProgressBar class. |
code | html |
JProgressBar.ModelListener | code | html | |
JRadioButton | An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. | code | html |
JRadioButton.AccessibleJRadioButton | This class implements accessibility support for the
JRadioButton class. |
code | html |
JRadioButtonMenuItem | An implementation of a radio button menu item. | code | html |
JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem | This class implements accessibility support for the
JRadioButtonMenuItem class. |
code | html |
JRootPane | A lightweight container used behind the scenes by
JFrame , JDialog , JWindow ,
JApplet , and JInternalFrame . |
code | html |
JRootPane.AccessibleJRootPane | This class implements accessibility support for the
JRootPane class. |
code | html |
JRootPane.DefaultAction | code | html | |
JRootPane.RootLayout | A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar. | code | html |
JScrollBar | An implementation of a scrollbar. | code | html |
JScrollBar.AccessibleJScrollBar | This class implements accessibility support for the
JScrollBar class. |
code | html |
JScrollBar.ModelListener | This class listens to ChangeEvents on the model and forwards AdjustmentEvents for the sake of backwards compatibility. | code | html |
JScrollPane | Provides a scrollable view of a lightweight component. | code | html |
JScrollPane.AccessibleJScrollPane | This class implements accessibility support for the
JScrollPane class. |
code | html |
JScrollPane.ScrollBar | By default JScrollPane creates scrollbars
that are instances
of this class. |
code | html |
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. |
code | html |
JSeparator.AccessibleJSeparator | This class implements accessibility support for the
JSeparator class. |
code | html |
JSlider | A component that lets the user graphically select a value by sliding a knob within a bounded interval. | code | html |
JSlider.AccessibleJSlider | This class implements accessibility support for the
JSlider class. |
code | html |
JSlider.ModelListener | We pass Change events along to the listeners with the the slider (instead of the model itself) as the event source. | code | html |
JSpinner | A single line input field that lets the user select a number or an object value from an ordered sequence. | code | html |
JSpinner.AccessibleJSpinner | AccessibleJSpinner implements accessibility
support for the JSpinner class. |
code | html |
JSpinner.DateEditor | An editor for a JSpinner whose model is a
SpinnerDateModel . |
code | html |
JSpinner.DateEditorFormatter | This subclass of javax.swing.DateFormatter maps the minimum/maximum properties to te start/end properties of a SpinnerDateModel. | code | html |
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 . |
code | html |
JSpinner.DisabledAction | An Action implementation that is always disabled. | code | html |
JSpinner.ListEditor | An editor for a JSpinner whose model is a
SpinnerListModel . |
code | html |
JSpinner.ListEditor.ListFormatter | ListFormatter provides completion while text is being input into the JFormattedTextField. | code | html |
JSpinner.ListEditor.ListFormatter.Filter | code | html | |
JSpinner.ModelListener | We pass Change events along to the listeners with the
the slider (instead of the model itself) as the event source. |
code | html |
JSpinner.NumberEditor | An editor for a JSpinner whose model is a
SpinnerNumberModel . |
code | html |
JSpinner.NumberEditorFormatter | This subclass of javax.swing.NumberFormatter maps the minimum/maximum properties to a SpinnerNumberModel and initializes the valueClass of the NumberFormatter to match the type of the initial models value. | code | html |
JSplitPane | JSplitPane is used to divide two (and only two)
Component s. |
code | html |
JSplitPane.AccessibleJSplitPane | This class implements accessibility support for the
JSplitPane class. |
code | html |
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. | code | html |
JTabbedPane.AccessibleJTabbedPane | This class implements accessibility support for the
JTabbedPane class. |
code | html |
JTabbedPane.ModelListener | We pass ModelChanged events along to the listeners with
the tabbedpane (instead of the model itself) as the event source. |
code | html |
JTabbedPane.Page | code | html | |
JTable | The JTable is used to display and edit regular two-dimensional tables
of cells. |
code | html |
JTable.AccessibleJTable | This class implements accessibility support for the
JTable class. |
code | html |
JTable.AccessibleJTable.AccessibleJTableCell | The class provides an implementation of the Java Accessibility API appropriate to table cells. | code | html |
JTable.AccessibleJTable.AccessibleJTableHeaderCell | This class implements accessibility for JTable header cells. | code | html |
JTable.AccessibleJTable.AccessibleJTableModelChange | code | html | |
JTable.AccessibleJTable.AccessibleTableHeader | code | html | |
JTable.BooleanEditor | code | html | |
JTable.BooleanRenderer | code | html | |
JTable.CellEditorRemover | code | html | |
JTable.DateRenderer | code | html | |
JTable.DoubleRenderer | code | html | |
JTable.DropLocation | A subclass of TransferHandler.DropLocation representing
a drop location for a JTable . |
code | html |
JTable.GenericEditor | Default Editors | code | html |
JTable.IconRenderer | code | html | |
JTable.ModelChange | ModelChange is used when sorting to restore state, it corresponds to data from a TableModelEvent. | code | html |
JTable.NumberEditor | code | html | |
JTable.NumberRenderer | Default Renderers * | code | html |
JTable.SortManager | SortManager provides support for managing the selection and variable row heights when sorting is enabled. | code | html |
JTable.ThreadSafePrintable | A Printable implementation that wraps another
Printable , making it safe for printing on another thread. |
code | html |
JTextArea | A JTextArea is a multi-line area that displays plain text. |
code | html |
JTextArea.AccessibleJTextArea | This class implements accessibility support for the
JTextArea class. |
code | html |
JTextField | JTextField is a lightweight component that allows the editing
of a single line of text. |
code | html |
JTextField.AccessibleJTextField | This class implements accessibility support for the
JTextField class. |
code | html |
JTextField.NotifyAction | code | html | |
JTextField.ScrollRepainter | code | html | |
JTextField.TextFieldActionPropertyChangeListener | code | html | |
JTextPane | A text component that can be marked up with attributes that are represented graphically. | code | html |
JToggleButton | An implementation of a two-state button. | code | html |
JToggleButton.AccessibleJToggleButton | This class implements accessibility support for the
JToggleButton class. |
code | html |
JToggleButton.ToggleButtonModel | The ToggleButton model
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
code | html |
JToolBar | JToolBar provides a component that is useful for
displaying commonly used Action s or controls. |
code | html |
JToolBar.AccessibleJToolBar | This class implements accessibility support for the
JToolBar class. |
code | html |
JToolBar.DefaultToolBarLayout | code | html | |
JToolBar.Separator | A toolbar-specific separator. | code | html |
JToolTip | Used to display a "Tip" for a Component. | code | html |
JToolTip.AccessibleJToolTip | This class implements accessibility support for the
JToolTip class. |
code | html |
JTree | A control that displays a set of hierarchical data as an outline. | code | html |
JTree.AccessibleJTree | This class implements accessibility support for the
JTree class. |
code | html |
JTree.AccessibleJTree.AccessibleJTreeNode | This class implements accessibility support for the
JTree child. |
code | html |
JTree.DropLocation | A subclass of TransferHandler.DropLocation representing
a drop location for a JTree . |
code | html |
JTree.DynamicUtilTreeNode | DynamicUtilTreeNode can wrap
vectors/hashtables/arrays/strings and
create the appropriate children tree nodes as necessary. |
code | html |
JTree.EmptySelectionModel | EmptySelectionModel is a TreeSelectionModel
that does not allow anything to be selected. |
code | html |
JTree.TreeModelHandler | Listens to the model and updates the expandedState
accordingly when nodes are removed, or changed. |
code | html |
JTree.TreeSelectionRedirector | Handles creating a new TreeSelectionEvent with the
JTree as the
source and passing it off to all the listeners. |
code | html |
JTree.TreeTimer | code | html | |
JViewport | The "viewport" or "porthole" through which you see the underlying information. | code | html |
JViewport.AccessibleJViewport | This class implements accessibility support for the
JViewport class. |
code | html |
JViewport.ViewListener | A listener for the view. | code | html |
JWindow | A JWindow is a container that can be displayed anywhere on the
user's desktop. |
code | html |
JWindow.AccessibleJWindow | This class implements accessibility support for the
JWindow class. |
code | html |
KeyStroke | A KeyStroke represents a key action on the keyboard, or equivalent input device. | code | html |
KeyboardManager | The KeyboardManager class is used to help dispatch keyboard actions for the WHEN_IN_FOCUSED_WINDOW style actions. | code | html |
KeyboardManager.ComponentKeyStrokePair | This class is used to create keys for a hashtable which looks up topContainers based on component, keystroke pairs This is used to make unregistering KeyStrokes fast | code | html |
LayoutComparator | Comparator which attempts to sort Components based on their size and position. | code | html |
LayoutFocusTraversalPolicy | A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation. | code | html |
LayoutParameters | This class helps BoxLayout and OverlayLayout to layout their components and calculate all target's necessary parameters. | code | html |
LegacyGlueFocusTraversalPolicy | A FocusTraversalPolicy which provides support for legacy applications which handle focus traversal via JComponent.setNextFocusableComponent or by installing a custom DefaultFocusManager. | code | html |
LegacyLayoutFocusTraversalPolicy | code | html | |
MenuSelectionManager | A MenuSelectionManager owns the selection in menu hierarchy. | code | html |
MultiUIDefaults | code | html | |
MultiUIDefaults.MultiUIDefaultsEnumerator | code | html | |
OffscreenGraphics | code | html | |
OverlayLayout | A layout manager to arrange components over the top of each other. | code | html |
Popup | Popups are used to display a Component to the user, typically
on top of all the other Component s in a particular containment
hierarchy. |
code | html |
Popup.DefaultFrame | Used if no valid Window ancestor of the supplied owner is found. | code | html |
Popup.HeavyWeightWindow | Component used to house window. | code | html |
PopupFactory | PopupFactory , as the name implies, is used to obtain
instances of Popup s. |
code | html |
PopupFactory.ContainerPopup | ContainerPopup consolidates the common code used in the light/medium
weight implementations of Popup . |
code | html |
PopupFactory.HeadlessPopup | Popup implementation that is used in headless environment. | code | html |
PopupFactory.HeavyWeightPopup | Popup implementation that uses a Window as the popup. | code | html |
PopupFactory.LightWeightPopup | Popup implementation that uses a JPanel as the popup. | code | html |
PopupFactory.MediumWeightPopup | Popup implementation that uses a Panel as the popup. | code | html |
PopupFactory.MediumWeightPopup.MediumWeightComponent | code | html | |
ProgressMonitor | A class to monitor the progress of some operation. | code | html |
ProgressMonitor.AccessibleProgressMonitor | AccessibleProgressMonitor implements accessibility
support for the ProgressMonitor class. |
code | html |
ProgressMonitor.ProgressOptionPane | code | html | |
ProgressMonitorInputStream | Monitors the progress of reading from some InputStream. | code | html |
RepaintManager | 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. | code | html |
RepaintManager.DisplayChangedHandler | Listener installed to detect display changes. | code | html |
RepaintManager.DisplayChangedRunnable | code | html | |
RepaintManager.DoubleBufferInfo | code | html | |
RepaintManager.PaintManager | PaintManager is used to handle all double buffered painting for Swing. | code | html |
RepaintManager.ProcessingRunnable | Runnable used to process all repaint/revalidate requests. | code | html |
RowFilter.AndFilter | code | html | |
RowFilter.DateFilter | code | html | |
RowFilter.NotFilter | code | html | |
RowFilter.NumberFilter | code | html | |
RowFilter.OrFilter | code | html | |
RowFilter.RegexFilter | code | html | |
RowSorter.SortKey | SortKey describes the sort order for a particular column. | code | html |
ScrollPaneLayout | The layout manager used by JScrollPane . |
code | html |
ScrollPaneLayout.UIResource | The UI resource version of ScrollPaneLayout . |
code | html |
SizeRequirements | For the convenience of layout managers, calculates information about the size and position of components. | code | html |
SizeSequence | A SizeSequence object
efficiently maintains an ordered list
of sizes and corresponding positions. |
code | html |
SortingFocusTraversalPolicy | A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator. | code | html |
SpinnerDateModel | A SpinnerModel for sequences of Date s. |
code | html |
SpinnerListModel | A simple implementation of SpinnerModel whose
values are defined by an array or a List . |
code | html |
SpinnerNumberModel | A SpinnerModel for sequences of numbers. |
code | html |
Spring.HeightSpring | code | html | |
Spring.MaxSpring | code | html | |
Spring.NegativeSpring | code | html | |
Spring.ScaleSpring | code | html | |
Spring.StaticSpring | code | html | |
Spring.SumSpring | code | html | |
Spring.WidthSpring | code | html | |
SpringLayout | A SpringLayout lays out the children of its associated container
according to a set of constraints. |
code | html |
SpringLayout.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 . |
code | html |
SpringLayout.SpringProxy | code | html | |
SwingBeanInfoBase | The superclass for all Swing BeanInfo classes. | code | html |
SwingContainerOrderFocusTraversalPolicy | code | html | |
SwingDefaultFocusTraversalPolicy | code | html | |
SwingPaintEventDispatcher | Swing's PaintEventDispatcher. | code | html |
SwingUtilities | A collection of utility methods for Swing. | code | html |
SwingUtilities.SharedOwnerFrame | code | html | |
SwingWorker.DoSubmitAccumulativeRunnable | code | html | |
SwingWorker.SwingWorkerPropertyChangeSupport | code | html | |
TablePrintable | An implementation of Printable for printing
JTable s. |
code | html |
Timer | Fires one or more {@code ActionEvent}s at specified intervals. | code | html |
Timer.DoPostEvent | DoPostEvent is a runnable class that fires actionEvents to the listeners on the EventDispatchThread, via invokeLater. | code | html |
TimerQueue | Internal class to manage all Timers using one thread. | code | html |
TimerQueue.DelayedTimer | code | html | |
ToggleButtonModel | code | html | |
ToolTipManager | Manages all the ToolTips in the system. |
code | html |
ToolTipManager.AccessibilityKeyListener | code | html | |
ToolTipManager.MoveBeforeEnterListener | code | html | |
ToolTipManager.insideTimerAction | code | html | |
ToolTipManager.outsideTimerAction | code | html | |
ToolTipManager.stillInsideTimerAction | code | html | |
TransferHandler | This class is used to handle the transfer of a Transferable
to and from Swing components. |
code | html |
TransferHandler.DragHandler | This is the default drag handler for drag and drop operations that
use the TransferHandler . |
code | html |
TransferHandler.DropHandler | code | html | |
TransferHandler.DropLocation | Represents a location where dropped data should be inserted. | code | html |
TransferHandler.PropertyTransferable | code | html | |
TransferHandler.SwingDragGestureRecognizer | code | html | |
TransferHandler.SwingDropTarget | This is the default drop target for drag and drop operations if one isn't provided by the developer. | code | html |
TransferHandler.TransferAction | code | html | |
TransferHandler.TransferSupport | 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. | code | html |
UIDefaults | A table of defaults for Swing components. | code | html |
UIDefaults.LazyInputMap | LazyInputMap will create a InputMap
in its createValue
method. |
code | html |
UIDefaults.ProxyLazyValue | This class provides an implementation of LazyValue
which can be
used to delay loading of the Class for the instance to be created. |
code | html |
UIManager | {@code UIManager} manages the current look and feel, the set of available look and feels, {@code PropertyChangeListeners} that are notified when the look and feel changes, look and feel defaults, and convenience methods for obtaining various default values. | code | html |
UIManager.LAFState | This class defines the state managed by the UIManager . |
code | html |
UIManager.LookAndFeelInfo | Provides a little information about an installed
LookAndFeel for the sake of configuring a menu or
for initial application set up. |
code | html |
UnsupportedLookAndFeelException | An exception that indicates the requested look & feel management classes are not present on the user's system. | code | html |
ViewportLayout | The default layout manager for JViewport . |
code | html |
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, see Creating a GUI with JFC/Swing, a trail in The Java Tutorial. For other resources, see Related Documentation.
Typical Swing applications do processing in response to an event generated from a user gesture. For example, clicking on a {@code JButton} notifies all {@code ActionListeners} added to the {@code JButton}. As all events generated from a user gesture are dispatched on the event dispatching thread, most developers are not impacted by the restriction.
Where the impact lies, however, is in constructing and showing a Swing application. Calls to an application's {@code main} method, or methods in {@code Applet}, are not invoked on the event dispatching thread. As such, care must be taken to transfer control to the event dispatching thread when constructing and showing an application or applet. The preferred way to transfer control and begin working with Swing is to use {@code invokeLater}. The {@code invokeLater} method schedules a {@code Runnable} to be processed on the event dispatching thread. The following two examples work equally well for transferring control and starting up a Swing application:
public class MyApp implements Runnable { public void run() { // Invoked on the event dispatching thread. // Construct and show GUI. } public static void main(String[] args) { SwingUtilities.invokeLater(new MyApp(args)); } }Or:
public class MyApp { MyApp(String[] args) { // Invoked on the event dispatching thread. Do any initialization // here. } public void show() { // Show the UI. } public static void main(final String[] args) { // Schedule a job for the event-dispatching thread: // creating and showing this application's GUI. SwingUtilities.invokeLater(new Runnable() { public void run() { new MyApp(args).show(); } }); } }This restriction also applies to models attached to Swing components. For example, if a {@code TableModel} is attached to a {@code JTable}, the {@code TableModel} should only be modified on the event dispatching thread. If you modify the model on a separate thread you run the risk of exceptions and possible display corruption.
As all events are delivered on the event dispatching thread, care must be taken in event processing. In particular, a long running task, such as network io or computational intensive processing, executed on the event dispatching thread blocks the event dispatching thread from dispatching any other events. While the event dispatching thread is blocked the application is completely unresponsive to user input. Refer to javax.swing.SwingWorker for the preferred way to do such processing when working with Swing.
More information on this topic can be found in the Swing tutorial, in particular the section on How to Use Threads.
For overviews, tutorials, examples, guides, and other documentation, please see: