diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-09-11 16:47:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-09-12 08:51:07 +0200 |
commit | 7e671ae37f6c951d4db18c446eed52685200b2e0 (patch) | |
tree | c9c3713d27ac0374c08d2b99f7968969bd67c69e /swat2/style/qooxdoo/widgets/events/QxEvent.js | |
parent | acf11ddd5fbb9e4b0b780f4f95957d79fcc6fcf1 (diff) | |
download | samba-7e671ae37f6c951d4db18c446eed52685200b2e0.tar.gz samba-7e671ae37f6c951d4db18c446eed52685200b2e0.tar.bz2 samba-7e671ae37f6c951d4db18c446eed52685200b2e0.zip |
rename swat => swat2, so that we don't conflict with samba3
metze
(This used to be commit bf852a3dbeee8900fa36978f08a5cdceabcbd926)
Diffstat (limited to 'swat2/style/qooxdoo/widgets/events/QxEvent.js')
-rw-r--r-- | swat2/style/qooxdoo/widgets/events/QxEvent.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swat2/style/qooxdoo/widgets/events/QxEvent.js b/swat2/style/qooxdoo/widgets/events/QxEvent.js new file mode 100644 index 0000000000..31960eec9c --- /dev/null +++ b/swat2/style/qooxdoo/widgets/events/QxEvent.js @@ -0,0 +1,2 @@ +/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ +function QxEvent(eType,autoDispose){if(typeof autoDispose!="boolean"&&this.classname=="QxEvent"){autoDispose=false;};QxObject.call(this,autoDispose);if(isValid(eType)){this._type=eType;};};QxEvent.extend(QxObject,"QxEvent");proto._bubbles=false;proto._propagationStopped=true;proto._defaultPrevented=false;proto._type="";proto._target=null;proto._currentTarget=null;proto._relatedTarget=null;proto.setType=function(t){this._type=t;};proto.setBubbles=function(b){this._bubbles=b;};proto.setPropagationStopped=function(s){this._propagationStopped=s;};proto.stopPropagation=function(){this._propagationStopped=true;};proto.setPreventDefault=function(d){this._defaultPrevented=d;};proto.setTarget=function(t){this._target=t;};proto.setCurrentTarget=function(t){this._currentTarget=t;};proto.setRelatedTarget=function(t){this._relatedTarget=t;};proto.preventDefault=function(){this.setPreventDefault(true);};proto.getType=function(){return this._type;};proto.getBubbles=function(){return this._bubbles;};proto.getPropagationStopped=function(){return this._propagationStopped;};proto.getPreventDefault=function(){return this._defaultPrevented;};proto.getTarget=function(){return this._target;};proto.getCurrentTarget=function(){return this._currentTarget;};proto.getRelatedTarget=function(){return this._relatedTarget;};proto.dispose=function(){if(this._disposed){return;};this._target=null;this._currentTarget=null;this._relatedTarget=null;QxObject.prototype.dispose.call(this);};
\ No newline at end of file |