public class WebMenuBarUI extends javax.swing.plaf.basic.BasicMenuBarUI implements ShapeProvider, BorderMethods
| Constructor and Description |
|---|
WebMenuBarUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
java.awt.Color |
getBorderColor() |
MenuBarStyle |
getMenuBarStyle() |
int |
getRound() |
int |
getShadeWidth() |
void |
installUI(javax.swing.JComponent c) |
boolean |
isUndecorated() |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
java.awt.Shape |
provideShape()
Returns component shape.
|
void |
setBorderColor(java.awt.Color borderColor) |
void |
setMenuBarStyle(MenuBarStyle menuBarStyle) |
void |
setRound(int round) |
void |
setShadeWidth(int shadeWidth) |
void |
setUndecorated(boolean undecorated) |
void |
updateBorder()
Updates custom WebLaF border.
|
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicMenuBarUIpublic java.awt.Shape provideShape()
ShapeProviderprovideShape in interface ShapeProviderpublic void updateBorder()
updateBorder in interface BorderMethodspublic boolean isUndecorated()
public void setUndecorated(boolean undecorated)
public MenuBarStyle getMenuBarStyle()
public void setMenuBarStyle(MenuBarStyle menuBarStyle)
public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color borderColor)
public int getRound()
public void setRound(int round)
public int getShadeWidth()
public void setShadeWidth(int shadeWidth)
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUI