Modifier and Type | Field and Description |
---|---|
protected ProgressBarRenderNode |
renderNode |
effects, styleId, visibility, zIndex
Constructor and Description |
---|
ProgressBar() |
ProgressBar(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
attach(ParentRenderNode<?,?> parentRenderNode)
Attaches a
RenderNode for this element to a parent
RenderNode |
void |
detach(ParentRenderNode<?,?> parentRenderNode)
Detaches this element's
RenderNode from a parent
RenderNode |
java.lang.String |
getLayout()
Returns the current layout
|
float |
getMax() |
float |
getMin() |
float |
getValue() |
void |
setLayout(java.lang.String layout)
Sets the current layout
|
void |
setMax(float max) |
void |
setMin(float min) |
void |
setStyleId(java.lang.String styleId)
Sets the style if for this
UiElement |
void |
setValue(float value) |
void |
setVisibility(Visibility visibility)
Sets the current
Visibility of this UiElement |
void |
setZIndex(int zIndex)
Sets the Z index of this
UiElement . |
void |
syncWithRenderNode()
Syncs data between the
UiElement and RenderNode |
addEffectListener, addHoverListener, applyEffect, equals, getElementById, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeEffectListener, removeHoverListener, setDebugEnabled
protected ProgressBarRenderNode renderNode
public ProgressBar()
public ProgressBar(java.lang.String id)
public void syncWithRenderNode()
UiElement
UiElement
and RenderNode
syncWithRenderNode
in class UiElement
public void attach(ParentRenderNode<?,?> parentRenderNode)
UiElement
RenderNode
for this element to a parent
RenderNode
attach
in class UiElement
parentRenderNode
- The parent RenderNode
to attach topublic void detach(ParentRenderNode<?,?> parentRenderNode)
UiElement
RenderNode
from a parent
RenderNode
detach
in class UiElement
parentRenderNode
- The parent RenderNode
to detach frompublic void setVisibility(Visibility visibility)
UiElement
Visibility
of this UiElement
setVisibility
in class UiElement
visibility
- The Visibility
to setpublic void setStyleId(java.lang.String styleId)
UiElement
UiElement
setStyleId
in class UiElement
styleId
- The style id to setpublic void setZIndex(int zIndex)
UiElement
UiElement
. Elements will be rendered on
different Z layers in ascending Z order (negatives values first, positive values last)public java.lang.String getLayout()
public void setLayout(java.lang.String layout)
layout
- public float getMin()
public void setMin(float min)
public float getMax()
public void setMax(float max)
public float getValue()
public void setValue(float value)