javax.swing.plaf.metal
public class MetalMenuBarUI extends BasicMenuBarUI
Since: 1.5
Method Summary | |
---|---|
static ComponentUI | createUI(JComponent c)
Creates and returns a new instance of this UI for the specified component.
|
void | update(Graphics g, JComponent c)
If the property MenuBar.gradient is set, then a gradient
is painted as background, otherwise the normal superclass behaviour is
called. |
Parameters: c the component to create a UI for
Returns: the UI for the component
MenuBar.gradient
is set, then a gradient
is painted as background, otherwise the normal superclass behaviour is
called.