public class MetalProgressBarUI extends javax.swing.plaf.basic.BasicProgressBarUI
JProgressBar component.| Constructor and Description |
|---|
MetalProgressBarUI()
Constructs a new instance of
MetalProgressBarUI. |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent component)
Returns a new instance of
MetalProgressBarUI. |
void |
paintDeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
Performs the painting for determinate progress bars.
|
void |
paintIndeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
Performs the painting for indeterminate progress bars.
|
getAmountFull, getAnimationIndex, getBox, getCellLength, getCellSpacing, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, installUI, paint, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUIpublic MetalProgressBarUI()
MetalProgressBarUI.public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
MetalProgressBarUI.component - the component for which we return an UI instanceMetalProgressBarUI.public void paintDeterminate(java.awt.Graphics g, javax.swing.JComponent c)
paintDeterminate in class javax.swing.plaf.basic.BasicProgressBarUIg - the graphics contextc - not used herepublic void paintIndeterminate(java.awt.Graphics g, javax.swing.JComponent c)
paintIndeterminate in class javax.swing.plaf.basic.BasicProgressBarUIg - the graphics contextc - not used here