org.w3c.dom.smil.ElementTime |
This interface defines the set of timing attributes that are common to all timed elements.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | FILL_AUTO | ||||||||||
short | FILL_FREEZE | ||||||||||
short | FILL_REMOVE | ||||||||||
short | RESTART_ALWAYS | ||||||||||
short | RESTART_NEVER | ||||||||||
short | RESTART_WHEN_NOT_ACTIVE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Causes this element to begin the local timeline (subject to sync
constraints).
| |||||||||||
Causes this element to end the local timeline (subject to sync
constraints).
| |||||||||||
The desired value (as a list of times) of the begin instant of this
node.
| |||||||||||
The desired simple duration value of this node in seconds.
| |||||||||||
The list of active ends for this node.
| |||||||||||
A code representing the value of the fill attribute, as defined
above.
| |||||||||||
The repeatCount attribute causes the element to play repeatedly
(loop) for the specified number of times.
| |||||||||||
The repeatDur causes the element to play repeatedly (loop) for the
specified duration in milliseconds.
| |||||||||||
A code representing the value of the restart attribute, as defined
above.
| |||||||||||
Causes this element to pause the local timeline (subject to sync
constraints).
| |||||||||||
Causes this element to resume a paused local timeline.
| |||||||||||
Seeks this element to the specified point on the local timeline
(subject to sync constraints).
| |||||||||||
Causes this element to begin the local timeline (subject to sync constraints).
true
if the method call was successful and the
element was begun. false
if the method call failed.
Possible reasons for failure include: The element doesn't support
the beginElement
method. (the beginEvent
attribute is not set to "undefinite"
) The element is
already active and can't be restart when it is active. (the
restart
attribute is set to "whenNotActive"
) The element is active or has been active and can't be restart.
(the restart
attribute is set to "never"
).
Causes this element to end the local timeline (subject to sync constraints).
true
if the method call was successful and the
element was endeed. false
if method call failed.
Possible reasons for failure include: The element doesn't support
the endElement
method. (the endEvent
attribute is not set to "undefinite"
) The element is
not active.
The desired value (as a list of times) of the begin instant of this node.
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
The desired simple duration value of this node in seconds. Negative value means "indefinite".
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
The list of active ends for this node.
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
A code representing the value of the fill attribute, as defined
above. Default value is FILL_REMOVE
.
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times. A negative value repeat the element indefinitely. Default value is 0 (unspecified).
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
The repeatDur causes the element to play repeatedly (loop) for the specified duration in milliseconds. Negative means "indefinite".
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
A code representing the value of the restart attribute, as defined
above. Default value is RESTART_ALWAYS
.
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. |
---|
Causes this element to pause the local timeline (subject to sync constraints).
Causes this element to resume a paused local timeline.
Seeks this element to the specified point on the local timeline (subject to sync constraints). If this is a timeline, this must seek the entire timeline (i.e. propagate to all timeChildren).
seekTo | The desired position on the local timeline in milliseconds. |
---|