org.xith3d.ui.hud.widgets
Class ProgressBar.Description
java.lang.Object
org.xith3d.ui.hud.base.Widget.DescriptionBase
org.xith3d.ui.hud.base.BackgroundSettableWidget.BackgroundSettableDescriptionBase
org.xith3d.ui.hud.widgets.ProgressBar.Description
- Enclosing class:
- ProgressBar
public static class ProgressBar.Description
- extends BackgroundSettableWidget.BackgroundSettableDescriptionBase
This class is used to describe a ProgressBar Widget.
You can pass it to the ProgressBar constructor.
Modifications on the used instance after creating the ProgressBar Widget
won't have any effect.
|
Constructor Summary |
ProgressBar.Description(int bottom,
int right,
int top,
int left,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTexture,
java.lang.String barTex,
Border.Description borderDesc,
Label.Description labelDesc)
|
ProgressBar.Description(int bottom,
int right,
int top,
int left,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTexture,
Texture2D barTex,
Border.Description borderDesc,
Label.Description labelDesc)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProgressBar.Description
public ProgressBar.Description(int bottom,
int right,
int top,
int left,
org.openmali.vecmath2.Colorf backgroundColor,
Texture2D backgroundTexture,
Texture2D barTex,
Border.Description borderDesc,
Label.Description labelDesc)
ProgressBar.Description
public ProgressBar.Description(int bottom,
int right,
int top,
int left,
org.openmali.vecmath2.Colorf backgroundColor,
java.lang.String backgroundTexture,
java.lang.String barTex,
Border.Description borderDesc,
Label.Description labelDesc)
setBottomHeight
public void setBottomHeight(int bh)
getBottomHeight
public final int getBottomHeight()
setRightWidth
public void setRightWidth(int rw)
getRightWidth
public final int getRightWidth()
setTopHeight
public void setTopHeight(int th)
getTopHeight
public final int getTopHeight()
setLeftWidth
public void setLeftWidth(int lw)
getLeftWidth
public final int getLeftWidth()
setBarTexture
public void setBarTexture(Texture2D texture)
setBarTexture
public void setBarTexture(java.lang.String texture)
getBarTexture
public final Texture2D getBarTexture()
setBorderDescription
public void setBorderDescription(Border.Description borderDesc)
getBorderDescription
public final Border.Description getBorderDescription()
setLabelDescription
public void setLabelDescription(Label.Description labelDesc)
getLabelDescription
public final Label.Description getLabelDescription()
set
public void set(ProgressBar.Description desc)
- Clone-Constructor
- Parameters:
desc - the original to be duplicated
clone
public ProgressBar.Description clone()
- Description copied from class:
BackgroundSettableWidget.BackgroundSettableDescriptionBase
- Returns a clone of this instance.
- Specified by:
clone in class BackgroundSettableWidget.BackgroundSettableDescriptionBase
- Returns:
- a clone of this ProgressBar.Description.