public final class ThemedProgressBarUI
extends javax.swing.plaf.metal.MetalProgressBarUI
Constructor and Description |
---|
ThemedProgressBarUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates an instance of ThemedProgressBarUI.
|
protected java.awt.Rectangle |
getBox(java.awt.Rectangle r)
Get the size of the determinate bouncing box
|
protected int |
getBoxLength(int availableLength,
int otherDimension)
Get the size of the indeterminate bouncing box
|
protected void |
installDefaults()
Install Defaults
|
void |
paintDeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
Paint the determinate state.
|
void |
paintIndeterminate(java.awt.Graphics g,
javax.swing.JComponent c)
Paint the indeterminate state.
|
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installListeners, installUI, paint, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicProgressBarUI
public void paintDeterminate(java.awt.Graphics g, javax.swing.JComponent c)
paintDeterminate
in class javax.swing.plaf.metal.MetalProgressBarUI
public void paintIndeterminate(java.awt.Graphics g, javax.swing.JComponent c)
paintIndeterminate
in class javax.swing.plaf.metal.MetalProgressBarUI
protected int getBoxLength(int availableLength, int otherDimension)
getBoxLength
in class javax.swing.plaf.basic.BasicProgressBarUI
protected java.awt.Rectangle getBox(java.awt.Rectangle r)
getBox
in class javax.swing.plaf.basic.BasicProgressBarUI