Package org.jdesktop.swingx
package org.jdesktop.swingx
Contains extensions to the Swing GUI toolkit, including new and enhanced
components that provide functionality commonly required by rich,
data-centric client applications. Many of these features will eventually
be incorporated into the Swing toolkit, although API compatibility will
not be guaranteed.
New or Enhanced Functionality
Auto-completion for TextFields and ComboBoxes
For more information, see the AutoComplete documentation.Enhanced Rendering Support for Collection Components
Built-In Search Support for Collection Components and JXEditorPane
Login/Authentication Framework
Painter-Enabled Components
Components that use painters for background rendering alter the functionality of howComponent.setBackground(java.awt.Color)
works.
Setting the background color of a painter-enabled component effectively sets
the background painter to paint the requested color.
Look and Feel implementors should note that setting a
java.swing.plaf.UIResource
to setBackground
will cause a
Painter
UIResource
to be installed. This means that
implementors should set the background before setting the painter as the last
one set wins.
New and Enhanced components
Buttons and Labels
Collection Components
These are sortable/filterable (with the exception of hierarchical components) with consistent and uniform SwingX rendering, highlighting, searching and rollover support.-
Table
uses the enhancedTableHeader
-
List
- rollover and sort/filter functionality is disabled by default -
Tree
-
TreeTable
- a new hierarchical component with support of tabular node properties
Top-level Windows, General and Special Purpose Containers
- Enhanced
Frame
using an extendedRootPane RootPane
to support aStatusBar
-
Dialog
-
Panel
-
ErrorPane
-
LoginPane
- Search components:
FindBar
used for incremental search (similar to FireFox),FindPanel
used in a find dialog, andSearchPanel
used for what was it? - Nested SplitPane
MultiSplitPane
- Vertical collapsing/expansion functionality is provided by a
CollapsiblePane
. A special purpose collapsible is theTaskPane
which typically is used to group buttons/hyperlinks which perform related tasks. A specialTaskPaneContainer
is responsible for the layout of several TaskPanes. - Easily configurable
TipOfTheDay
-
TitledPanel
Miscellaneous Components
- New calendar components: the
DatePicker
allows to select a single Date and aMonthView
showing the overview of one or more months. -
Header
-
TitledSeparator
-
JXColorSelectionButton
-
JXEditorPane
-
JXGradientChooser
-
JXGraph
- Image container
JXImageView
-
MultiThumbSlider
External Information Sources
SwingX Twiki Change History SwingLabs User and Developer Discussion Forum-
ClassDescriptionCommon base class of ui clients.A
RepaintManager
that is designed to forward all calls to a contained delegate.Organizes components in a horizontal layout.An applet that usesJXRootPane
as its root container.A simple circular animation, useful for denoting an action is taking place that may take an unknown length of time to complete.JXCollapsiblePane
provides a component which can collapse or expand its content area with animation and fade in/fade out effects.Tagging interface for containers in a JXCollapsiblePane hierarchy who needs to be revalidated (invalidate/validate/repaint) when the pane is expanding or collapsing.The direction defines how the collapsible pane will collapse.A button which allows the user to select a single color.JXComboBox<E>An enhancedJComboBox
that provides the following additional functionality:A component for entering dates with a user interaction similar to a JComboBox.First cut for enhanced Dialog.JXEditorPane
offers enhanced functionality over the standardJEditorPane
.JXErrorPane is a common error component suitable for displaying errors, warnings, and exceptional application behavior to users.A simple low-intrusion default widget for incremental search.JXFindPanel
is a basic find panel suitable for use in dialogs.JFormattedTextField
, with integrated support for prompts and buddies.JXFrame
is an enhancedJFrame
.An enumeration ofJXFrame
starting locations.A specialized JXPanel that allows the user to construct and choose a Gradient.JXGraph
provides a component which can display one or more plots on top of a graduated background (or grid.)A plot represents a mathematical transformation used byJXGraph
.JXHeader
is a simple component consisting of a title, a description, and an icon.Specifies desired location of the icon relative to the title/description text.A hyperlink component that derives from JButton to provide compatibility mostly for binding actions enabled/disabled behavior accessibility i18n etc...A panel which shows an image centered.interface IValuerelated to lineWrap supportText alignment enums.JXList<E>Enhanced List component with support for general SwingX sorting/filtering, rendering, highlighting, rollover and search functionality.A component adapter targeted at a JXList.JXLoginPane is a specialized JPanel that implements a Login dialog with support for saving passwords supplied for future use in a secure manner.The JXLoginPane can attempt to save certain user information such as the username, password, or both to their respective stores.Returns the status of the login processComponent that displays a month calendar which can be used to select a day or range of days.All properties in this class are bound: when a properties value is changed, all PropertyChangeListeners are fired.Draws a single Divider.A slider which can have multiple control points or Thumbs.An extendedJPanel
that provides additional features.JXRadioGroup<T>JXRadioGroup
is a group of radio buttons that functions as a unit.Extends the JRootPane by supporting specific placements for a toolbar and a status bar.A text field with a find icon in which the user enters text that identifies items to search for.Defines, how the find and cancel button are layouted.Defines when action events are posted.JXSearchPanel
provides complex searching features.A container forJComponents
that is typically placed at the bottom of a form and runs the entire width of the form.The constraint object to be used with theJXStatusBar
.Enhanced Table component with support for general SwingX sorting/filtering, rendering, highlighting, rollover and search functionality.The default editor forBoolean
types.Default editor registered forObject
.Editor forNumber
s.TableHeader with extended functionality if associated Table is of type JXTable.JXTaskPane
is a container for tasks and other arbitrary components.JXTaskPaneContainer
provides an elegant view to display a list of tasks ordered by groups (JXTaskPane
s).JTextArea
, with integrated support for prompts.JTextField
, with integrated support for prompts and buddies.Provides the "Tip of The Day" pane and dialog.Used in conjunction with theJXTipOfTheDay.showDialog(Component, ShowOnStartupChoice)
to save the "Show tips on startup" choice.A special type of Panel that has a Title section and a Content section.
The following properties can be set with the UIManager to change the look and feel of the JXTitledPanel: JXTitledPanel.titleForeground JXTitledPanel.titleBackground JXTitledPanel.titleFont JXTitledPanel.titlePainter JXTitledPanel.captionInsets ???A simple horizontal separator that contains a title.Enhanced Tree component with support for SwingX rendering, highlighting, rollover and search functionality.JXTreeTable
is a specializedtable
consisting of a single column in which to display hierarchical data, and any number of other columns in which to display regular data.Adapt TreeTableCellRenderer to TableModel used in ctor JXTreeTable(TreeTableCellRenderer renderer)JYList<E>JYList extends JList without extending features.An interface that describes an object that is capable of being accessed/used via a mnemonic keystroke.The MultiSplitLayout layout manager recursively arranges its components in row and column groups called "Splits".Models a single vertical/horiztonal divider.The specified Node is either the wrong type or was configured incorrectly.Models a java.awt Component child.Base class for the nodes that model a MultiSplitLayout.Defines a vertical or horizontal subdivision into two or more tiles.An implementation ofRepaintManager
which adds support for transparency inJXPanel
s.Sizing hints for layout, useful f.i. in a Scrollable implementation.StackLayout
is a Swing layout aimed to act as the layers stack of most popuplar graphics editing tools like The GIMP or Photoshop.A collection of utility methods for Swing(X) classes.An annotation that can be applied to aRepaintManager
to suggest that theRepaintManager
supports translucency.Organizes components in a vertical layout.FlowLayout subclass that fully supports wrapping of components.