X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/fx/target/Target.js?ds=sidebyside diff --git a/src/fx/target/Target.js b/src/fx/target/Target.js index a2be7fb9..a5a726a1 100644 --- a/src/fx/target/Target.js +++ b/src/fx/target/Target.js @@ -1,3 +1,17 @@ +/* + +This file is part of Ext JS 4 + +Copyright (c) 2011 Sencha Inc + +Contact: http://www.sencha.com/contact + +GNU General Public License Usage +This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. + +If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. + +*/ /** * @class Ext.fx.target.Target @@ -9,20 +23,22 @@ underlying animation will create the appropriate Ext.fx.target.Target object by the instance to be animated. The following types of objects can be animated: -- {@link #Ext.fx.target.Component Components} -- {@link #Ext.fx.target.Element Elements} -- {@link #Ext.fx.target.Sprite Sprites} + +- {@link Ext.fx.target.Component Components} +- {@link Ext.fx.target.Element Elements} +- {@link Ext.fx.target.Sprite Sprites} * @markdown * @abstract - * @constructor - * @param {Mixed} target The object to be animated */ - Ext.define('Ext.fx.target.Target', { isAnimTarget: true, + /** + * Creates new Target. + * @param {Ext.Component/Ext.Element/Ext.draw.Sprite} target The object to be animated + */ constructor: function(target) { this.target = target; this.id = this.getId(); @@ -32,3 +48,4 @@ Ext.define('Ext.fx.target.Target', { return this.target.id; } }); +