|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.optional.svg.tinyline.PlayerListener
public class PlayerListener
This class represents the events listener for the TinyLine SVG player
| Constructor Summary | |
|---|---|
PlayerListener(XSvgCanvas canvas)
|
|
| Method Summary | |
|---|---|
boolean |
animationsPaused()
Returns true if this SVG document fragment is in a paused state. |
void |
doLink(com.tinyline.svg.SVGNode linkNode)
|
int |
getCurrentTime()
Returns the current time in seconds relative to the start time for the current SVG document fragment. |
void |
handleEvent(Event evt)
uDOM: Invoked whenever an event occurs of the type for which the EventListener interface was registered. |
void |
pauseAnimations()
Suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this 'svg' element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused. |
void |
postSMILEvent(int eventType,
com.tinyline.tiny2d.TinyString theEvent)
SMIL: Posts the SMIL event from an animation element to an interested party. |
void |
resumeAnimations()
Unsuspends (i.e., unpauses) currently running animations that are defined within the SVG document fragment, causing the animation clock to continue from the time at which it was suspended. |
void |
setCurrentTime(long seconds)
Adjusts the clock for this SVG document fragment, establishing a new current time. |
void |
setStartTime()
Sets a start time for this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlayerListener(XSvgCanvas canvas)
| Method Detail |
|---|
public int getCurrentTime()
public void setStartTime()
public void setCurrentTime(long seconds)
seconds - The new current time in seconds relative to
the start time for the current SVG document fragment.public void pauseAnimations()
public void resumeAnimations()
public boolean animationsPaused()
public void postSMILEvent(int eventType,
com.tinyline.tiny2d.TinyString theEvent)
postSMILEvent in interface com.tinyline.svg.AnimationCallbackeventType - The SMIL event typetheEvent - The SMIL eventpublic void doLink(com.tinyline.svg.SVGNode linkNode)
public void handleEvent(Event evt)
handleEvent in interface EventListenerevt - The Event contains contextual information
about the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||