All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicProgressBarUI

java.lang.Object
   |
   +----com.sun.java.swing.plaf.ComponentUI
           |
           +----com.sun.java.swing.plaf.ProgressBarUI
                   |
                   +----com.sun.java.swing.basic.BasicProgressBarUI

public class BasicProgressBarUI
extends ProgressBarUI
implements ChangeListener, Serializable
A Windows L&F implementation of ProgressBarUI. This implementation is both the view and the controller.


Variable Index

 o BORDER_BUFFER
 o cachedPercent
 o CELL_LENGTH
 o CELL_SPACING
 o PREFERRED_INNER_HORIZONTAL
 o PREFERRED_INNER_VERTICAL

Constructor Index

 o BasicProgressBarUI()

Method Index

 o createUI(JComponent)
 o getBorderInsets(JComponent)
 o getInsets(JComponent)
 o getMaximumSize(JComponent)
 o getMinimumSize(JComponent)
 o getPreferredSize(JComponent)
 o installUI(JComponent)
 o paint(Graphics, JComponent)
 o stateChanged(ChangeEvent)
 o uninstallUI(JComponent)

Variables

 o PREFERRED_INNER_HORIZONTAL
 protected static final Dimension PREFERRED_INNER_HORIZONTAL
 o PREFERRED_INNER_VERTICAL
 protected static final Dimension PREFERRED_INNER_VERTICAL
 o BORDER_BUFFER
 protected static final int BORDER_BUFFER
 o CELL_LENGTH
 protected static final int CELL_LENGTH
 o CELL_SPACING
 protected static final int CELL_SPACING
 o cachedPercent
 protected int cachedPercent

Constructors

 o BasicProgressBarUI
 public BasicProgressBarUI()

Methods

 o createUI
 public static ComponentUI createUI(JComponent x)
 o installUI
 public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI
 o uninstallUI
 public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI
 o paint
 public void paint(Graphics g,
                   JComponent c)
Overrides:
paint in class ComponentUI
 o getPreferredSize
 public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI
 o getMinimumSize
 public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI
 o getMaximumSize
 public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI
 o getInsets
 public Insets getInsets(JComponent c)
 o getBorderInsets
 public Insets getBorderInsets(JComponent c)
 o stateChanged
 public void stateChanged(ChangeEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index