gui
Class JAPProgressBar.MyProgressBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ProgressBarUI
          extended by javax.swing.plaf.basic.BasicProgressBarUI
              extended by gui.JAPProgressBar.MyProgressBarUI
Enclosing class:
JAPProgressBar

private final class JAPProgressBar.MyProgressBarUI
extends javax.swing.plaf.basic.BasicProgressBarUI


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI
javax.swing.plaf.basic.BasicProgressBarUI.ChangeHandler
 
Field Summary
private  boolean m_bOneBarPerValue
           
private  java.awt.Color m_colFilledBar
           
(package private) static int ms_dx
           
(package private) static int ms_width
           
 
Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI
boxRect, changeListener, progressBar
 
Constructor Summary
JAPProgressBar.MyProgressBarUI(boolean bOneBarPerValue)
           
 
Method Summary
 java.awt.Color getFilledBarColor()
           
 java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
           
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
           
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
 void setFilledBarColor(java.awt.Color col)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI
createUI, getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getPreferredInnerHorizontal, getPreferredInnerVertical, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, installUI, paintDeterminate, paintIndeterminate, 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
 

Field Detail

ms_dx

static final int ms_dx
See Also:
Constant Field Values

ms_width

static final int ms_width
See Also:
Constant Field Values

m_bOneBarPerValue

private boolean m_bOneBarPerValue

m_colFilledBar

private java.awt.Color m_colFilledBar
Constructor Detail

JAPProgressBar.MyProgressBarUI

public JAPProgressBar.MyProgressBarUI(boolean bOneBarPerValue)
Method Detail

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class javax.swing.plaf.basic.BasicProgressBarUI

setFilledBarColor

public void setFilledBarColor(java.awt.Color col)

getFilledBarColor

public java.awt.Color getFilledBarColor()

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Overrides:
getPreferredSize in class javax.swing.plaf.basic.BasicProgressBarUI

getMinimumSize

public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
Overrides:
getMinimumSize in class javax.swing.plaf.basic.BasicProgressBarUI

getMaximumSize

public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
Overrides:
getMaximumSize in class javax.swing.plaf.basic.BasicProgressBarUI