org.jdesktop.swingx.plaf.macosx
Class MacOSXHeaderUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.HeaderUI
org.jdesktop.swingx.plaf.basic.BasicHeaderUI
org.jdesktop.swingx.plaf.macosx.MacOSXHeaderUI
public class MacOSXHeaderUI
- extends BasicHeaderUI
Constructor Summary |
MacOSXHeaderUI()
Creates a new instance of BasicHeaderUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacOSXHeaderUI
public MacOSXHeaderUI()
- Creates a new instance of BasicHeaderUI
createUI
public static ComponentUI createUI(JComponent c)
- Returns an instance of the UI delegate for the specified component.
Each subclass must provide its own static
createUI
method that returns an instance of that UI delegate subclass.
If the UI delegate subclass is stateless, it may return an instance
that is shared by multiple components. If the UI delegate is
stateful, then it should return a new instance per component.
The default implementation of this method throws an error, as it
should never be invoked.
createBackgroundPainter
protected Painter createBackgroundPainter()
- Overrides:
createBackgroundPainter
in class BasicHeaderUI