All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.multi.MultiMenuBarUI
java.lang.Object
|
+----java.awt.swing.plaf.ComponentUI
|
+----java.awt.swing.plaf.MenuBarUI
|
+----java.awt.swing.multi.MultiMenuBarUI
- public class MultiMenuBarUI
- extends MenuBarUI
- implements Serializable
MultiMenuBarUI implementation
uis- The Vector containing the real UI's.
MultiMenuBarUI()
-
contains(JComponent, int, int)
-
createUI(JComponent)
-
getDefaultMargin(JMenuBar)
-
getMaximumSize(JComponent)
-
getMinimumSize(JComponent)
-
getPreferredSize(JComponent)
-
getUIs()
- Return the list of UI's associated with this multiplexing UI.
installUI(JComponent)
-
paint(Graphics, JComponent)
-
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.
MultiMenuBarUI
public MultiMenuBarUI()
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
getDefaultMargin
public Insets getDefaultMargin(JMenuBar c)
- Overrides:
- getDefaultMargin in class MenuBarUI
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature