summaryrefslogtreecommitdiff
path: root/swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js
diff options
context:
space:
mode:
Diffstat (limited to 'swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js')
-rw-r--r--swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js b/swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js
new file mode 100644
index 0000000000..2516e101ed
--- /dev/null
+++ b/swat.obsolete/style/qooxdoo/widgets/widgets/QxToolBarRadioButton.js
@@ -0,0 +1,2 @@
+/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */
+function QxToolBarRadioButton(vText,vIcon,vChecked){QxToolBarCheckBox.call(this,vText,vIcon,vChecked);};QxToolBarRadioButton.extend(QxToolBarCheckBox,"QxToolBarRadioButton");QxToolBarRadioButton.addProperty({name:"group"});QxToolBarRadioButton.addProperty({name:"name",type:String});QxToolBarRadioButton.addProperty({name:"disableUncheck",type:Boolean,defaultValue:false});proto._modifyChecked=function(_b1,_b2,_b3,_b4){QxToolBarCheckBox.prototype._modifyChecked.call(this,_b1,_b2,_b3,_b4);if(this.getGroup()){this.getGroup().setSelected(this,_b4);};return true;};proto._modifyGroup=function(_b1,_b2,_b3,_b4){if(_b2){_b2.remove(this,_b4);};if(_b1){_b1.add(this,_b4);};return true;};proto._g2=function(e){if(e.isNotLeftButton()){return;};this.setChecked(this.getDisableUncheck()||!this.getChecked());}; \ No newline at end of file