APIdia Launch Partner
Top Description Constructors Methods
javax.swing.plaf

public abstract Class OptionPaneUI

extends ComponentUI
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.basic.BasicOptionPaneUI, javax.swing.plaf.multi.MultiOptionPaneUI
Imports
javax.swing.JOptionPane

Pluggable look and feel interface for JOptionPane.
Author
Scott Violet

Constructor Summary

AccessConstructor and Description
protected
OptionPaneUI()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public abstract boolean

Returns:

true if the given JOptionPane contains user created Components
containsCustomComponents
(JOptionPane
a JOptionPane
op
)

Returns true if the user has supplied instances of Component for either the options or message.

public abstract void
selectInitialValue(JOptionPane
a JOptionPane
op
)

Requests the component representing the default value to have focus.

Inherited from javax.swing.plaf.ComponentUI:
containscreateUIgetAccessibleChildgetAccessibleChildrenCountgetBaselinegetBaselineResizeBehaviorgetMaximumSizegetMinimumSizegetPreferredSizeinstallUIpaintuninstallUIupdate

Constructor Detail

OptionPaneUIback to summary
protected OptionPaneUI()

Constructor for subclasses to call.

Method Detail

containsCustomComponentsback to summary
public abstract boolean containsCustomComponents(JOptionPane op)

Returns true if the user has supplied instances of Component for either the options or message.

Parameters
op:JOptionPane

a JOptionPane

Returns:boolean

true if the given JOptionPane contains user created Components

selectInitialValueback to summary
public abstract void selectInitialValue(JOptionPane op)

Requests the component representing the default value to have focus.

Parameters
op:JOptionPane

a JOptionPane