All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.multi.MultiOptionPaneUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.OptionPaneUI
|
+----java.awt.swing.multi.MultiOptionPaneUI
- public class MultiOptionPaneUI
- extends OptionPaneUI
- implements Serializable
MultiOptionPaneUI implementation
uis- The Vector containing the real UI's.
MultiOptionPaneUI()
-
contains(JComponent, int, int)
-
containsCustomComponents()
- Returns true if the user has supplied instances of Component for
either the options or message.
createUI(JComponent)
-
getMaximumSize(JComponent)
-
getMinimumSize(JComponent)
-
getPreferredSize(JComponent)
-
getUIs()
- Return the list of UI's associated with this multiplexing UI.
installUI(JComponent)
-
paint(Graphics, JComponent)
-
selectInitialValue()
- Requests the component representing the default value to have
focus.
uninstallUI(JComponent)
-
uis
protected Vector uis
- The Vector containing the real UI's. This is populated
in the call to createUI, and can be obtained by calling
getUIs. The first element is guaranteed to the real UI
obtained from the default look and feel.
MultiOptionPaneUI
public MultiOptionPaneUI()
createUI
public static ComponentUI createUI(JComponent c)
getUIs
public ComponentUI[] getUIs()
- Return the list of UI's associated with this multiplexing UI. This
allows processing of the UI's by an application aware of multiplexing
UI's on components.
installUI
public void installUI(JComponent c)
- Overrides:
- installUI in class ComponentUI
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
- uninstallUI in class ComponentUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
- paint in class ComponentUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
- getPreferredSize in class ComponentUI
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Overrides:
- getMinimumSize in class ComponentUI
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- Overrides:
- getMaximumSize in class ComponentUI
contains
public boolean contains(JComponent c,
int x,
int y)
- Overrides:
- contains in class ComponentUI
selectInitialValue
public void selectInitialValue()
- Requests the component representing the default value to have
focus.
- Overrides:
- selectInitialValue in class OptionPaneUI
containsCustomComponents
public boolean containsCustomComponents()
- Returns true if the user has supplied instances of Component for
either the options or message.
- Overrides:
- containsCustomComponents in class OptionPaneUI
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature