diff options
Diffstat (limited to 'swat/style/qooxdoo/widgets/widgets/QxMenuRadioButton.js')
-rw-r--r-- | swat/style/qooxdoo/widgets/widgets/QxMenuRadioButton.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/style/qooxdoo/widgets/widgets/QxMenuRadioButton.js b/swat/style/qooxdoo/widgets/widgets/QxMenuRadioButton.js new file mode 100644 index 0000000000..68f596a4a3 --- /dev/null +++ b/swat/style/qooxdoo/widgets/widgets/QxMenuRadioButton.js @@ -0,0 +1,2 @@ +/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ +function QxMenuRadioButton(vText,vCommand,vChecked){QxMenuCheckBox.call(this,vText,vCommand,vChecked);};QxMenuRadioButton.extend(QxMenuCheckBox,"QxMenuRadioButton");QxMenuRadioButton.addProperty({name:"group"});proto._source = "widgets/menu/radiobutton.gif";proto._modifyChecked=function(_b1,_b2,_b3,_b4){if(this.getGroup()){this.getGroup().setSelected(this,_b4);};return QxMenuCheckBox.prototype._modifyChecked.call(this,_b1,_b2,_b3,_b4);};proto._modifyGroup=function(_b1,_b2,_b3,_b4){if(_b2){_b2.remove(this,_b4);};if(_b1){_b1.add(this,_b4);};return true;};proto._modifyName=function(_b1,_b2,_b3,_b4){if(this.getGroup()){this.getGroup().setName(_b1,_b4);};return true;};proto.execute=function(){this.setChecked(true);QxMenuButton.prototype.execute.call(this);};
\ No newline at end of file |