UIAnimationPlayer Class Reference

Class that plays back uia format animation. More...

Inheritance diagram for UIAnimationPlayer:
Panel ContainerWidget Widget

List of all members.

Public Member Functions

 UIAnimationPlayer (string filePath)
 Constructor.
void Play ()
 Plays back the animation.
void Stop ()
 Stops the animation.
void Pause ()
 Pauses the animation.
void Resume ()
 Resumes the animation.
void ReplaceWidget (string name, Widget widget)
 Replaces the widget.

Static Public Member Functions

static UIAnimationPlayer CreateAndPlay (string filePath)
 UIAnimationPlayer is generated from an uia file and the animation is played back.

Protected Member Functions

override void DisposeSelf ()
 Frees the unmanaged resources held by this widget.

Properties

bool Playing [get]
 Obtains whether the animation is operating.
bool Paused [get]
 Obtains whether the animation is paused.
bool Repeating [get, set]
 Obtains and sets whether the animation will be repeatedly played back.

Events

EventHandler< EventArgs > AnimationStopped
 Handler called when the animation is stopped.

Detailed Description

Class that plays back uia format animation.


Constructor & Destructor Documentation

UIAnimationPlayer ( string  filePath)

Constructor.

Parameters:
filePathuia file path

Member Function Documentation

static UIAnimationPlayer CreateAndPlay ( string  filePath) [static]

UIAnimationPlayer is generated from an uia file and the animation is played back.

Parameters:
filePathuia file path
Returns:
UIAnimationPlayer instance
void ReplaceWidget ( string  name,
Widget  widget 
)

Replaces the widget.

Parameters:
nameName of the widget to be deleted
widgetWidget to be added