Class SubstanceMenuBarUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.MenuBarUI
-
- javax.swing.plaf.basic.BasicMenuBarUI
-
- org.pushingpixels.substance.internal.ui.SubstanceMenuBarUI
-
public class SubstanceMenuBarUI extends BasicMenuBarUI
UI for menu bars in Substance look and feel.
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI
changeListener, containerListener, menuBar
-
-
Constructor Summary
Constructors Constructor Description SubstanceMenuBarUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUIcreateUI(JComponent comp)JMenuBargetMenuBar()Returns the menu bar of this UI delegate.protected voidinstallDefaults()protected voiduninstallDefaults()voidupdate(Graphics g, JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicMenuBarUI
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, paint
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent comp)
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaultsin classBasicMenuBarUI
-
uninstallDefaults
protected void uninstallDefaults()
- Overrides:
uninstallDefaultsin classBasicMenuBarUI
-
update
public void update(Graphics g, JComponent c)
- Overrides:
updatein classComponentUI
-
getMenuBar
public JMenuBar getMenuBar()
Returns the menu bar of this UI delegate. This method is for internal use only.- Returns:
- The menu bar of this UI delegate.
-
-