public class MetalProgressBarUI extends BasicProgressBarUI
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
BasicProgressBarUI.ChangeHandler
boxRect, changeListener, progressBar
Constructor and Description |
---|
MetalProgressBarUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
void |
paintDeterminate(Graphics g,
JComponent c)
Draws a bit of special highlighting on the progress bar.
|
void |
paintIndeterminate(Graphics g,
JComponent c)
Draws a bit of special highlighting on the progress bar
and bouncing box.
|
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, installUI, paint, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
public static ComponentUI createUI(JComponent c)
public void paintDeterminate(Graphics g, JComponent c)
paintDeterminate
method.paintDeterminate
in class BasicProgressBarUI
BasicProgressBarUI.paintIndeterminate(java.awt.Graphics, javax.swing.JComponent)
public void paintIndeterminate(Graphics g, JComponent c)
paintIndeterminate
method.paintIndeterminate
in class BasicProgressBarUI
BasicProgressBarUI.paintDeterminate(java.awt.Graphics, javax.swing.JComponent)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.