org.pushingpixels.substance.swingx
Class SubstanceStatusBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by org.jdesktop.swingx.plaf.StatusBarUI
          extended by org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
              extended by org.pushingpixels.substance.swingx.SubstanceStatusBarUI

public class SubstanceStatusBarUI
extends org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

Substance-consistent UI delegate for JXStatusBar.


Field Summary
 
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
AUTO_ADD_SEPARATOR, mouseListener, mouseMotionListener, propertyChangeListener, statusBar
 
Constructor Summary
SubstanceStatusBarUI()
          Creates a new UI delegate.
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
           
protected  java.awt.Insets getSeparatorInsets(java.awt.Insets insets)
           
protected  int getSeparatorWidth()
           
protected  void installDefaults(org.jdesktop.swingx.JXStatusBar sb)
           
protected  void paintBackground(java.awt.Graphics2D g, org.jdesktop.swingx.JXStatusBar bar)
           
protected  void paintSeparator(java.awt.Graphics2D g, org.jdesktop.swingx.JXStatusBar bar, int x, int y, int w, int h)
           
protected  void uninstallDefaults(org.jdesktop.swingx.JXStatusBar sb)
           
 
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
createBorder, createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, includeSeparators, installListeners, installUI, paint, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceStatusBarUI

public SubstanceStatusBarUI()
Creates a new UI delegate.

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)

installDefaults

protected void installDefaults(org.jdesktop.swingx.JXStatusBar sb)
Overrides:
installDefaults in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

uninstallDefaults

protected void uninstallDefaults(org.jdesktop.swingx.JXStatusBar sb)
Overrides:
uninstallDefaults in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

paintBackground

protected void paintBackground(java.awt.Graphics2D g,
                               org.jdesktop.swingx.JXStatusBar bar)
Overrides:
paintBackground in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

paintSeparator

protected void paintSeparator(java.awt.Graphics2D g,
                              org.jdesktop.swingx.JXStatusBar bar,
                              int x,
                              int y,
                              int w,
                              int h)
Overrides:
paintSeparator in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

getSeparatorWidth

protected int getSeparatorWidth()
Overrides:
getSeparatorWidth in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI

getSeparatorInsets

protected java.awt.Insets getSeparatorInsets(java.awt.Insets insets)
Overrides:
getSeparatorInsets in class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI