Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: animations ::

interface XAnimationListener
Base Interfaces
XAnimationListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
makes it possible to register listeners, which are called whenever an animation event occurs.
Since
OOo 3.0

Methods' Summary
beginEvent This event is raised when the element local timeline begins to play.  
endEvent This event is raised at the active end of the element.  
repeat This event is raised when the element local timeline repeats.  
Methods' Details
beginEvent
void
beginEvent( [in] XAnimationNode  Node );

Description
This event is raised when the element local timeline begins to play.

It will be raised each time the element begins the active duration (i.e. when it restarts, but not when it repeats).

It may be raised both in the course of normal (i.e. scheduled or interactive) timeline play, as well as in the case that the element was begun with an interface method.

Parameter Node
The node that begins to play.
endEvent
void
endEvent( [in] XAnimationNode  Node );

Description
This event is raised at the active end of the element.

Note that this event is not raised at the simple end of each repeat.

This event may be raised both in the course of normal (i.e. scheduled or interactive) timeline play, as well as in the case that the element was ended with a DOM method.

Parameter Node
The node that stops playing.
repeat
void
repeat( [in] XAnimationNode  Node,
[in] long  Repeat );

Description
This event is raised when the element local timeline repeats.

It will be raised each time the element repeats, after the first iteration.

Associated with the repeat event is an integer that indicates which repeat iteration is beginning.

Parameter Node
The node that repeats.
Parameter Repeat
The value is a 0-based integer, but the repeat event is not raised for the first iteration and so the observed values will be >= 1.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.