Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.ui.plaf.theme
Class ThemedProgressBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ProgressBarUI
          extended by javax.swing.plaf.basic.BasicProgressBarUI
              extended by javax.swing.plaf.metal.MetalProgressBarUI
                  extended by oracle.javatools.ui.plaf.theme.ThemedProgressBarUI


public final class ThemedProgressBarUI
extends javax.swing.plaf.metal.MetalProgressBarUI

New Theme based ProgressBarUI

Since:
11.1.2.0.0

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicProgressBarUI
javax.swing.plaf.basic.BasicProgressBarUI.ChangeHandler

 

Field Summary

 

Fields inherited from class javax.swing.plaf.basic.BasicProgressBarUI
boxRect, changeListener, progressBar

 

Constructor Summary
ThemedProgressBarUI()
           

 

Method Summary
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.

 

Methods inherited from class javax.swing.plaf.basic.BasicProgressBarUI
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

 

Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ThemedProgressBarUI

public ThemedProgressBarUI()

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates an instance of ThemedProgressBarUI.

installDefaults

protected void installDefaults()
Install Defaults
Overrides:
installDefaults in class javax.swing.plaf.basic.BasicProgressBarUI

paintDeterminate

public void paintDeterminate(java.awt.Graphics g,
                             javax.swing.JComponent c)
Paint the determinate state.
Overrides:
paintDeterminate in class javax.swing.plaf.metal.MetalProgressBarUI

paintIndeterminate

public void paintIndeterminate(java.awt.Graphics g,
                               javax.swing.JComponent c)
Paint the indeterminate state.
Overrides:
paintIndeterminate in class javax.swing.plaf.metal.MetalProgressBarUI

getBoxLength

protected int getBoxLength(int availableLength,
                           int otherDimension)
Get the size of the indeterminate bouncing box
Overrides:
getBoxLength in class javax.swing.plaf.basic.BasicProgressBarUI

getBox

protected java.awt.Rectangle getBox(java.awt.Rectangle r)
Get the size of the determinate bouncing box
Overrides:
getBox in class javax.swing.plaf.basic.BasicProgressBarUI

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.