public class MetalProgressBarUI extends BasicProgressBarUI
JProgressBar component.BasicProgressBarUI.ChangeHandlerboxRect, changeListener, progressBar| Constructor and Description |
|---|
MetalProgressBarUI()
Constructs a new instance of
MetalProgressBarUI. |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent component)
Returns a new instance of
MetalProgressBarUI. |
void |
paintDeterminate(Graphics g,
JComponent c)
Performs the painting for determinate progress bars.
|
void |
paintIndeterminate(Graphics g,
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, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updatepublic MetalProgressBarUI()
MetalProgressBarUI.public static ComponentUI createUI(JComponent component)
MetalProgressBarUI.component - the component for which we return an UI instanceMetalProgressBarUI.public void paintDeterminate(Graphics g, JComponent c)
paintDeterminate in class BasicProgressBarUIg - the graphics contextc - not used herepublic void paintIndeterminate(Graphics g, JComponent c)
paintIndeterminate in class BasicProgressBarUIg - the graphics contextc - not used here