Package com.l2fprod.gui.plaf.skin.impl
Class AbstractSkinProgress
- java.lang.Object
-
- com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
-
- com.l2fprod.gui.plaf.skin.impl.AbstractSkinProgress
-
- All Implemented Interfaces:
SkinComponent,SkinProgress
public abstract class AbstractSkinProgress extends AbstractSkinComponent implements SkinProgress
- Version:
- $Revision: 1.4 $, $Date: 2005/10/09 13:36:38 $
- Author:
- $Author: l2fprod $ @created 27 avril 2002
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.DimensionminimumSizeprotected intorientationprotected DefaultButtonprogressBarBackHorizontalprotected DefaultButtonprogressBarBackVerticalprotected DefaultButtonprogressBarHorizontalprotected DefaultButtonprogressBarVerticalprotected booleanuseWindowSet UIManager.put("ProgressBar.windowAnimation", Boolean.TRUE) to use the window painting mode if the progress bar is inderterminate.
-
Constructor Summary
Constructors Constructor Description AbstractSkinProgress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.DimensiongetMinimumSize(javax.swing.JProgressBar progress)Gets the MinimumSize attribute of the AbstractSkinProgress objectbooleaninstallSkin(javax.swing.JComponent c)Description of the Methodprotected voidpaintBackBar(java.awt.Graphics g, javax.swing.JProgressBar progress)booleanpaintIndeterminateProgress(java.awt.Graphics g, javax.swing.JProgressBar progress, java.awt.Rectangle rec)booleanpaintProgress(java.awt.Graphics g, javax.swing.JProgressBar progress)Description of the Methodbooleanstatus()Description of the Method-
Methods inherited from class com.l2fprod.gui.plaf.skin.impl.AbstractSkinComponent
getSkin, uninstallSkin
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.l2fprod.gui.plaf.skin.SkinComponent
uninstallSkin
-
-
-
-
Field Detail
-
progressBarBackHorizontal
protected DefaultButton progressBarBackHorizontal
-
progressBarHorizontal
protected DefaultButton progressBarHorizontal
-
progressBarBackVertical
protected DefaultButton progressBarBackVertical
-
progressBarVertical
protected DefaultButton progressBarVertical
-
orientation
protected int orientation
-
minimumSize
protected final java.awt.Dimension minimumSize
-
useWindow
protected boolean useWindow
Set UIManager.put("ProgressBar.windowAnimation", Boolean.TRUE) to use the window painting mode if the progress bar is inderterminate.
-
-
Method Detail
-
getMinimumSize
public final java.awt.Dimension getMinimumSize(javax.swing.JProgressBar progress)
Gets the MinimumSize attribute of the AbstractSkinProgress object- Specified by:
getMinimumSizein interfaceSkinProgress- Parameters:
progress- Description of Parameter- Returns:
- The MinimumSize value
-
status
public final boolean status()
Description of the Method- Specified by:
statusin interfaceSkinComponent- Overrides:
statusin classAbstractSkinComponent- Returns:
- Description of the Returned Value
-
installSkin
public final boolean installSkin(javax.swing.JComponent c)
Description of the Method- Specified by:
installSkinin interfaceSkinComponent- Overrides:
installSkinin classAbstractSkinComponent- Parameters:
c- Description of Parameter- Returns:
- Description of the Returned Value
-
paintBackBar
protected final void paintBackBar(java.awt.Graphics g, javax.swing.JProgressBar progress)
-
paintProgress
public final boolean paintProgress(java.awt.Graphics g, javax.swing.JProgressBar progress)Description of the Method- Specified by:
paintProgressin interfaceSkinProgress- Parameters:
g- Description of Parameterprogress- Description of Parameter- Returns:
- Description of the Returned Value
-
paintIndeterminateProgress
public final boolean paintIndeterminateProgress(java.awt.Graphics g, javax.swing.JProgressBar progress, java.awt.Rectangle rec)- Specified by:
paintIndeterminateProgressin interfaceSkinProgress
-
-