X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2FJRadioButtonMenuItem.js;fp=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2FJRadioButtonMenuItem.js;h=ca9cbef807c83c1401d3e21160908fbe67297b0d;hp=dd207789b4939bb5e2f1c306180e47d2c5bc432c;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/javax/swing/JRadioButtonMenuItem.js b/site/swingjs/j2s/javax/swing/JRadioButtonMenuItem.js index dd20778..ca9cbef 100644 --- a/site/swingjs/j2s/javax/swing/JRadioButtonMenuItem.js +++ b/site/swingjs/j2s/javax/swing/JRadioButtonMenuItem.js @@ -1,51 +1,51 @@ -Clazz.declarePackage ("javax.swing"); -Clazz.load (["javax.swing.JMenuItem"], "javax.swing.JRadioButtonMenuItem", ["javax.swing.JToggleButton"], function () { -c$ = Clazz.declareType (javax.swing, "JRadioButtonMenuItem", javax.swing.JMenuItem); -Clazz.makeConstructor (c$, -function () { -this.construct (null, null, false); -}); -Clazz.makeConstructor (c$, -function (icon) { -this.construct (null, icon, false); -}, "javax.swing.Icon"); -Clazz.makeConstructor (c$, -function (text) { -this.construct (text, null, false); -}, "~S"); -Clazz.makeConstructor (c$, -function (a) { -this.construct (); -this.setAction (a); -}, "javax.swing.Action"); -Clazz.makeConstructor (c$, -function (text, icon) { -this.construct (text, icon, false); -}, "~S,javax.swing.Icon"); -Clazz.makeConstructor (c$, -function (text, selected) { -this.construct (text); -this.setSelected (selected); -}, "~S,~B"); -Clazz.makeConstructor (c$, -function (icon, selected) { -this.construct (null, icon, selected); -}, "javax.swing.Icon,~B"); -Clazz.makeConstructor (c$, -function (text, icon, selected) { -Clazz.superConstructor (this, javax.swing.JRadioButtonMenuItem, [text, icon]); -this.setModel ( new javax.swing.JToggleButton.ToggleButtonModel ()); -this.setSelected (selected); -this.setFocusable (false); -}, "~S,javax.swing.Icon,~B"); -Clazz.overrideMethod (c$, "getUIClassID", -function () { -return "RadioButtonMenuItemUI"; -}); -Clazz.overrideMethod (c$, "shouldUpdateSelectedStateFromAction", -function () { -return true; -}); -Clazz.defineStatics (c$, -"$$uiClassID", "RadioButtonMenuItemUI"); -}); +Clazz.declarePackage ("javax.swing"); +Clazz.load (["javax.swing.JMenuItem"], "javax.swing.JRadioButtonMenuItem", ["javax.swing.JToggleButton"], function () { +c$ = Clazz.declareType (javax.swing, "JRadioButtonMenuItem", javax.swing.JMenuItem); +Clazz.makeConstructor (c$, +function () { +this.construct (null, null, false); +}); +Clazz.makeConstructor (c$, +function (icon) { +this.construct (null, icon, false); +}, "javax.swing.Icon"); +Clazz.makeConstructor (c$, +function (text) { +this.construct (text, null, false); +}, "~S"); +Clazz.makeConstructor (c$, +function (a) { +this.construct (); +this.setAction (a); +}, "javax.swing.Action"); +Clazz.makeConstructor (c$, +function (text, icon) { +this.construct (text, icon, false); +}, "~S,javax.swing.Icon"); +Clazz.makeConstructor (c$, +function (text, selected) { +this.construct (text); +this.setSelected (selected); +}, "~S,~B"); +Clazz.makeConstructor (c$, +function (icon, selected) { +this.construct (null, icon, selected); +}, "javax.swing.Icon,~B"); +Clazz.makeConstructor (c$, +function (text, icon, selected) { +Clazz.superConstructor (this, javax.swing.JRadioButtonMenuItem, [text, icon]); +this.setModel ( new javax.swing.JToggleButton.ToggleButtonModel ()); +this.setSelected (selected); +this.setFocusable (false); +}, "~S,javax.swing.Icon,~B"); +Clazz.overrideMethod (c$, "getUIClassID", +function () { +return "RadioButtonMenuItemUI"; +}); +Clazz.overrideMethod (c$, "shouldUpdateSelectedStateFromAction", +function () { +return true; +}); +Clazz.defineStatics (c$, +"$$uiClassID", "RadioButtonMenuItemUI"); +});