Liking cljdoc? Tell your friends :D

javax.swing.plaf.ActionMapUIResource

A subclass of javax.swing.ActionMap that implements UIResource. UI classes which provide an ActionMap should use this class.

A subclass of javax.swing.ActionMap that implements UIResource.
UI classes which provide an ActionMap should use this class.
raw docstring

javax.swing.plaf.basic.BasicArrowButton

JButton object that draws a scaled Arrow in one of the cardinal directions.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

JButton object that draws a scaled Arrow in one of the cardinal directions.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicBorders$RolloverButtonBorder

Special thin border for rollover toolbar buttons.

Special thin border for rollover toolbar buttons.
raw docstring

javax.swing.plaf.basic.BasicBorders$SplitPaneBorder

Draws the border around the splitpane. To work correctly you should also install a border on the divider (property SplitPaneDivider.border).

Draws the border around the splitpane. To work correctly you should
also install a border on the divider (property SplitPaneDivider.border).
raw docstring

javax.swing.plaf.basic.BasicCheckBoxUI

CheckboxUI implementation for BasicCheckboxUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

CheckboxUI implementation for BasicCheckboxUI

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicColorChooserUI

Provides the basic look and feel for a JColorChooser.

Provides the basic look and feel for a JColorChooser.
raw docstring

javax.swing.plaf.basic.BasicComboBoxEditor

The default editor for editable combo boxes. The editor is implemented as a JTextField.

The default editor for editable combo boxes. The editor is implemented as a JTextField.
raw docstring

javax.swing.plaf.basic.BasicComboBoxEditor$UIResource

A subclass of BasicComboBoxEditor that implements UIResource. BasicComboBoxEditor doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A subclass of BasicComboBoxEditor that implements UIResource.
BasicComboBoxEditor doesn't implement UIResource
directly so that applications can safely override the
cellRenderer property with BasicListCellRenderer subclasses.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicComboBoxRenderer

ComboBox renderer

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

ComboBox renderer

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicComboBoxRenderer$UIResource

A subclass of BasicComboBoxRenderer that implements UIResource. BasicComboBoxRenderer doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A subclass of BasicComboBoxRenderer that implements UIResource.
BasicComboBoxRenderer doesn't implement UIResource
directly so that applications can safely override the
cellRenderer property with BasicListCellRenderer subclasses.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicComboBoxUI

Basic UI implementation for JComboBox.

The combo box is a compound component which means that it is an aggregate of many simpler components. This class creates and manages the listeners on the combo box and the combo box model. These listeners update the user interface in response to changes in the properties and state of the combo box.

All event handling is handled by listener classes created with the createxxxListener() methods and internal classes. You can change the behavior of this class by overriding the createxxxListener() methods and supplying your own event listeners or subclassing from the ones supplied in this class.

For adding specific actions, overide installKeyboardActions to add actions in response to KeyStroke bindings. See the article How to Use Key Bindings

Basic UI implementation for JComboBox.

The combo box is a compound component which means that it is an aggregate of
many simpler components. This class creates and manages the listeners
on the combo box and the combo box model. These listeners update the user
interface in response to changes in the properties and state of the combo box.

All event handling is handled by listener classes created with the
createxxxListener() methods and internal classes.
You can change the behavior of this class by overriding the
createxxxListener() methods and supplying your own
event listeners or subclassing from the ones supplied in this class.

For adding specific actions,
overide installKeyboardActions to add actions in response to
KeyStroke bindings. See the article How to Use Key Bindings
raw docstring

javax.swing.plaf.basic.BasicComboPopup

This is a basic implementation of the ComboPopup interface.

This class represents the ui for the popup portion of the combo box.

All event handling is handled by listener classes created with the createxxxListener() methods and internal classes. You can change the behavior of this class by overriding the createxxxListener() methods and supplying your own event listeners or subclassing from the ones supplied in this class.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

This is a basic implementation of the ComboPopup interface.

This class represents the ui for the popup portion of the combo box.

All event handling is handled by listener classes created with the
createxxxListener() methods and internal classes.
You can change the behavior of this class by overriding the
createxxxListener() methods and supplying your own
event listeners or subclassing from the ones supplied in this class.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicEditorPaneUI

Provides the look and feel for a JEditorPane.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the look and feel for a JEditorPane.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicFormattedTextFieldUI

Provides the look and feel implementation for JFormattedTextField.

Provides the look and feel implementation for
JFormattedTextField.
raw docstring

javax.swing.plaf.basic.BasicHTML

Support for providing html views for the swing components. This translates a simple html string to a javax.swing.text.View implementation that can render the html and provide the necessary layout semantics.

Support for providing html views for the swing components.
This translates a simple html string to a javax.swing.text.View
implementation that can render the html and provide the necessary
layout semantics.
raw docstring

javax.swing.plaf.basic.BasicIconFactory

Factory object that can vend Icons appropriate for the basic L & F.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Factory object that can vend Icons appropriate for the basic L & F.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicInternalFrameTitlePane

The class that manages a basic title bar

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The class that manages a basic title bar

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicLabelUI

A Windows L&F implementation of LabelUI. This implementation is completely static, i.e. there's only one UIView implementation that's shared by all JLabel objects.

A Windows L&F implementation of LabelUI.  This implementation
is completely static, i.e. there's only one UIView implementation
that's shared by all JLabel objects.
raw docstring

javax.swing.plaf.basic.BasicListUI

An extensible implementation of ListUI.

BasicListUI instances cannot be shared between multiple lists.

An extensible implementation of ListUI.

BasicListUI instances cannot be shared between multiple
lists.
raw docstring

javax.swing.plaf.basic.BasicLookAndFeel

A base class to use in creating a look and feel for Swing.

Each of the ComponentUIs provided by BasicLookAndFeel derives its behavior from the defaults table. Unless otherwise noted each of the ComponentUI implementations in this package document the set of defaults they use. Unless otherwise noted the defaults are installed at the time installUI is invoked, and follow the recommendations outlined in LookAndFeel for installing defaults.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A base class to use in creating a look and feel for Swing.

Each of the ComponentUIs provided by BasicLookAndFeel derives its behavior from the defaults
table. Unless otherwise noted each of the ComponentUI
implementations in this package document the set of defaults they
use. Unless otherwise noted the defaults are installed at the time
installUI is invoked, and follow the recommendations
outlined in LookAndFeel for installing defaults.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicMenuBarUI

A default L&F implementation of MenuBarUI. This implementation is a "combined" view/controller.

A default L&F implementation of MenuBarUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicMenuUI

A default L&F implementation of MenuUI. This implementation is a "combined" view/controller.

A default L&F implementation of MenuUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicOptionPaneUI

Provides the basic look and feel for a JOptionPane. BasicMessagePaneUI provides a means to place an icon, message and buttons into a Container. Generally, the layout will look like:

   ------------------
   | i | message    |
   | c | message    |
   | o | message    |
   | n | message    |
   ------------------
   |     buttons    |
   |________________|

icon is an instance of Icon that is wrapped inside a JLabel. The message is an opaque object and is tested for the following: if the message is a Component it is added to the Container, if it is an Icon it is wrapped inside a JLabel and added to the Container otherwise it is wrapped inside a JLabel.

The above layout is used when the option pane's ComponentOrientation property is horizontal, left-to-right. The layout will be adjusted appropriately for other orientations.

The Container, message, icon, and buttons are all determined from abstract methods.

Provides the basic look and feel for a JOptionPane.
BasicMessagePaneUI provides a means to place an icon,
message and buttons into a Container.
Generally, the layout will look like:


       ------------------
       | i | message    |
       | c | message    |
       | o | message    |
       | n | message    |
       ------------------
       |     buttons    |
       |________________|
icon is an instance of Icon that is wrapped inside a
JLabel.  The message is an opaque object and is tested
for the following: if the message is a Component it is
added to the Container, if it is an Icon
it is wrapped inside a JLabel and added to the
Container otherwise it is wrapped inside a JLabel.

The above layout is used when the option pane's
ComponentOrientation property is horizontal, left-to-right.
The layout will be adjusted appropriately for other orientations.

The Container, message, icon, and buttons are all
determined from abstract methods.
raw docstring

javax.swing.plaf.basic.BasicOptionPaneUI$ButtonAreaLayout

