|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the set of basic timing attributes that are common to all timed elements.
| Field Summary | |
static short |
RESTART_ALWAYS
|
static short |
RESTART_NEVER
|
static short |
RESTART_WHEN_NOT_ACTIVE
|
| Method Summary | |
void |
activate()
ACTIVE TIME - playing an interval. |
void |
closedown()
This closes this element. |
void |
deactivate()
END OF AN INTERVAL This is called to deactivate the element - after the end time has been reached. |
void |
destroy()
This uninitializes the element. |
void |
freeze()
This is called to freeze the element |
java.lang.String |
getBegin()
The desired value (as a list of times) of the begin instant of this node. |
Time |
getCurrentIntervalBegin()
Get the current interval begin time. |
Time |
getDur()
The desired simple duration value of this node in seconds. |
java.lang.String |
getEnd()
The list of active ends for this node. |
Time |
getMax()
The minimum play time for this element in milliseconds. |
Time |
getMin()
The minimum play time for this element in milliseconds. |
MyFloat |
getRepeat()
The repeat causes the element to play repeatedly (loop) for the specified duration in milliseconds. |
java.lang.String |
getRepeatCount()
The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times. |
Time |
getRepeatDur()
The repeatDur causes the element to play repeatedly (loop) for the specified duration in milliseconds. |
short |
getRestart()
A code representing the value of the restart attribute, as defined above. |
long |
getTimeInBodyTime(long t)
Returns time in body time space, |
boolean |
hasStarted()
|
boolean |
isActive()
|
void |
prefetch()
PREFETCH - prefetching the media This prefetches the element for playing. |
void |
setBegin(TimeList begin)
|
void |
setDur(java.lang.String dur)
|
void |
setEnd(TimeList end)
|
void |
setMax(Time max)
|
void |
setMin(Time min)
|
void |
setRepeat(MyFloat repeatDur)
|
void |
setRepeatCount(java.lang.String repeatCount)
|
void |
setRepeatDur(MyFloat repeatDur)
|
void |
setRestart(short restart)
|
void |
startup()
STARTUP - getting the first interval This initializes the element for playing. |
| Methods inherited from interface org.w3c.dom.smil20.ElementTimeControl |
beginElement, beginElementAt, endElement, endElementAt, pauseElement, resumeElement, seekElement |
| Field Detail |
public static final short RESTART_ALWAYS
public static final short RESTART_NEVER
public static final short RESTART_WHEN_NOT_ACTIVE
| Method Detail |
public java.lang.String getBegin()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setBegin(TimeList begin)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic java.lang.String getEnd()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setEnd(TimeList end)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic Time getDur()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setDur(java.lang.String dur)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic short getRestart()
RESTART_ALWAYS .
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setRestart(short restart)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic java.lang.String getRepeatCount()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setRepeatCount(java.lang.String repeatCount)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic Time getRepeatDur()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setRepeatDur(MyFloat repeatDur)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic MyFloat getRepeat()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setRepeat(MyFloat repeatDur)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic Time getMin()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setMin(Time min)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic Time getMax()
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setMax(Time max)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic void prefetch()
public void startup()
public void activate()
public void freeze()
public void deactivate()
public void closedown()
public void destroy()
public Time getCurrentIntervalBegin()
public long getTimeInBodyTime(long t)
t - Time to convert, in millisecs
public boolean isActive()
public boolean hasStarted()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||