Metal implementation of MenuBarUI. This class is responsible for providing the metal look and feel for JMenuBars.
Metal implementation of MenuBarUI. This class is responsible for providing the metal look and feel for JMenuBars.
(*create-ui x)
Creates the ComponentUI implementation for the passed in component.
x - JComponent to create the ComponentUI implementation for - javax.swing.JComponent
returns: ComponentUI implementation for x - javax.swing.plaf.ComponentUI
throws: java.lang.NullPointerException - if x is null
Creates the ComponentUI implementation for the passed in component. x - JComponent to create the ComponentUI implementation for - `javax.swing.JComponent` returns: ComponentUI implementation for x - `javax.swing.plaf.ComponentUI` throws: java.lang.NullPointerException - if x is null
(install-ui this c)
Configures the specified component appropriate for the metal look and feel.
c - the component where this UI delegate is being installed - javax.swing.JComponent
throws: java.lang.NullPointerException - if c is null.
Configures the specified component appropriate for the metal look and feel. c - the component where this UI delegate is being installed - `javax.swing.JComponent` throws: java.lang.NullPointerException - if c is null.
(uninstall-ui this c)
Reverses configuration which was done on the specified component during installUI.
c - the component where this UI delegate is being installed - javax.swing.JComponent
throws: java.lang.NullPointerException - if c is null.
Reverses configuration which was done on the specified component during installUI. c - the component where this UI delegate is being installed - `javax.swing.JComponent` throws: java.lang.NullPointerException - if c is null.
(update this g c)
If necessary paints the background of the component, then invokes paint.
g - Graphics to paint to - java.awt.Graphics
c - JComponent painting on - javax.swing.JComponent
throws: java.lang.NullPointerException - if g or c is null
If necessary paints the background of the component, then invokes paint. g - Graphics to paint to - `java.awt.Graphics` c - JComponent painting on - `javax.swing.JComponent` throws: java.lang.NullPointerException - if g or c is null
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close