ButtonAreaLayout behaves in a similar manner to FlowLayout. It lays out all components from left to right. If syncAllWidths is true, the widths of each component will be set to the largest preferred size width.

This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicOptionPaneUI.

ButtonAreaLayout behaves in a similar manner to
FlowLayout. It lays out all components from left to
right. If syncAllWidths is true, the widths of each
component will be set to the largest preferred size width.

This class should be treated as a "protected" inner class.
Instantiate it only within subclasses of BasicOptionPaneUI.
raw docstring

javax.swing.plaf.basic.BasicPasswordFieldUI

Provides the Windows look and feel for a password field. The only difference from the standard text field is that the view of the text is simply a string of the echo character as specified in JPasswordField, rather than the real text contained in the field.

Provides the Windows look and feel for a password field.
The only difference from the standard text field is that
the view of the text is simply a string of the echo
character as specified in JPasswordField, rather than the
real text contained in the field.
raw docstring

javax.swing.plaf.basic.BasicPopupMenuSeparatorUI

A Basic L&F implementation of PopupMenuSeparatorUI. This implementation is a "combined" view/controller.

A Basic L&F implementation of PopupMenuSeparatorUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicPopupMenuUI

A Windows L&F implementation of PopupMenuUI. This implementation is a "combined" view/controller.

A Windows L&F implementation of PopupMenuUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicRadioButtonUI

RadioButtonUI implementation for BasicRadioButtonUI

RadioButtonUI implementation for BasicRadioButtonUI
raw docstring

javax.swing.plaf.basic.BasicRootPaneUI

Basic implementation of RootPaneUI, there is one shared between all JRootPane instances.

Basic implementation of RootPaneUI, there is one shared between all
JRootPane instances.
raw docstring

javax.swing.plaf.basic.BasicSeparatorUI

A Basic L&F implementation of SeparatorUI. This implementation is a "combined" view/controller.

A Basic L&F implementation of SeparatorUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicSplitPaneDivider

Divider used by BasicSplitPaneUI. Subclassers may wish to override paint to do something more interesting. The border effect is drawn in BasicSplitPaneUI, so if you don't like that border, reset it there. To conditionally drag from certain areas subclass mousePressed and call super when you wish the dragging to begin.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Divider used by BasicSplitPaneUI. Subclassers may wish to override
paint to do something more interesting.
The border effect is drawn in BasicSplitPaneUI, so if you don't like
that border, reset it there.
To conditionally drag from certain areas subclass mousePressed and
call super when you wish the dragging to begin.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicTextAreaUI

Provides the look and feel for a plain text editor. In this implementation the default UI is extended to act as a simple view factory.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the look and feel for a plain text editor.  In this
implementation the default UI is extended to act as a simple
view factory.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicTextFieldUI

Basis of a look and feel for a JTextField.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Basis of a look and feel for a JTextField.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicTextPaneUI

Provides the look and feel for a styled text editor.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the look and feel for a styled text editor.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicTextUI

Basis of a text components look-and-feel. This provides the basic editor view and controller services that may be useful when creating a look-and-feel for an extension of JTextComponent.

Most state is held in the associated JTextComponent as bound properties, and the UI installs default values for the various properties. This default will install something for all of the properties. Typically, a LAF implementation will do more however. At a minimum, a LAF would generally install key bindings.

This class also provides some concurrency support if the Document associated with the JTextComponent is a subclass of AbstractDocument. Access to the View (or View hierarchy) is serialized between any thread mutating the model and the Swing event thread (which is expected to render, do model/view coordinate translation, etc). Any access to the root view should first acquire a read-lock on the AbstractDocument and release that lock in a finally block.

An important method to define is the getPropertyPrefix() method which is used as the basis of the keys used to fetch defaults from the UIManager. The string should reflect the type of TextUI (eg. TextField, TextArea, etc) without the particular LAF part of the name (eg Metal, Motif, etc).

To build a view of the model, one of the following strategies can be employed.

One strategy is to simply redefine the ViewFactory interface in the UI. By default, this UI itself acts as the factory for View implementations. This is useful for simple factories. To do this reimplement the create(javax.swing.text.Element) method.

A common strategy for creating more complex types of documents is to have the EditorKit implementation return a factory. Since the EditorKit ties all of the pieces necessary to maintain a type of document, the factory is typically an important part of that and should be produced by the EditorKit implementation.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

 Basis of a text components look-and-feel.  This provides the
basic editor view and controller services that may be useful
when creating a look-and-feel for an extension of
JTextComponent.

Most state is held in the associated JTextComponent
as bound properties, and the UI installs default values for the
various properties.  This default will install something for
all of the properties.  Typically, a LAF implementation will
do more however.  At a minimum, a LAF would generally install
key bindings.

This class also provides some concurrency support if the
Document associated with the JTextComponent is a subclass of
AbstractDocument.  Access to the View (or View hierarchy) is
serialized between any thread mutating the model and the Swing
event thread (which is expected to render, do model/view coordinate
translation, etc).  Any access to the root view should first
acquire a read-lock on the AbstractDocument and release that lock
in a finally block.

An important method to define is the getPropertyPrefix() method
which is used as the basis of the keys used to fetch defaults
from the UIManager.  The string should reflect the type of
TextUI (eg. TextField, TextArea, etc) without the particular
LAF part of the name (eg Metal, Motif, etc).

To build a view of the model, one of the following strategies
can be employed.


One strategy is to simply redefine the
ViewFactory interface in the UI.  By default, this UI itself acts
as the factory for View implementations.  This is useful
for simple factories.  To do this reimplement the
create(javax.swing.text.Element) method.

A common strategy for creating more complex types of documents
is to have the EditorKit implementation return a factory.  Since
the EditorKit ties all of the pieces necessary to maintain a type
of document, the factory is typically an important part of that
and should be produced by the EditorKit implementation.


Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.BasicToggleButtonUI

BasicToggleButton implementation

BasicToggleButton implementation
raw docstring

javax.swing.plaf.basic.BasicToolBarSeparatorUI

A Basic L&F implementation of ToolBarSeparatorUI. This implementation is a "combined" view/controller.

A Basic L&F implementation of ToolBarSeparatorUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.BasicToolBarUI

A Basic L&F implementation of ToolBarUI. This implementation is a "combined" view/controller.

A Basic L&F implementation of ToolBarUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.basic.ComboPopup

The interface which defines the methods required for the implementation of the popup portion of a combo box.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The interface which defines the methods required for the implementation of the popup
portion of a combo box.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.basic.core

No vars found in this namespace.

javax.swing.plaf.basic.DefaultMenuLayout

The default layout manager for Popup menus and menubars. This class is an extension of BoxLayout which adds the UIResource tag so that pluggable L&Fs can distinguish it from user-installed layout managers on menus.

The default layout manager for Popup menus and menubars.  This
class is an extension of BoxLayout which adds the UIResource tag
so that pluggable L&Fs can distinguish it from user-installed
layout managers on menus.
raw docstring

javax.swing.plaf.ButtonUI

Pluggable look and feel interface for JButton.

Pluggable look and feel interface for JButton.
raw docstring

javax.swing.plaf.ColorChooserUI

Pluggable look and feel interface for JColorChooser.

Pluggable look and feel interface for JColorChooser.
raw docstring

javax.swing.plaf.ComboBoxUI

Pluggable look and feel interface for JComboBox.

Pluggable look and feel interface for JComboBox.
raw docstring

javax.swing.plaf.ComponentInputMapUIResource

A subclass of javax.swing.ComponentInputMap that implements UIResource. UI classes which provide a ComponentInputMap should use this class.

A subclass of javax.swing.ComponentInputMap that implements UIResource.
UI classes which provide a ComponentInputMap should use this class.
raw docstring

javax.swing.plaf.ComponentUI

The base class for all UI delegate objects in the Swing pluggable look and feel architecture. The UI delegate object for a Swing component is responsible for implementing the aspects of the component that depend on the look and feel. The JComponent class invokes methods from this class in order to delegate operations (painting, layout calculations, etc.) that may vary depending on the look and feel installed. Client programs should not invoke methods on this class directly.

