public class nUIProgressanimElement extends nUIElementDisplay
Y_IDENTIFIER_PREV_BOTTOM
COLOR_BACKGROUND_NORMAL, COLOR_BLACK, COLOR_FOREGROUND_DARK, COLOR_FOREGROUND_LIGHT, COLOR_FOREGROUND_NORMAL, COLOR_TRANSPARENT, COLOR_WHITE, DIMENSIONS_IDENTIFIER_PARENT_DIMENSIONS
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUIProgressanimElement(int nuiid)
Default progress-animation constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the height of this element.
|
int |
getProgress()
Gets the current progress as a value from 0-100.
|
int |
getWidth()
Gets the width of this element.
|
void |
setProgress(int progress)
Sets the progress value - this will be mod'd with 101 to give a value in the range 0-100
|
getY, insertAt
getBackgroundDrawable, getBgcolor, getBottom, getFocus, getFocusable, getGesturable, getInnerHeight, getInnerWidth, getInnerX, getInnerY, getLeft, getMaxChildX, getMaxChildY, getRight, getScreenInnerX, getScreenInnerY, getScreenX, getScreenY, getTop, getTopLevelParentView, getTopLevelParentWindow, getTriggerable, getX, insertAtInternal, isEnabled, onRemoved, remove, setBackgroundDrawable, setBgcolor, setBottom, setChildFocus, setEnabled, setFocus, setFocusable, setGesturable, setHeight, setInnerHeight, setInnerWidth, setInnerX, setInnerY, setLeft, setRight, setTop, setTriggerable, setWidth, setX, setY
add, addEventListener, childElementAt, childIndexOf, getTag, insertAfter, insertBefore, outputChildHierarchy, remove, removeEventListener, replace, replace, setTag
public nUIProgressanimElement(int nuiid)
nuiid
- Unique Native UI ID (or -1 if unidentified)public int getWidth()
getWidth
in class nUIDisplayObject
public int getHeight()
getHeight
in class nUIDisplayObject
public void setProgress(int progress)
progress
- Progress valuepublic int getProgress()