com.alee.laf.menu
Class WebMenuBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.MenuBarUI
javax.swing.plaf.basic.BasicMenuBarUI
com.alee.laf.menu.WebMenuBarUI
- All Implemented Interfaces:
- ShapeProvider, BorderMethods, SwingMethods
public class WebMenuBarUI
- extends javax.swing.plaf.basic.BasicMenuBarUI
- implements ShapeProvider, BorderMethods
User: mgarin Date: 15.08.11 Time: 20:24
Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI |
changeListener, containerListener, menuBar |
Methods inherited from class javax.swing.plaf.basic.BasicMenuBarUI |
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebMenuBarUI
public WebMenuBarUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicMenuBarUI
provideShape
public java.awt.Shape provideShape()
- Description copied from interface:
ShapeProvider
- Returns component shape.
- Specified by:
provideShape
in interface ShapeProvider
- Returns:
- component shape
updateBorder
public void updateBorder()
- Updates custom WebLaF border.
- Specified by:
updateBorder
in interface BorderMethods
isUndecorated
public boolean isUndecorated()
setUndecorated
public void setUndecorated(boolean undecorated)
getMenuBarStyle
public MenuBarStyle getMenuBarStyle()
setMenuBarStyle
public void setMenuBarStyle(MenuBarStyle menuBarStyle)
getBorderColor
public java.awt.Color getBorderColor()
setBorderColor
public void setBorderColor(java.awt.Color borderColor)
getRound
public int getRound()
setRound
public void setRound(int round)
getShadeWidth
public int getShadeWidth()
setShadeWidth
public void setShadeWidth(int shadeWidth)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.ComponentUI