The base class for all UI delegate objects in the Swing pluggable
look and feel architecture.  The UI delegate object for a Swing
component is responsible for implementing the aspects of the
component that depend on the look and feel.
The JComponent class
invokes methods from this class in order to delegate operations
(painting, layout calculations, etc.) that may vary depending on the
look and feel installed.  Client programs should not invoke methods
on this class directly.
raw docstring

javax.swing.plaf.core

No vars found in this namespace.

javax.swing.plaf.DesktopIconUI

Pluggable look and feel interface for JDesktopIcon.

Pluggable look and feel interface for JDesktopIcon.
raw docstring

javax.swing.plaf.DesktopPaneUI

Pluggable look and feel interface for JDesktopPane.

Pluggable look and feel interface for JDesktopPane.
raw docstring

javax.swing.plaf.FontUIResource

A subclass of java.awt.Font that implements UIResource. UI classes which set default font properties should use this class.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A subclass of java.awt.Font that implements UIResource.
UI classes which set default font properties should use
this class.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.IconUIResource

An Icon wrapper class which implements UIResource. UI classes which set icon properties should use this class to wrap any icons specified as defaults.

This class delegates all method invocations to the Icon "delegate" object specified at construction.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

An Icon wrapper class which implements UIResource.  UI
classes which set icon properties should use this class
to wrap any icons specified as defaults.

This class delegates all method invocations to the
Icon "delegate" object specified at construction.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.InputMapUIResource

A subclass of javax.swing.InputMap that implements UIResource. UI classes which provide a InputMap should use this class.

A subclass of javax.swing.InputMap that implements UIResource.
UI classes which provide a InputMap should use this class.
raw docstring

javax.swing.plaf.InternalFrameUI

Pluggable look and feel interface for JInternalFrame.

Pluggable look and feel interface for JInternalFrame.
raw docstring

javax.swing.plaf.LabelUI

Pluggable look and feel interface for JLabel.

Pluggable look and feel interface for JLabel.
raw docstring

javax.swing.plaf.LayerUI

The base class for all JLayer's UI delegates.

paint(java.awt.Graphics, javax.swing.JComponent) method performs the painting of the JLayer and eventDispatched(AWTEvent, JLayer) method is notified about any AWTEvents which have been generated by a JLayer or any of its subcomponents.

The LayerUI differs from the UI delegates of the other components, because it is LookAndFeel independent and is not updated by default when the system LookAndFeel is changed.

The subclasses of LayerUI can either be stateless and shareable by multiple JLayers or not shareable.

The base class for all JLayer's UI delegates.

paint(java.awt.Graphics, javax.swing.JComponent) method performs the
painting of the JLayer
and eventDispatched(AWTEvent, JLayer) method is notified
about any AWTEvents which have been generated by a JLayer
or any of its subcomponents.

The LayerUI differs from the UI delegates of the other components,
because it is LookAndFeel independent and is not updated by default when
the system LookAndFeel is changed.

The subclasses of LayerUI can either be stateless and shareable
by multiple JLayers or not shareable.
raw docstring

javax.swing.plaf.ListUI

The JList pluggable look and feel delegate.

The JList pluggable look and feel delegate.
raw docstring

javax.swing.plaf.MenuBarUI

Pluggable look and feel interface for JMenuBar.

Pluggable look and feel interface for JMenuBar.
raw docstring

javax.swing.plaf.MenuItemUI

Pluggable look and feel interface for JMenuItem.

Pluggable look and feel interface for JMenuItem.
raw docstring

javax.swing.plaf.metal.core

No vars found in this namespace.

javax.swing.plaf.metal.DefaultMetalTheme

A concrete implementation of MetalTheme providing the original look of the Java Look and Feel, code-named "Steel". Refer to MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme) for details on changing the default theme.

All colors returned by DefaultMetalTheme are completely opaque.

Font Style

DefaultMetalTheme uses bold fonts for many controls. To make all controls (with the exception of the internal frame title bars and client decorated frame title bars) use plain fonts you can do either of the following:

Set the system property swing.boldMetal to false. For example, java -Dswing.boldMetal=false MyApp. Set the defaults property swing.boldMetal to Boolean.FALSE. For example: UIManager.put("swing.boldMetal", Boolean.FALSE);

The defaults property swing.boldMetal, if set, takes precedence over the system property of the same name. After setting this defaults property you need to re-install MetalLookAndFeel, as well as update the UI of any previously created widgets. Otherwise the results are undefined. The following illustrates how to do this:

// turn off bold fonts UIManager.put("swing.boldMetal", Boolean.FALSE);

// re-install the Metal Look and Feel UIManager.setLookAndFeel(new MetalLookAndFeel());

// Update the ComponentUIs for all Components. This // needs to be invoked for all windows. SwingUtilities.updateComponentTreeUI(rootComponent);

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A concrete implementation of MetalTheme providing
the original look of the Java Look and Feel, code-named "Steel". Refer
to MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme) for details on changing
the default theme.

All colors returned by DefaultMetalTheme are completely
opaque.

Font Style

DefaultMetalTheme uses bold fonts for many controls.  To make all
controls (with the exception of the internal frame title bars and
client decorated frame title bars) use plain fonts you can do either of
the following:

Set the system property swing.boldMetal to
    false.  For example,
    java -Dswing.boldMetal=false MyApp.
Set the defaults property swing.boldMetal to
    Boolean.FALSE.  For example:
    UIManager.put("swing.boldMetal", Boolean.FALSE);

The defaults property swing.boldMetal, if set,
takes precedence over the system property of the same name. After
setting this defaults property you need to re-install
MetalLookAndFeel, as well as update the UI
of any previously created widgets. Otherwise the results are undefined.
The following illustrates how to do this:


  // turn off bold fonts
  UIManager.put("swing.boldMetal", Boolean.FALSE);

  // re-install the Metal Look and Feel
  UIManager.setLookAndFeel(new MetalLookAndFeel());

  // Update the ComponentUIs for all Components. This
  // needs to be invoked for all windows.
  SwingUtilities.updateComponentTreeUI(rootComponent);

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalBorders

Factory object that can vend Borders appropriate for the metal L & F.

Factory object that can vend Borders appropriate for the metal L & F.
raw docstring

javax.swing.plaf.metal.MetalButtonUI

MetalButtonUI implementation

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

MetalButtonUI implementation

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalCheckBoxIcon

CheckboxIcon implementation for OrganicCheckBoxUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

CheckboxIcon implementation for OrganicCheckBoxUI

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalCheckBoxUI

CheckboxUI implementation for MetalCheckboxUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

CheckboxUI implementation for MetalCheckboxUI

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalComboBoxButton

JButton subclass to help out MetalComboBoxUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

JButton subclass to help out MetalComboBoxUI

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalComboBoxEditor

The default editor for Metal editable combo boxes

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The default editor for Metal editable combo boxes

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalComboBoxEditor$UIResource

A subclass of BasicComboBoxEditor that implements UIResource. BasicComboBoxEditor doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A subclass of BasicComboBoxEditor that implements UIResource.
BasicComboBoxEditor doesn't implement UIResource
directly so that applications can safely override the
cellRenderer property with BasicListCellRenderer subclasses.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalComboBoxIcon

This utility class draws the horizontal bars which indicate a MetalComboBox

This utility class draws the horizontal bars which indicate a MetalComboBox
raw docstring

javax.swing.plaf.metal.MetalComboBoxUI

Metal UI for JComboBox

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Metal UI for JComboBox

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalIconFactory

Factory object that vends Icons for the Java™ look and feel (Metal). These icons are used extensively in Metal via the defaults mechanism. While other look and feels often use GIFs for icons, creating icons in code facilitates switching to other themes.

Each method in this class returns either an Icon or null, where null implies that there is no default icon.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Factory object that vends Icons for
the Java™ look and feel (Metal).
These icons are used extensively in Metal via the defaults mechanism.
While other look and feels often use GIFs for icons, creating icons
in code facilitates switching to other themes.


Each method in this class returns
either an Icon or null,
where null implies that there is no default icon.


Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalIconFactory$FileIcon16

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

 Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalIconFactory$FolderIcon16

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

 Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalIconFactory$TreeControlIcon

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

 Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

 Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalLabelUI

A Windows L&F implementation of LabelUI. This implementation is completely static, i.e. there's only one UIView implementation that's shared by all JLabel objects.

A Windows L&F implementation of LabelUI.  This implementation
is completely static, i.e. there's only one UIView implementation
that's shared by all JLabel objects.
raw docstring

javax.swing.plaf.metal.MetalLookAndFeel

The Java Look and Feel, otherwise known as Metal.

Each of the ComponentUIs provided by MetalLookAndFeel derives its behavior from the defaults table. Unless otherwise noted each of the ComponentUI implementations in this package document the set of defaults they use. Unless otherwise noted the defaults are installed at the time installUI is invoked, and follow the recommendations outlined in LookAndFeel for installing defaults.

MetalLookAndFeel derives it's color palette and fonts from MetalTheme. The default theme is OceanTheme. The theme can be changed using the setCurrentTheme method, refer to it for details on changing the theme. Prior to 1.5 the default theme was DefaultMetalTheme. The system property "swing.metalTheme" can be set to "steel" to indicate the default should be DefaultMetalTheme.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The Java Look and Feel, otherwise known as Metal.

Each of the ComponentUIs provided by MetalLookAndFeel derives its behavior from the defaults
table. Unless otherwise noted each of the ComponentUI
implementations in this package document the set of defaults they
use. Unless otherwise noted the defaults are installed at the time
installUI is invoked, and follow the recommendations
outlined in LookAndFeel for installing defaults.

MetalLookAndFeel derives it's color palette and fonts from
MetalTheme. The default theme is OceanTheme. The theme
can be changed using the setCurrentTheme method, refer to it
for details on changing the theme. Prior to 1.5 the default
theme was DefaultMetalTheme. The system property
"swing.metalTheme" can be set to "steel" to indicate
the default should be DefaultMetalTheme.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalMenuBarUI

Metal implementation of MenuBarUI. This class is responsible for providing the metal look and feel for JMenuBars.

Metal implementation of MenuBarUI. This class is responsible
for providing the metal look and feel for JMenuBars.
raw docstring

javax.swing.plaf.metal.MetalPopupMenuSeparatorUI

A Metal L&F implementation of PopupMenuSeparatorUI. This implementation is a "combined" view/controller.

A Metal L&F implementation of PopupMenuSeparatorUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.metal.MetalProgressBarUI

The Metal implementation of ProgressBarUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The Metal implementation of ProgressBarUI.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalRadioButtonUI

RadioButtonUI implementation for MetalRadioButtonUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

RadioButtonUI implementation for MetalRadioButtonUI

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalRootPaneUI

Provides the metal look and feel implementation of RootPaneUI.

MetalRootPaneUI provides support for the windowDecorationStyle property of JRootPane. MetalRootPaneUI does this by way of installing a custom LayoutManager, a private Component to render the appropriate widgets, and a private Border. The LayoutManager is always installed, regardless of the value of the windowDecorationStyle property, but the Border and Component are only installed/added if the windowDecorationStyle is other than JRootPane.NONE.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the metal look and feel implementation of RootPaneUI.

MetalRootPaneUI provides support for the
windowDecorationStyle property of JRootPane.
MetalRootPaneUI does this by way of installing a custom
LayoutManager, a private Component to render
the appropriate widgets, and a private Border. The
LayoutManager is always installed, regardless of the value of
the windowDecorationStyle property, but the
Border and Component are only installed/added if
the windowDecorationStyle is other than
JRootPane.NONE.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalScrollBarUI

Implementation of ScrollBarUI for the Metal Look and Feel

Implementation of ScrollBarUI for the Metal Look and Feel
raw docstring

javax.swing.plaf.metal.MetalScrollButton

JButton object for Metal scrollbar arrows.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

JButton object for Metal scrollbar arrows.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalScrollPaneUI

A Metal L&F implementation of ScrollPaneUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A Metal L&F implementation of ScrollPaneUI.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalSeparatorUI

A Metal L&F implementation of SeparatorUI. This implementation is a "combined" view/controller.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A Metal L&F implementation of SeparatorUI.  This implementation
is a "combined" view/controller.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalSliderUI

A Java L&F implementation of SliderUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A Java L&F implementation of SliderUI.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalSplitPaneUI

Metal split pane.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Metal split pane.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalTabbedPaneUI

The Metal subclass of BasicTabbedPaneUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The Metal subclass of BasicTabbedPaneUI.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalTextFieldUI

Basis of a look and feel for a JTextField.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Basis of a look and feel for a JTextField.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalTheme

MetalTheme provides the color palette and fonts used by the Java Look and Feel.

MetalTheme is abstract, see DefaultMetalTheme and OceanTheme for concrete implementations.

MetalLookAndFeel maintains the current theme that the the ComponentUI implementations for metal use. Refer to MetalLookAndFeel.setCurrentTheme(MetalTheme) for details on changing the current theme.

MetalTheme provides a number of public methods for getting colors. These methods are implemented in terms of a handful of protected abstract methods. A subclass need only override the protected abstract methods (getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, and getSecondary3); although a subclass may override the other public methods for more control over the set of colors that are used.

Concrete implementations of MetalTheme must return non-null values from all methods. While the behavior of returning null is not specified, returning null will result in incorrect behavior.

It is strongly recommended that subclasses return completely opaque colors. To do otherwise may result in rendering problems, such as visual garbage.

MetalTheme provides the color palette and fonts used by
the Java Look and Feel.

MetalTheme is abstract, see DefaultMetalTheme and
OceanTheme for concrete implementations.

MetalLookAndFeel maintains the current theme that the
the ComponentUI implementations for metal use. Refer to
MetalLookAndFeel.setCurrentTheme(MetalTheme) for details on changing
the current theme.

MetalTheme provides a number of public methods for getting
colors. These methods are implemented in terms of a
handful of protected abstract methods. A subclass need only override
the protected abstract methods (getPrimary1,
getPrimary2, getPrimary3, getSecondary1,
getSecondary2, and getSecondary3); although a subclass
may override the other public methods for more control over the set of
colors that are used.

Concrete implementations of MetalTheme must return non-null
values from all methods. While the behavior of returning null is
not specified, returning null will result in incorrect behavior.

It is strongly recommended that subclasses return completely opaque colors.
To do otherwise may result in rendering problems, such as visual garbage.
raw docstring

javax.swing.plaf.metal.MetalToggleButtonUI

MetalToggleButton implementation

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

MetalToggleButton implementation

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalToolBarUI

A Metal Look and Feel implementation of ToolBarUI. This implementation is a "combined" view/controller.

A Metal Look and Feel implementation of ToolBarUI.  This implementation
is a "combined" view/controller.
raw docstring

javax.swing.plaf.metal.MetalToolTipUI

A Metal L&F extension of BasicToolTipUI.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A Metal L&F extension of BasicToolTipUI.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.metal.MetalTreeUI

The metal look and feel implementation of TreeUI.

MetalTreeUI allows for configuring how to visually render the spacing and delineation between nodes. The following hints are supported:

Angled A line is drawn connecting the child to the parent. For handling of the root node refer to JTree.setRootVisible(boolean) and JTree.setShowsRootHandles(boolean).

Horizontal
A horizontal line is drawn dividing the children of the root node.


 None
 Do not draw any visual indication between nodes.

As it is typically impractical to obtain the TreeUI from the JTree and cast to an instance of MetalTreeUI you enable this property via the client property JTree.lineStyle. For example, to switch to Horizontal style you would do: tree.putClientProperty("JTree.lineStyle", "Horizontal");

The default is Angled.

The metal look and feel implementation of TreeUI.

MetalTreeUI allows for configuring how to
visually render the spacing and delineation between nodes. The following
hints are supported:



   Angled
   A line is drawn connecting the child to the parent. For handling
         of the root node refer to
         JTree.setRootVisible(boolean) and
         JTree.setShowsRootHandles(boolean).



    Horizontal
    A horizontal line is drawn dividing the children of the root node.


     None
     Do not draw any visual indication between nodes.




As it is typically impractical to obtain the TreeUI from
the JTree and cast to an instance of MetalTreeUI
you enable this property via the client property
JTree.lineStyle. For example, to switch to
Horizontal style you would do:
tree.putClientProperty("JTree.lineStyle", "Horizontal");

The default is Angled.
raw docstring

javax.swing.plaf.metal.OceanTheme

The default theme for the MetalLookAndFeel.

The designers of the Metal Look and Feel strive to keep the default look up to date, possibly through the use of new themes in the future. Therefore, developers should only use this class directly when they wish to customize the "Ocean" look, or force it to be the current theme, regardless of future updates.

All colors returned by OceanTheme are completely opaque.

The default theme for the MetalLookAndFeel.

The designers
of the Metal Look and Feel strive to keep the default look up to
date, possibly through the use of new themes in the future.
Therefore, developers should only use this class directly when they
wish to customize the "Ocean" look, or force it to be the current
theme, regardless of future updates.


All colors returned by OceanTheme are completely
opaque.
raw docstring

javax.swing.plaf.multi.core

No vars found in this namespace.

javax.swing.plaf.multi.MultiButtonUI

A multiplexing UI used to combine ButtonUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ButtonUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiColorChooserUI

A multiplexing UI used to combine ColorChooserUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ColorChooserUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiComboBoxUI

A multiplexing UI used to combine ComboBoxUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ComboBoxUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiDesktopIconUI

A multiplexing UI used to combine DesktopIconUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine DesktopIconUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiDesktopPaneUI

A multiplexing UI used to combine DesktopPaneUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine DesktopPaneUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiInternalFrameUI

A multiplexing UI used to combine InternalFrameUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine InternalFrameUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiLabelUI

A multiplexing UI used to combine LabelUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine LabelUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiListUI

A multiplexing UI used to combine ListUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ListUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiLookAndFeel

A multiplexing look and feel that allows more than one UI to be associated with a component at the same time. The primary look and feel is called the default look and feel, and the other look and feels are called auxiliary.

For further information, see Using the Multiplexing Look and Feel.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

A multiplexing look and feel that allows more than one UI
to be associated with a component at the same time.
The primary look and feel is called
the default look and feel,
and the other look and feels are called auxiliary.


For further information, see
Using the
Multiplexing Look and Feel.


Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.multi.MultiMenuBarUI

A multiplexing UI used to combine MenuBarUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine MenuBarUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiMenuItemUI

A multiplexing UI used to combine MenuItemUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine MenuItemUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiOptionPaneUI

A multiplexing UI used to combine OptionPaneUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine OptionPaneUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiPanelUI

A multiplexing UI used to combine PanelUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine PanelUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiPopupMenuUI

A multiplexing UI used to combine PopupMenuUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine PopupMenuUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiProgressBarUI

A multiplexing UI used to combine ProgressBarUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ProgressBarUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiRootPaneUI

A multiplexing UI used to combine RootPaneUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine RootPaneUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiScrollBarUI

A multiplexing UI used to combine ScrollBarUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ScrollBarUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiScrollPaneUI

A multiplexing UI used to combine ScrollPaneUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ScrollPaneUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiSeparatorUI

A multiplexing UI used to combine SeparatorUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine SeparatorUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiSliderUI

A multiplexing UI used to combine SliderUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine SliderUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiSpinnerUI

A multiplexing UI used to combine SpinnerUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine SpinnerUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiTabbedPaneUI

A multiplexing UI used to combine TabbedPaneUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine TabbedPaneUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiTableHeaderUI

A multiplexing UI used to combine TableHeaderUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine TableHeaderUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiTableUI

A multiplexing UI used to combine TableUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine TableUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiToolBarUI

A multiplexing UI used to combine ToolBarUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ToolBarUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiToolTipUI

A multiplexing UI used to combine ToolTipUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ToolTipUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.multi.MultiViewportUI

A multiplexing UI used to combine ViewportUIs.

This file was automatically generated by AutoMulti.

A multiplexing UI used to combine ViewportUIs.

This file was automatically generated by AutoMulti.
raw docstring

javax.swing.plaf.nimbus.AbstractRegionPainter

Convenient base class for defining Painter instances for rendering a region or component in Nimbus.

Convenient base class for defining Painter instances for rendering a
region or component in Nimbus.
raw docstring

javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext

A class encapsulating state useful when painting. Generally, instances of this class are created once, and reused for each paint request without modification. This class contains values useful when hinting the cache engine, and when decoding control points and bezier curve anchors.

A class encapsulating state useful when painting. Generally, instances of this
class are created once, and reused for each paint request without modification.
This class contains values useful when hinting the cache engine, and when decoding
control points and bezier curve anchors.
raw docstring

javax.swing.plaf.nimbus.core

No vars found in this namespace.

javax.swing.plaf.nimbus.NimbusStyle

A SynthStyle implementation used by Nimbus. Each Region that has been registered with the NimbusLookAndFeel will have an associated NimbusStyle. Third party components that are registered with the NimbusLookAndFeel will therefore be handed a NimbusStyle from the look and feel from the #getStyle(JComponent, Region) method.

This class properly reads and retrieves values placed in the UIDefaults according to the standard Nimbus naming conventions. It will create and retrieve painters, fonts, colors, and other data stored there.

NimbusStyle also supports the ability to override settings on a per component basis. NimbusStyle checks the component's client property map for "Nimbus.Overrides". If the value associated with this key is an instance of UIDefaults, then the values in that defaults table will override the standard Nimbus defaults in UIManager, but for that component instance only.

Optionally, you may specify the client property "Nimbus.Overrides.InheritDefaults". If true, this client property indicates that the defaults located in UIManager should first be read, and then replaced with defaults located in the component client properties. If false, then only the defaults located in the component client property map will be used. If not specified, it is assumed to be true.

You must specify "Nimbus.Overrides" for "Nimbus.Overrides.InheritDefaults" to have any effect. "Nimbus.Overrides" indicates whether there are any overrides, while "Nimbus.Overrides.InheritDefaults" indicates whether those overrides should first be initialized with the defaults from UIManager.

The NimbusStyle is reloaded whenever a property change event is fired for a component for "Nimbus.Overrides" or "Nimbus.Overrides.InheritDefaults". So for example, setting a new UIDefaults on a component would cause the style to be reloaded.

The values are only read out of UIManager once, and then cached. If you need to read the values again (for example, if the UI is being reloaded), then discard this NimbusStyle and read a new one from NimbusLookAndFeel using NimbusLookAndFeel.getStyle.

The primary API of interest in this class for 3rd party component authors are the three methods which retrieve painters: #getBackgroundPainter, #getForegroundPainter, and #getBorderPainter.

NimbusStyle allows you to specify custom states, or modify the order of states. Synth (and thus Nimbus) has the concept of a "state". For example, a JButton might be in the "MOUSE_OVER" state, or the "ENABLED" state, or the "DISABLED" state. These are all "standard" states which are defined in synth, and which apply to all synth Regions.

Sometimes, however, you need to have a custom state. For example, you want JButton to render differently if it's parent is a JToolbar. In Nimbus, you specify these custom states by including a special key in UIDefaults. The following UIDefaults entries define three states for this button:

JButton.States = Enabled, Disabled, Toolbar
JButton[Enabled].backgroundPainter = somePainter
JButton[Disabled].background = BLUE
JButton[Toolbar].backgroundPainter = someOtherPaint

As you can see, the JButton.States entry lists the states that the JButton style will support. You then specify the settings for each state. If you do not specify the JButton.States entry, then the standard Synth states will be assumed. If you specify the entry but the list of states is empty or null, then the standard synth states will be assumed.

A SynthStyle implementation used by Nimbus. Each Region that has been
registered with the NimbusLookAndFeel will have an associated NimbusStyle.
Third party components that are registered with the NimbusLookAndFeel will
therefore be handed a NimbusStyle from the look and feel from the
#getStyle(JComponent, Region) method.

This class properly reads and retrieves values placed in the UIDefaults
according to the standard Nimbus naming conventions. It will create and
retrieve painters, fonts, colors, and other data stored there.

NimbusStyle also supports the ability to override settings on a per
component basis. NimbusStyle checks the component's client property map for
"Nimbus.Overrides". If the value associated with this key is an instance of
UIDefaults, then the values in that defaults table will override the standard
Nimbus defaults in UIManager, but for that component instance only.

Optionally, you may specify the client property
"Nimbus.Overrides.InheritDefaults". If true, this client property indicates
that the defaults located in UIManager should first be read, and then
replaced with defaults located in the component client properties. If false,
then only the defaults located in the component client property map will
be used. If not specified, it is assumed to be true.

