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
to invalid reference
java.swing.plaf.UIResource
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 containers
ImageView
andImagePanel
(PENDING JW: merge/remove one?) -
MultiThumbSlider
External Information Sources
SwingX Twiki Change History SwingLabs User and Developer Discussion Forum-
ClassDescriptionA simple abstract class to handle common layout implementations.Common base class of ui clients.An interface to describe an object that is capable of painting with an alpha value.An interface to define the common methods that are required for defining a background painter.A
RepaintManager
that is designed to forward all calls to a contained delegate.Organizes components in a horizontal layout.BeanInfo class for HorizontalLayout.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.BeanInfo class for JXBusyLabel.BeanInfo class for JXButton.JXCollapsiblePane
provides a component which can collapse or expand its content area with animation and fade in/fade out effects.Parameters controlling the animationsTagging 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.BeanInfo class for JXCollapsiblePane.A button which allows the user to select a single color.An enhancedJComboBox
that provides the following additional functionality:A component for entering dates with a user interaction similar to a JComboBox.BeanInfo class for JXDatePicker.First cut for enhanced Dialog.JXEditorPane
offers enhanced functionality over the standardJEditorPane
.Handles sloppy HTML.JXErrorPane is a common error component suitable for displaying errors, warnings, and exceptional application behavior to users.BeanInfo class for JXErrorPane.A simple low-intrusion default widget for incremental search.BeanInfo class for JXFindBar.JXFindPanel
is a basic find panel suitable for use in dialogs.BeanInfo class for JXFindPanel.JFormattedTextField
, with integrated support for prompts and buddies.JXFrame
is an enhancedJFrame
.An enumeration ofJXFrame
starting locations.BeanInfo class for JXFrame.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
.Bean info forJXGraph
component.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.BeanInfo class for JXHeader.A hyperlink component that derives from JButton to provide compatibility mostly for binding actions enabled/disabled behavior accessibility i18n etc...BeanInfo class for JXHyperlink.Deprecated.(pre-1.6.2) use a JXPanel with an ImagePainter; see Issue 988A panel which shows an image centered.Root text view that acts as an renderer.Text alignment enums.BeanInfo class for JXLabel.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.Action that cancels the login procedure.Action that initiates a login procedure.Simple login service that allows everybody to login.Simple PasswordStore that does not remember passwordsThe 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.Fix for #951-swingx: JXMonthView looks weird in Netbeans form.All properties in this class are bound: when a properties value is changed, all PropertyChangeListeners are fired.Draws a single Divider.Bean info forJXMultiSplitPane
component.A slider which can have multiple control points or ThumbsAn extendedJPanel
that provides additional features.BeanInfo class for JXPanel.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.BeanInfo class for JXSearchPanel.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.BeanInfo class for JXTaskPane.JXTaskPaneContainer
provides an elegant view to display a list of tasks ordered by groups (JXTaskPane
s).BeanInfo class for JXTaskPaneContainer.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 JXTitledPanel.rightDecorationInsets JXTitledPanel.leftDecorationInsetsBeanInfo class for JXTitledPanel.A simple horizontal separator that contains a title.BeanInfo class for JXTitledSeparator.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.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.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.BeanInfo class for VerticalLayout.FlowLayout subclass that fully supports wrapping of components.