|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines methods to begin, pause, resume or end timed elements.
| Method Summary | |
boolean |
beginElement()
Causes this element to begin the local timeline (subject to sync constraints). |
boolean |
beginElementAt(int offset)
Causes this element to begin the local timeline (subject to sync constraints), at the passed offset from the current time when the method is called. |
boolean |
endElement()
Causes this element to end the local timeline (subject to sync constraints). |
boolean |
endElementAt(int offset)
Causes this element to end the local timeline (subject to sync constraints) at the specified offset from the current time when the method is called. |
void |
pauseElement()
Causes this element to pause the local timeline (subject to sync constraints). |
void |
resumeElement()
Causes this element to resume a paused local timeline. |
void |
seekElement(int seekTo)
Seeks this element to the specified point on the local timeline (subject to sync constraints). |
| Method Detail |
public boolean beginElement()
throws org.w3c.dom.DOMException
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" ).
org.w3c.dom.DOMException - SYNTAX_ERR: The element was not defined with the appropriate syntax
to allow beginElement calls.
public boolean endElement()
throws org.w3c.dom.DOMException
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.
org.w3c.dom.DOMException - SYNTAX_ERR: The element was not defined with the appropriate syntax
to allow endElement calls.public void pauseElement()
public void resumeElement()
public void seekElement(int seekTo)
seekTo - The desired position on the local timeline in
milliseconds.
public boolean beginElementAt(int offset)
throws org.w3c.dom.DOMException
offset - The offset in seconds at which to begin the element.
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 beginElementAt method. (the begin
attribute is not set to "indefinite" ) 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" ).
org.w3c.dom.DOMException - SYNTAX_ERR: The element was not defined with the appropriate syntax
to allow beginElementAt calls.
public boolean endElementAt(int offset)
throws org.w3c.dom.DOMException
offset - The offset in seconds at which to end the element. Must
be >= 0.
true if the method call was successful and the
element was ended. false if method call failed.
Possible reasons for failure include: The element doesn't support
the endElementAt method. (the end
attribute is not set to "indefinite" ) The element is
not active.
org.w3c.dom.DOMException - SYNTAX_ERR: The element was not defined with the appropriate syntax
to allow endElementAt calls.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||