You must specify "Nimbus.Overrides" for "Nimbus.Overrides.InheritDefaults"
to have any effect. "Nimbus.Overrides" indicates whether there are any
overrides, while "Nimbus.Overrides.InheritDefaults" indicates whether those
overrides should first be initialized with the defaults from UIManager.

The NimbusStyle is reloaded whenever a property change event is fired
for a component for "Nimbus.Overrides" or "Nimbus.Overrides.InheritDefaults".
So for example, setting a new UIDefaults on a component would cause the
style to be reloaded.

The values are only read out of UIManager once, and then cached. If
you need to read the values again (for example, if the UI is being reloaded),
then discard this NimbusStyle and read a new one from NimbusLookAndFeel
using NimbusLookAndFeel.getStyle.

The primary API of interest in this class for 3rd party component authors
are the three methods which retrieve painters: #getBackgroundPainter,
#getForegroundPainter, and #getBorderPainter.

NimbusStyle allows you to specify custom states, or modify the order of
states. Synth (and thus Nimbus) has the concept of a "state". For example,
a JButton might be in the "MOUSE_OVER" state, or the "ENABLED" state, or the
"DISABLED" state. These are all "standard" states which are defined in synth,
and which apply to all synth Regions.

Sometimes, however, you need to have a custom state. For example, you
want JButton to render differently if it's parent is a JToolbar. In Nimbus,
you specify these custom states by including a special key in UIDefaults.
The following UIDefaults entries define three states for this button:



    JButton.States = Enabled, Disabled, Toolbar
    JButton[Enabled].backgroundPainter = somePainter
    JButton[Disabled].background = BLUE
    JButton[Toolbar].backgroundPainter = someOtherPaint

As you can see, the JButton.States entry lists the states
that the JButton style will support. You then specify the settings for
each state. If you do not specify the JButton.States entry,
then the standard Synth states will be assumed. If you specify the entry
but the list of states is empty or null, then the standard synth states
will be assumed.
raw docstring

javax.swing.plaf.nimbus.State

Represents a built in, or custom, state in Nimbus.

Synth provides several built in states, which are:

Enabled Mouse Over Pressed Disabled Focused Selected Default

However, there are many more states that could be described in a LookAndFeel, and it would be nice to style components differently based on these different states. For example, a progress bar could be "indeterminate". It would be very convenient to allow this to be defined as a "state".

This class, State, is intended to be used for such situations. Simply implement the abstract #isInState method. It returns true if the given JComponent is "in this state", false otherwise. This method will be called many times in performance sensitive loops. It must execute very quickly.

For example, the following might be an implementation of a custom "Indeterminate" state for JProgressBars:

public final class IndeterminateState extends State<JProgressBar> {
    public IndeterminateState() {
        super("Indeterminate");
    }

    @Override
    protected boolean isInState(JProgressBar c) {
        return c.isIndeterminate();
    }
}
Represents a built in, or custom, state in Nimbus.

Synth provides several built in states, which are:

 Enabled
 Mouse Over
 Pressed
 Disabled
 Focused
 Selected
 Default


However, there are many more states that could be described in a LookAndFeel, and it
would be nice to style components differently based on these different states.
For example, a progress bar could be "indeterminate". It would be very convenient
to allow this to be defined as a "state".

This class, State, is intended to be used for such situations.
Simply implement the abstract #isInState method. It returns true if the given
JComponent is "in this state", false otherwise. This method will be called
many times in performance sensitive loops. It must execute
very quickly.

For example, the following might be an implementation of a custom
"Indeterminate" state for JProgressBars:



    public final class IndeterminateState extends State<JProgressBar> {
        public IndeterminateState() {
            super("Indeterminate");
        }

        @Override
        protected boolean isInState(JProgressBar c) {
            return c.isIndeterminate();
        }
    }
raw docstring

javax.swing.plaf.OptionPaneUI

Pluggable look and feel interface for JOptionPane.

Pluggable look and feel interface for JOptionPane.
raw docstring

javax.swing.plaf.PanelUI

Pluggable look and feel interface for Panel.

Pluggable look and feel interface for Panel.
raw docstring

javax.swing.plaf.PopupMenuUI

Pluggable look and feel interface for JPopupMenu.

Pluggable look and feel interface for JPopupMenu.
raw docstring

javax.swing.plaf.ProgressBarUI

Pluggable look and feel interface for JProgressBar.

Pluggable look and feel interface for JProgressBar.
raw docstring

javax.swing.plaf.RootPaneUI

Pluggable look and feel interface for JRootPane.

Pluggable look and feel interface for JRootPane.
raw docstring

javax.swing.plaf.ScrollBarUI

Pluggable look and feel interface for JScrollBar.

Pluggable look and feel interface for JScrollBar.
raw docstring

javax.swing.plaf.ScrollPaneUI

Pluggable look and feel interface for JScrollPane.

Pluggable look and feel interface for JScrollPane.
raw docstring

javax.swing.plaf.SeparatorUI

Pluggable look and feel interface for JSeparator.

Pluggable look and feel interface for JSeparator.
raw docstring

javax.swing.plaf.SliderUI

Pluggable look and feel interface for JSlider.

Pluggable look and feel interface for JSlider.
raw docstring

javax.swing.plaf.SpinnerUI

Pluggable look and feel interface for JSpinner

Pluggable look and feel interface for JSpinner
raw docstring

javax.swing.plaf.synth.ColorType

A typesafe enumeration of colors that can be fetched from a style.

Each SynthStyle has a set of ColorTypes that are accessed by way of the SynthStyle.getColor(SynthContext, ColorType) method. SynthStyle's installDefaults will install the FOREGROUND color as the foreground of the Component, and the BACKGROUND color to the background of the component (assuming that you have not explicitly specified a foreground and background color). Some components support more color based properties, for example JList has the property selectionForeground which will be mapped to FOREGROUND with a component state of SynthConstants.SELECTED.

The following example shows a custom SynthStyle that returns a red Color for the DISABLED state, otherwise a black color.

class MyStyle extends SynthStyle { private Color disabledColor = new ColorUIResource(Color.RED); private Color color = new ColorUIResource(Color.BLACK); protected Color getColorForState(SynthContext context, ColorType type){ if (context.getComponentState() == SynthConstants.DISABLED) { return disabledColor; } return color; } }

A typesafe enumeration of colors that can be fetched from a style.

Each SynthStyle has a set of ColorTypes that
are accessed by way of the
SynthStyle.getColor(SynthContext, ColorType) method.
SynthStyle's installDefaults will install
the FOREGROUND color
as the foreground of
the Component, and the BACKGROUND color to the background of
the component (assuming that you have not explicitly specified a
foreground and background color). Some components
support more color based properties, for
example JList has the property
selectionForeground which will be mapped to
FOREGROUND with a component state of
SynthConstants.SELECTED.

The following example shows a custom SynthStyle that returns
a red Color for the DISABLED state, otherwise a black color.


class MyStyle extends SynthStyle {
    private Color disabledColor = new ColorUIResource(Color.RED);
    private Color color = new ColorUIResource(Color.BLACK);
    protected Color getColorForState(SynthContext context, ColorType type){
        if (context.getComponentState() == SynthConstants.DISABLED) {
            return disabledColor;
        }
        return color;
    }
}
raw docstring

javax.swing.plaf.synth.core

No vars found in this namespace.

javax.swing.plaf.synth.Region

A distinct rendering area of a Swing component. A component may support one or more regions. Specific component regions are defined by the typesafe enumeration in this class.

Regions are typically used as a way to identify the Components and areas a particular style is to apply to. Synth's file format allows you to bind styles based on the name of a Region. The name is derived from the field name of the constant:

Map all characters to lowercase. Map the first character to uppercase. Map the first character after underscores to uppercase. Remove all underscores.

For example, to identify the SPLIT_PANE Region you would use SplitPane. The following shows a custom SynthStyleFactory that returns a specific style for split panes:

public SynthStyle getStyle(JComponent c, Region id) { if (id == Region.SPLIT_PANE) { return splitPaneStyle; } ... } The following xml accomplishes the same thing:

<style id="splitPaneStyle"> ... </style>

