public abstract class OptionPaneUI extends ComponentUI
JOptionPane.JOptionPane| Constructor and Description |
|---|
OptionPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
containsCustomComponents(JOptionPane pane)
Determines whether the user has provided custom components
for the options or the message.
|
abstract void |
selectInitialValue(JOptionPane pane)
Gives keyboard input focus to the component that represents
the default value.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, updatepublic OptionPaneUI()
public abstract void selectInitialValue(JOptionPane pane)
pane - the JOptionPane for which this delegate
object provides the pluggable user interface.public abstract boolean containsCustomComponents(JOptionPane pane)
pane - the JOptionPane for which this delegate
object provides the pluggable user interface.true if the user has supplied any custom
components; false if all components are
provided by Swing or a LookAndFeel.