public class

MetalProgressBarUI

extends BasicProgressBarUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.ProgressBarUI
       ↳ javax.swing.plaf.basic.BasicProgressBarUI
         ↳ javax.swing.plaf.metal.MetalProgressBarUI

Class Overview

The Metal implementation of ProgressBarUI.

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.

Summary

[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicProgressBarUI
Public Constructors
MetalProgressBarUI()
Public Methods
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.
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicProgressBarUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public MetalProgressBarUI ()

Public Methods

public static ComponentUI createUI (JComponent c)

public void paintDeterminate (Graphics g, JComponent c)

Draws a bit of special highlighting on the progress bar. The core painting is deferred to the BasicProgressBar's paintDeterminate method.

public void paintIndeterminate (Graphics g, JComponent c)

Draws a bit of special highlighting on the progress bar and bouncing box. The core painting is deferred to the BasicProgressBar's paintIndeterminate method.