<bind style="splitPaneStyle" type="region" key="SplitPane"/>

A distinct rendering area of a Swing component.  A component may
support one or more regions.  Specific component regions are defined
by the typesafe enumeration in this class.

Regions are typically used as a way to identify the Components
and areas a particular style is to apply to. Synth's file format allows you
to bind styles based on the name of a Region.
The name is derived from the field name of the constant:

 Map all characters to lowercase.
 Map the first character to uppercase.
 Map the first character after underscores to uppercase.
 Remove all underscores.

For example, to identify the SPLIT_PANE
Region you would use SplitPane.
The following shows a custom SynthStyleFactory
that returns a specific style for split panes:


   public SynthStyle getStyle(JComponent c, Region id) {
       if (id == Region.SPLIT_PANE) {
           return splitPaneStyle;
       }
       ...
   }
The following xml
accomplishes the same thing:


<style id="splitPaneStyle">
  ...
</style>
<bind style="splitPaneStyle" type="region" key="SplitPane"/>
raw docstring

javax.swing.plaf.synth.SynthCheckBoxMenuItemUI

Provides the Synth L&F UI delegate for JCheckBoxMenuItem.

Provides the Synth L&F UI delegate for
JCheckBoxMenuItem.
raw docstring

javax.swing.plaf.synth.SynthCheckBoxUI

Provides the Synth L&F UI delegate for JCheckBox.

Provides the Synth L&F UI delegate for
JCheckBox.
raw docstring

javax.swing.plaf.synth.SynthColorChooserUI

Provides the Synth L&F UI delegate for JColorChooser.

Provides the Synth L&F UI delegate for
JColorChooser.
raw docstring

javax.swing.plaf.synth.SynthConstants

Constants used by Synth. Not all Components support all states. A Component will at least be in one of the primary states. That is, the return value from SynthContext.getComponentState() will at least be one of ENABLED, MOUSE_OVER, PRESSED or DISABLED, and may also contain FOCUSED, SELECTED or DEFAULT.

Constants used by Synth. Not all Components support all states. A
Component will at least be in one of the primary states. That is, the
return value from SynthContext.getComponentState() will at
least be one of ENABLED, MOUSE_OVER,
PRESSED or DISABLED, and may also contain
FOCUSED, SELECTED or DEFAULT.
raw docstring

No vars found in this namespace.

javax.swing.plaf.synth.SynthContext

An immutable transient object containing contextual information about a Region. A SynthContext should only be considered valid for the duration of the method it is passed to. In other words you should not cache a SynthContext that is passed to you and expect it to remain valid.

An immutable transient object containing contextual information about
a Region. A SynthContext should only be
considered valid for the duration
of the method it is passed to. In other words you should not cache
a SynthContext that is passed to you and expect it to
remain valid.
raw docstring

javax.swing.plaf.synth.SynthDesktopIconUI

Provides the Synth L&F UI delegate for a minimized internal frame on a desktop.

Provides the Synth L&F UI delegate for a minimized internal frame on a desktop.
raw docstring

javax.swing.plaf.synth.SynthDesktopPaneUI

Provides the Synth L&F UI delegate for JDesktopPane.

Provides the Synth L&F UI delegate for
JDesktopPane.
raw docstring

javax.swing.plaf.synth.SynthEditorPaneUI

Provides the Synth L&F UI delegate for JEditorPane.

Provides the Synth L&F UI delegate for
JEditorPane.
raw docstring

javax.swing.plaf.synth.SynthFormattedTextFieldUI

Provides the Synth L&F UI delegate for JFormattedTextField.

Provides the Synth L&F UI delegate for
JFormattedTextField.
raw docstring

javax.swing.plaf.synth.SynthInternalFrameUI

Provides the Synth L&F UI delegate for JInternalFrame.

Provides the Synth L&F UI delegate for
JInternalFrame.
raw docstring

javax.swing.plaf.synth.SynthListUI

Provides the Synth L&F UI delegate for JList.

Provides the Synth L&F UI delegate for
JList.
raw docstring

javax.swing.plaf.synth.SynthLookAndFeel

SynthLookAndFeel provides the basis for creating a customized look and feel. SynthLookAndFeel does not directly provide a look, all painting is delegated. You need to either provide a configuration file, by way of the load(java.io.InputStream, java.lang.Class<?>) method, or provide your own SynthStyleFactory to setStyleFactory(javax.swing.plaf.synth.SynthStyleFactory). Refer to the package summary for an example of loading a file, and SynthStyleFactory for an example of providing your own SynthStyleFactory to setStyleFactory.

Warning: This class implements Serializable as a side effect of it extending BasicLookAndFeel. It is not intended to be serialized. An attempt to serialize it will result in NotSerializableException.

SynthLookAndFeel provides the basis for creating a customized look and
feel. SynthLookAndFeel does not directly provide a look, all painting is
delegated.
You need to either provide a configuration file, by way of the
load(java.io.InputStream, java.lang.Class<?>) method, or provide your own SynthStyleFactory
to setStyleFactory(javax.swing.plaf.synth.SynthStyleFactory). Refer to the
package summary for an example of
loading a file, and SynthStyleFactory for
an example of providing your own SynthStyleFactory to
setStyleFactory.

Warning:
This class implements Serializable as a side effect of it
extending BasicLookAndFeel. It is not intended to be serialized.
An attempt to serialize it will
result in NotSerializableException.
raw docstring

javax.swing.plaf.synth.SynthMenuBarUI

Provides the Synth L&F UI delegate for JMenuBar.

Provides the Synth L&F UI delegate for
JMenuBar.
raw docstring

javax.swing.plaf.synth.SynthMenuItemUI

Provides the Synth L&F UI delegate for JMenuItem.

Provides the Synth L&F UI delegate for
JMenuItem.
raw docstring

javax.swing.plaf.synth.SynthMenuUI

Provides the Synth L&F UI delegate for JMenu.

Provides the Synth L&F UI delegate for
JMenu.
raw docstring

javax.swing.plaf.synth.SynthOptionPaneUI

Provides the Synth L&F UI delegate for JOptionPane.

Provides the Synth L&F UI delegate for
JOptionPane.
raw docstring

javax.swing.plaf.synth.SynthPainter

SynthPainter is used for painting portions of JComponents. At a minimum each JComponent has two paint methods: one for the border and one for the background. Some JComponents have more than one Region, and as a consequence more paint methods.

Instances of SynthPainter are obtained from the SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) method.

You typically supply a SynthPainter by way of Synth's file format. The following example registers a painter for all JButtons that will render the image myImage.png:

<style id="buttonStyle"> <imagePainter path="myImage.png" sourceInsets="2 2 2 2" paintCenter="true" stretch="true"/> <insets top="2" bottom="2" left="2" right="2"/> </style>

<bind style="buttonStyle" type="REGION" key="button"/>

SynthPainter is abstract in so far as it does no painting, all the methods are empty. While none of these methods are typed to throw an exception, subclasses can assume that valid arguments are passed in, and if not they can throw a NullPointerException or IllegalArgumentException in response to invalid arguments.

SynthPainter is used for painting portions of
JComponents. At a minimum each JComponent
has two paint methods: one for the border and one for the background. Some
JComponents have more than one Region, and as
a consequence more paint methods.

Instances of SynthPainter are obtained from the
SynthStyle.getPainter(javax.swing.plaf.synth.SynthContext) method.

You typically supply a SynthPainter by way of Synth's
file format. The following
example registers a painter for all JButtons that will
render the image myImage.png:


 <style id="buttonStyle">
   <imagePainter path="myImage.png" sourceInsets="2 2 2 2"
                 paintCenter="true" stretch="true"/>
   <insets top="2" bottom="2" left="2" right="2"/>
 </style>
 <bind style="buttonStyle" type="REGION" key="button"/>

SynthPainter is abstract in so far as it does no painting,
all the methods
are empty. While none of these methods are typed to throw an exception,
subclasses can assume that valid arguments are passed in, and if not
they can throw a NullPointerException or
IllegalArgumentException in response to invalid arguments.
raw docstring

javax.swing.plaf.synth.SynthPasswordFieldUI

Provides the Synth L&F UI delegate for JPasswordField.

Provides the Synth L&F UI delegate for
JPasswordField.
raw docstring

