javax.swing.plaf

Class OptionPaneUI

public abstract class OptionPaneUI extends ComponentUI

An abstract base class for delegates that implement the pluggable look and feel for a JOptionPane.

See Also:

Method Summary
abstract booleancontainsCustomComponents(JOptionPane pane)
Determines whether the user has provided custom components for the options or the message.
abstract voidselectInitialValue(JOptionPane pane)
Gives keyboard input focus to the component that represents the default value.

Method Detail

containsCustomComponents

public abstract boolean containsCustomComponents(JOptionPane pane)
Determines whether the user has provided custom components for the options or the message.

Parameters: pane the JOptionPane for which this delegate object provides the pluggable user interface.

Returns: true if the user has supplied any custom components; false if all components are provided by Swing or a LookAndFeel.

selectInitialValue

public abstract void selectInitialValue(JOptionPane pane)
Gives keyboard input focus to the component that represents the default value.

Parameters: pane the JOptionPane for which this delegate object provides the pluggable user interface.