org.jvnet.substance
Class SubstanceProgressBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ProgressBarUI
          extended by javax.swing.plaf.basic.BasicProgressBarUI
              extended by javax.swing.plaf.metal.MetalProgressBarUI
                  extended by org.jvnet.substance.SubstanceProgressBarUI

public class SubstanceProgressBarUI
extends MetalProgressBarUI

UI for progress bars in Substance look and feel.

Author:
Kirill Grouchnikov

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI
BasicProgressBarUI.ChangeHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI
boxRect, changeListener, progressBar
 
Constructor Summary
SubstanceProgressBarUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void incrementAnimationIndex()
           
 void paintDeterminate(Graphics g, JComponent c)
           
 void paintIndeterminate(Graphics g, JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI
getAmountFull, getAnimationIndex, getBox, getBoxLength, getCellLength, getCellSpacing, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, installDefaults, installListeners, installUI, paint, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceProgressBarUI

public SubstanceProgressBarUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paintDeterminate

public void paintDeterminate(Graphics g,
                             JComponent c)
Overrides:
paintDeterminate in class MetalProgressBarUI

paintIndeterminate

public void paintIndeterminate(Graphics g,
                               JComponent c)
Overrides:
paintIndeterminate in class MetalProgressBarUI

incrementAnimationIndex

protected void incrementAnimationIndex()
Overrides:
incrementAnimationIndex in class BasicProgressBarUI