javax.swing.plaf.synth.SynthPopupMenuUI

Provides the Synth L&F UI delegate for JPopupMenu.

Provides the Synth L&F UI delegate for
JPopupMenu.
raw docstring

javax.swing.plaf.synth.SynthRadioButtonMenuItemUI

Provides the Synth L&F UI delegate for JRadioButtonMenuItem.

Provides the Synth L&F UI delegate for
JRadioButtonMenuItem.
raw docstring

javax.swing.plaf.synth.SynthRadioButtonUI

Provides the Synth L&F UI delegate for JRadioButton.

Provides the Synth L&F UI delegate for
JRadioButton.
raw docstring

javax.swing.plaf.synth.SynthRootPaneUI

Provides the Synth L&F UI delegate for JRootPane.

Provides the Synth L&F UI delegate for
JRootPane.
raw docstring

javax.swing.plaf.synth.SynthScrollPaneUI

Provides the Synth L&F UI delegate for JScrollPane.

Provides the Synth L&F UI delegate for
JScrollPane.
raw docstring

javax.swing.plaf.synth.SynthSpinnerUI

Provides the Synth L&F UI delegate for JSpinner.

Provides the Synth L&F UI delegate for
JSpinner.
raw docstring

javax.swing.plaf.synth.SynthStyle

SynthStyle is a set of style properties. Each SynthUI references at least one SynthStyle that is obtained using a SynthStyleFactory. You typically don't need to interact with this class directly, rather you will load a Synth File Format file into SynthLookAndFeel that will create a set of SynthStyles.

SynthStyle is a set of style properties.
Each SynthUI references at least one
SynthStyle that is obtained using a
SynthStyleFactory. You typically don't need to interact with
this class directly, rather you will load a
Synth File Format file into
SynthLookAndFeel that will create a set of SynthStyles.
raw docstring

javax.swing.plaf.synth.SynthStyleFactory

Factory used for obtaining SynthStyles. Each of the Synth ComponentUIs will call into the current SynthStyleFactory to obtain a SynthStyle for each of the distinct regions they have.

The following example creates a custom SynthStyleFactory that returns a different style based on the Region:

class MyStyleFactory extends SynthStyleFactory { public SynthStyle getStyle(JComponent c, Region id) { if (id == Region.BUTTON) { return buttonStyle; } else if (id == Region.TREE) { return treeStyle; } return defaultStyle; } } SynthLookAndFeel laf = new SynthLookAndFeel(); UIManager.setLookAndFeel(laf); SynthLookAndFeel.setStyleFactory(new MyStyleFactory());

Factory used for obtaining SynthStyles.  Each of the
Synth ComponentUIs will call into the current
SynthStyleFactory to obtain a SynthStyle
for each of the distinct regions they have.

The following example creates a custom SynthStyleFactory
that returns a different style based on the Region:


class MyStyleFactory extends SynthStyleFactory {
    public SynthStyle getStyle(JComponent c, Region id) {
        if (id == Region.BUTTON) {
            return buttonStyle;
        }
        else if (id == Region.TREE) {
            return treeStyle;
        }
        return defaultStyle;
    }
}
SynthLookAndFeel laf = new SynthLookAndFeel();
UIManager.setLookAndFeel(laf);
SynthLookAndFeel.setStyleFactory(new MyStyleFactory());
raw docstring

javax.swing.plaf.synth.SynthTabbedPaneUI

Provides the Synth L&F UI delegate for JTabbedPane.

Looks up the selectedTabPadInsets property from the Style, which represents additional insets for the selected tab.

Provides the Synth L&F UI delegate for
JTabbedPane.

Looks up the selectedTabPadInsets property from the Style,
which represents additional insets for the selected tab.
raw docstring

javax.swing.plaf.synth.SynthTableHeaderUI

Provides the Synth L&F UI delegate for JTableHeader.

Provides the Synth L&F UI delegate for
JTableHeader.
raw docstring

javax.swing.plaf.synth.SynthTableUI

Provides the Synth L&F UI delegate for JTable.

Provides the Synth L&F UI delegate for
JTable.
raw docstring

javax.swing.plaf.synth.SynthTextAreaUI

Provides the look and feel for a plain text editor in the Synth look and feel. In this implementation the default UI is extended to act as a simple view factory.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the look and feel for a plain text editor in the
Synth look and feel. In this implementation the default UI
is extended to act as a simple view factory.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.synth.SynthTextFieldUI

Provides the Synth L&F UI delegate for JTextField.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the Synth L&F UI delegate for JTextField.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.synth.SynthTextPaneUI

Provides the look and feel for a styled text editor in the Synth look and feel.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

Provides the look and feel for a styled text editor in the
Synth look and feel.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

javax.swing.plaf.synth.SynthToggleButtonUI

Provides the Synth L&F UI delegate for JToggleButton.

Provides the Synth L&F UI delegate for
JToggleButton.
raw docstring

javax.swing.plaf.synth.SynthToolBarUI

Provides the Synth L&F UI delegate for JToolBar.

Provides the Synth L&F UI delegate for
JToolBar.
raw docstring

javax.swing.plaf.synth.SynthUI

SynthUI is used to fetch the SynthContext for a particular Component.

SynthUI is used to fetch the SynthContext for a particular Component.
raw docstring

javax.swing.plaf.TabbedPaneUI

Pluggable look and feel interface for JTabbedPane.

Pluggable look and feel interface for JTabbedPane.
raw docstring

javax.swing.plaf.TableHeaderUI

Pluggable look and feel interface for JTableHeader.

Pluggable look and feel interface for JTableHeader.
raw docstring

javax.swing.plaf.TableUI

Pluggable look and feel interface for JTable.

Pluggable look and feel interface for JTable.
raw docstring

javax.swing.plaf.ToolBarUI

Pluggable look and feel interface for JToolBar.

Pluggable look and feel interface for JToolBar.
raw docstring

javax.swing.plaf.ToolTipUI

Pluggable look and feel interface for JToolTip.

Pluggable look and feel interface for JToolTip.
raw docstring

javax.swing.plaf.UIResource

This interface is used to mark objects created by ComponentUI delegates. The ComponentUI.installUI() and ComponentUI.uninstallUI() methods can use this interface to decide if a properties value has been overridden. For example, the JList cellRenderer property is initialized by BasicListUI.installUI(), only if it's initial value is null:

if (list.getCellRenderer() == null) { list.setCellRenderer((ListCellRenderer)(UIManager.get("List.cellRenderer"))); } At uninstallUI() time we reset the property to null if its value is an instance of UIResource:

if (list.getCellRenderer() instanceof UIResource) { list.setCellRenderer(null); } This pattern applies to all properties except the java.awt.Component properties font, foreground, and background. If one of these properties isn't initialized, or is explicitly set to null, its container provides the value. For this reason the "== null" is unreliable when installUI() is called to dynamically change a components look and feel. So at installUI() time we check to see if the current value is a UIResource:

if (!(list.getFont() instanceof UIResource)) { list.setFont(UIManager.getFont("List.font")); }

This interface is used to mark objects created by ComponentUI delegates.
The ComponentUI.installUI() and
ComponentUI.uninstallUI() methods can use this interface
to decide if a properties value has been overridden.  For example, the
JList cellRenderer property is initialized by BasicListUI.installUI(),
only if it's initial value is null:


if (list.getCellRenderer() == null) {
    list.setCellRenderer((ListCellRenderer)(UIManager.get("List.cellRenderer")));
}
At uninstallUI() time we reset the property to null if its value
is an instance of UIResource:


if (list.getCellRenderer() instanceof UIResource) {
    list.setCellRenderer(null);
}
This pattern applies to all properties except the java.awt.Component
properties font, foreground, and background.  If one of these
properties isn't initialized, or is explicitly set to null,
its container provides the value.  For this reason the
"== null" is unreliable when installUI() is called
to dynamically change a components look and feel.  So at installUI()
time we check to see if the current value is a UIResource:


if (!(list.getFont() instanceof UIResource)) {
    list.setFont(UIManager.getFont("List.font"));
}
raw docstring

No vars found in this namespace.

javax.swing.plaf.ViewportUI

Pluggable look and feel interface for JViewport.

Pluggable look and feel interface for JViewport.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close