Package Summary  Overview Summary

class:MetalProgressBarUI [NONE]


public class MetalProgressBarUIextends BasicProgressBarUI
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 JavaBeans has been added to the java.beans package. Please see XMLEncoder.

constructor:MetalProgressBarUI() [NONE]

  • MetalProgressBarUI

    public MetalProgressBarUI()
    Constructs a MetalProgressBarUI.

method:createUI(javax.swing.JComponent) [NONE]

  • createUI

    public static  ComponentUI createUI (JComponent c)
    Constructs an instance of MetalProgressBarUI.
    Parameters:
    c - a component
    Returns:
    an instance of MetalProgressBarUI
  • method:paintDeterminate(java.awt.Graphics,javax.swing.JComponent) [NONE]

    paintDeterminate

    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.
    Overrides:
    paintDeterminate in class BasicProgressBarUI
    Parameters:
    g - an instance of Graphics
    c - a component
    Since:
    1.4
    See Also:

    method:paintIndeterminate(java.awt.Graphics,javax.swing.JComponent) [NONE]

    paintIndeterminate

    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.
    Overrides:
    paintIndeterminate in class BasicProgressBarUI
    Parameters:
    g - an instance of Graphics
    c - a component
    Since:
    1.4
    See Also:

    © 2022 Oracle Corporation and/or its affiliates