public class nUITimerObject extends nUIObject
event_listener, event_listener_exclusive, first_child, last_child, next_sibling, nuiid, parent, prev_sibling, unlink_children_on_removal_from_parent
Constructor and Description |
---|
nUITimerObject(int nuiid,
int actiontime)
Deprecated.
Timer constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getActionTime()
Deprecated.
Gets the total duration for which this timer will run before firing an EVT_TIMER_COMPLETE event.
|
int |
getTime()
Deprecated.
Gets the current time that has elapsed since the timer started running.
|
boolean |
insertAt(int index,
nUIObject to_add)
Deprecated.
Inserting a child element for
nUITimerObject is not supported; this method will return false.
|
void |
setActiontime(int actiontime)
Deprecated.
Sets the time after which the timer should trigger.
|
void |
setTime(int time)
Deprecated.
Sets the current time that has elapsed since the timer started running.
|
add, addEventListener, childElementAt, childIndexOf, getTag, insertAfter, insertBefore, onRemoved, outputChildHierarchy, remove, remove, removeEventListener, replace, replace, setTag
public nUITimerObject(int nuiid, int actiontime)
nuiid
- Unique Native UI ID (or -1 if unidentified)actiontime
- The number of milliseconds after which the timer should be triggeredpublic void setActiontime(int actiontime)
actiontime
- a duration in milliseconds.public int getActionTime()
public void setTime(int time)
time
- a value in milliseconds.public int getTime()