org.jdesktop.swingx.plaf.macosx
Class MacOSXHeaderUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.HeaderUI
              extended by org.jdesktop.swingx.plaf.basic.BasicHeaderUI
                  extended by org.jdesktop.swingx.plaf.macosx.MacOSXHeaderUI

public class MacOSXHeaderUI
extends BasicHeaderUI


Field Summary
 
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicHeaderUI
descriptionPane, imagePanel, titleLabel
 
Constructor Summary
MacOSXHeaderUI()
          Creates a new instance of BasicHeaderUI
 
Method Summary
protected  Painter createBackgroundPainter()
           
static ComponentUI createUI(JComponent c)
          Returns an instance of the UI delegate for the specified component.
 
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicHeaderUI
installComponents, installDefaults, installListeners, installUI, onPropertyChange, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacOSXHeaderUI

public MacOSXHeaderUI()
Creates a new instance of BasicHeaderUI

Method Detail

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