BasicOptionPaneUI
, MultiOptionPaneUI
public abstract class OptionPaneUI extends ComponentUI
Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
containsCustomComponents |
Returns true if the user has supplied instances of Component for either the options or message. |
abstract void |
selectInitialValue |
Requests the component representing the default value to have focus. |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected OptionPaneUI()
public abstract void selectInitialValue(JOptionPane op)
op
- a JOptionPane
public abstract boolean containsCustomComponents(JOptionPane op)
op
- a JOptionPane
true
if the given JOptionPane
contains user created Component
s
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/OptionPaneUI.html