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.Dimension
minimumSize
protected int
orientation
protected DefaultButton
progressBarBackHorizontal
protected DefaultButton
progressBarBackVertical
protected DefaultButton
progressBarHorizontal
protected DefaultButton
progressBarVertical
protected boolean
useWindow
Set 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.Dimension
getMinimumSize(javax.swing.JProgressBar progress)
Gets the MinimumSize attribute of the AbstractSkinProgress objectboolean
installSkin(javax.swing.JComponent c)
Description of the Methodprotected void
paintBackBar(java.awt.Graphics g, javax.swing.JProgressBar progress)
boolean
paintIndeterminateProgress(java.awt.Graphics g, javax.swing.JProgressBar progress, java.awt.Rectangle rec)
boolean
paintProgress(java.awt.Graphics g, javax.swing.JProgressBar progress)
Description of the Methodboolean
status()
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:
getMinimumSize
in interfaceSkinProgress
- Parameters:
progress
- Description of Parameter- Returns:
- The MinimumSize value
-
status
public final boolean status()
Description of the Method- Specified by:
status
in interfaceSkinComponent
- Overrides:
status
in classAbstractSkinComponent
- Returns:
- Description of the Returned Value
-
installSkin
public final boolean installSkin(javax.swing.JComponent c)
Description of the Method- Specified by:
installSkin
in interfaceSkinComponent
- Overrides:
installSkin
in 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:
paintProgress
in 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:
paintIndeterminateProgress
in interfaceSkinProgress
-
-