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
- Version:
- $Revision: 1.4 $, $Date: 2005/10/09 13:36:38 $
- Author:
- $Author: l2fprod $ @created 27 avril 2002
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Dimension
protected int
protected DefaultButton
protected DefaultButton
protected DefaultButton
protected DefaultButton
protected boolean
Set UIManager.put("ProgressBar.windowAnimation", Boolean.TRUE) to use the window painting mode if the progress bar is inderterminate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Dimension
getMinimumSize
(JProgressBar progress) Gets the MinimumSize attribute of the AbstractSkinProgress objectfinal boolean
Description of the Methodprotected final void
paintBackBar
(Graphics g, JProgressBar progress) final boolean
paintIndeterminateProgress
(Graphics g, JProgressBar progress, Rectangle rec) final boolean
paintProgress
(Graphics g, JProgressBar progress) Description of the Methodfinal boolean
status()
Description of the MethodMethods 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 Details
-
progressBarBackHorizontal
-
progressBarHorizontal
-
progressBarBackVertical
-
progressBarVertical
-
orientation
protected int orientation -
minimumSize
-
useWindow
protected boolean useWindowSet UIManager.put("ProgressBar.windowAnimation", Boolean.TRUE) to use the window painting mode if the progress bar is inderterminate.
-
-
Constructor Details
-
AbstractSkinProgress
public AbstractSkinProgress()
-
-
Method Details
-
getMinimumSize
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
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
-
paintProgress
Description of the Method- Specified by:
paintProgress
in interfaceSkinProgress
- Parameters:
g
- Description of Parameterprogress
- Description of Parameter- Returns:
- Description of the Returned Value
-
paintIndeterminateProgress
- Specified by:
paintIndeterminateProgress
in interfaceSkinProgress
-