com.jtattoo.plaf
Class BaseProgressBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ProgressBarUI
          extended by javax.swing.plaf.basic.BasicProgressBarUI
              extended by com.jtattoo.plaf.BaseProgressBarUI

public class BaseProgressBarUI
extends BasicProgressBarUI

Author:
Michael Hagen

Nested Class Summary
protected  class BaseProgressBarUI.PropertyChangeHandler
           
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI
BasicProgressBarUI.ChangeHandler
 
Field Summary
protected  PropertyChangeListener propertyChangeListener
           
 
Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI
boxRect, changeListener, progressBar
 
Constructor Summary
BaseProgressBarUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  Color getSelectionBackground()
          The "selectionBackground" is the color of the text when it is painted over an unfilled area of the progress bar.
protected  Color getSelectionForeground()
          The "selectionForeground" is the color of the text when it is painted over a filled area of the progress bar.
protected  void installDefaults()
           
 void installUI(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
protected  void paintDeterminate(Graphics g, JComponent c)
           
protected  void paintIndeterminate(Graphics g, JComponent c)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getStringPlacement, incrementAnimationIndex, installListeners, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners
 
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
 

Field Detail

propertyChangeListener

protected PropertyChangeListener propertyChangeListener
Constructor Detail

BaseProgressBarUI

public BaseProgressBarUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class BasicProgressBarUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class BasicProgressBarUI

installDefaults

protected void installDefaults()
Overrides:
installDefaults in class BasicProgressBarUI

getSelectionForeground

protected Color getSelectionForeground()
The "selectionForeground" is the color of the text when it is painted over a filled area of the progress bar.

Overrides:
getSelectionForeground in class BasicProgressBarUI

getSelectionBackground

protected Color getSelectionBackground()
The "selectionBackground" is the color of the text when it is painted over an unfilled area of the progress bar.

Overrides:
getSelectionBackground in class BasicProgressBarUI

paintIndeterminate

protected void paintIndeterminate(Graphics g,
                                  JComponent c)
Overrides:
paintIndeterminate in class BasicProgressBarUI

paintDeterminate

protected void paintDeterminate(Graphics g,
                                JComponent c)
Overrides:
paintDeterminate in class BasicProgressBarUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class BasicProgressBarUI


Copyright © 2011. All Rights Reserved.