API documentation  2.0rc1
Public Member Functions | List of all members
client::Animation Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

double get_currentTime ()
 
void set_currentTime (double)
 
AnimationEffectReadOnlyget_effect ()
 
void set_effect (AnimationEffectReadOnly *)
 
Promiseget_finished ()
 
Stringget_id ()
 
void set_id (const String &)
 
bool get_pending ()
 
Stringget_playState ()
 
double get_playbackRate ()
 
void set_playbackRate (double)
 
Promiseget_ready ()
 
double get_startTime ()
 
void set_startTime (double)
 
AnimationTimelineget_timeline ()
 
void set_timeline (AnimationTimeline *)
 
void cancel ()
 
void finish ()
 
EventListenerget_oncancel ()
 
void set_oncancel (EventListener *)
 
EventListenerget_onfinish ()
 
void set_onfinish (EventListener *)
 
void pause ()
 
void play ()
 
void reverse ()
 
Animationget_prototype ()
 
void set_prototype (Animation *)
 
 Animation ()
 
 Animation (AnimationEffectReadOnly *effect)
 
 Animation (AnimationEffectReadOnly *effect, AnimationTimeline *timeline)
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ Animation() [1/3]

client::Animation::Animation ( )

◆ Animation() [2/3]

client::Animation::Animation ( AnimationEffectReadOnly effect)

◆ Animation() [3/3]

client::Animation::Animation ( AnimationEffectReadOnly effect,
AnimationTimeline timeline 
)

Member Function Documentation

◆ cancel()

void client::Animation::cancel ( )

◆ finish()

void client::Animation::finish ( )

◆ get_currentTime()

double client::Animation::get_currentTime ( )

◆ get_effect()

AnimationEffectReadOnly* client::Animation::get_effect ( )

◆ get_finished()

Promise* client::Animation::get_finished ( )

◆ get_id()

String* client::Animation::get_id ( )

◆ get_oncancel()

EventListener* client::Animation::get_oncancel ( )

◆ get_onfinish()

EventListener* client::Animation::get_onfinish ( )

◆ get_pending()

bool client::Animation::get_pending ( )

◆ get_playbackRate()

double client::Animation::get_playbackRate ( )

◆ get_playState()

String* client::Animation::get_playState ( )

◆ get_prototype()

Animation* client::Animation::get_prototype ( )

◆ get_ready()

Promise* client::Animation::get_ready ( )

◆ get_startTime()

double client::Animation::get_startTime ( )

◆ get_timeline()

AnimationTimeline* client::Animation::get_timeline ( )

◆ pause()

void client::Animation::pause ( )

◆ play()

void client::Animation::play ( )

◆ reverse()

void client::Animation::reverse ( )

◆ set_currentTime()

void client::Animation::set_currentTime ( double  )

◆ set_effect()

void client::Animation::set_effect ( AnimationEffectReadOnly )

◆ set_id()

void client::Animation::set_id ( const String )

◆ set_oncancel()

void client::Animation::set_oncancel ( EventListener )

◆ set_onfinish()

void client::Animation::set_onfinish ( EventListener )

◆ set_playbackRate()

void client::Animation::set_playbackRate ( double  )

◆ set_prototype()

void client::Animation::set_prototype ( Animation )

◆ set_startTime()

void client::Animation::set_startTime ( double  )

◆ set_timeline()

void client::Animation::set_timeline ( AnimationTimeline )