C_SequenceAnimations.js 966 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function C_SequenceAnimations(_hS91, _h931){C_SequenceAnimations.baseConstructor.call(this, _h931);this.F_ConstructBaseClass(_h931);this._hH91=_hS91||[];};C_SequenceAnimations.F_Extends(C_Animation);C_SequenceAnimations.prototype.F_Push=function(_hFG1){this._hH91.push(_hFG1);};C_SequenceAnimations.prototype.F_Play=function(_hV62){if(_hV62){setTimeout(this.F_Play.bind(this), _hV62);return;}this._hH91.reverse();this._hTB();};C_SequenceAnimations.prototype.F_Stop=function(){this._hH91.F_CallEach("F_Stop");};C_SequenceAnimations.prototype._hTB=function(){if(this._hH91.length==0){C_SequenceAnimations.superClass.F_Stop.call(this);return;}var _hFG1=this._hH91.pop();_hFG1.F_SetOnComplete(this._hTB.bind(this));_hFG1.F_Play();};