📄 animationreference.aspx
字号:
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">setOwner(owner);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">setValue(value);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">stop();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<a name="ParallelAnimation" /><div class="subheading">Parallel Animation</div>
<p>
The <span class="codeReference">ParallelAnimation</span> plays several animations simultaneously. It inherits from
<span class="codeReference"><a href="#ParentAnimation">ParentAnimation</a></span>, but makes itself the owner of all its child animations as this allows
it to use a single timer and synchronization mechanisms of the parent animation (in other words, the <span class="codeReference">duration</span>
properties of any child animations are ignored in favor of the parent's <span class="codeReference">duration</span>). It is very useful in
creating sophisticated effects through combinations of simpler animations.<br />
<b>Note:</b> The <span class="codeReference">ParallelAnimation</span> cannot have any child animations that derive
from <span class="codeReference"><a href="#SequenceAnimation">SequenceAnimation</a></span>.
</p>
<table class="animationReferenceTable">
<tr class="animationReferenceRow">
<td class="animationReferenceField">Tag:</td>
<td class="animationReferenceCode">Parallel</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Class:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.ParallelAnimation</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Base:</td>
<td class="animationReferenceCode"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Constructor:</td>
<td class="animationReferenceCode">new AjaxControlToolkit.Animation.ParallelAnimation(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Play:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.ParallelAnimation.play(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Properties:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Array animations; // Read Only</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number duration;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number fps;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isActive; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isInitialized; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isPlaying; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isUpdating; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number percentComplete; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Object target;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Methods:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">add(animation);</div>
Add an animation as a child of this animation and make ourselves its owner.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">clear();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">dispose();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getAnimatedValue(percentage);</div>
Empty implementation of an abstract function from <span class="codeReference">Sys.UI.Animation</span>.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getDescriptor();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">initialize();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">interpolate(start, end, percentage);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onEnd();</div>
Invoke the <span class="codeReference">onEnd</span> function of the child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onStart();</div>
Invoke the <span class="codeReference">onStart</span> function of the child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onStep(percentage);</div>
Invoke the <span class="codeReference">onStep</span> function of the child animations.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">pause();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">play();</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -