X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2FJRadioButton.js;h=a0ae726f964042ec5219c4c98f33bb575d45e99f;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hp=2b08091c7508b0eebe7b30fe82406a932417ed3e;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921;p=jalviewjs.git diff --git a/site/swingjs/j2s/javax/swing/JRadioButton.js b/site/swingjs/j2s/javax/swing/JRadioButton.js index 2b08091..a0ae726 100644 --- a/site/swingjs/j2s/javax/swing/JRadioButton.js +++ b/site/swingjs/j2s/javax/swing/JRadioButton.js @@ -1,52 +1,52 @@ -Clazz.declarePackage ("javax.swing"); -Clazz.load (["javax.swing.JToggleButton"], "javax.swing.JRadioButton", ["javax.swing.UIManager"], function () { -c$ = Clazz.declareType (javax.swing, "JRadioButton", javax.swing.JToggleButton); -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 (a) { -this.construct (); -this.setAction (a); -}, "javax.swing.Action"); -Clazz.makeConstructor (c$, -function (icon, selected) { -this.construct (null, icon, selected); -}, "javax.swing.Icon,~B"); -Clazz.makeConstructor (c$, -function (text) { -this.construct (text, null, false); -}, "~S"); -Clazz.makeConstructor (c$, -function (text, selected) { -this.construct (text, null, selected); -}, "~S,~B"); -Clazz.makeConstructor (c$, -function (text, icon) { -this.construct (text, icon, false); -}, "~S,javax.swing.Icon"); -Clazz.makeConstructor (c$, -function (text, icon, selected) { -Clazz.superConstructor (this, javax.swing.JRadioButton, [text, icon, selected]); -this.setBorderPainted (false); -this.setHorizontalAlignment (10); -}, "~S,javax.swing.Icon,~B"); -Clazz.overrideMethod (c$, "updateUI", -function () { -this.setUI (javax.swing.UIManager.getUI (this)); -}); -Clazz.overrideMethod (c$, "getUIClassID", -function () { -return "RadioButtonUI"; -}); -Clazz.overrideMethod (c$, "setIconFromAction", -function (a) { -}, "javax.swing.Action"); -Clazz.defineStatics (c$, -"$$uiClassID", "RadioButtonUI"); -}); +Clazz.declarePackage ("javax.swing"); +Clazz.load (["javax.swing.JToggleButton"], "javax.swing.JRadioButton", ["javax.swing.UIManager"], function () { +c$ = Clazz.declareType (javax.swing, "JRadioButton", javax.swing.JToggleButton); +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 (a) { +this.construct (); +this.setAction (a); +}, "javax.swing.Action"); +Clazz.makeConstructor (c$, +function (icon, selected) { +this.construct (null, icon, selected); +}, "javax.swing.Icon,~B"); +Clazz.makeConstructor (c$, +function (text) { +this.construct (text, null, false); +}, "~S"); +Clazz.makeConstructor (c$, +function (text, selected) { +this.construct (text, null, selected); +}, "~S,~B"); +Clazz.makeConstructor (c$, +function (text, icon) { +this.construct (text, icon, false); +}, "~S,javax.swing.Icon"); +Clazz.makeConstructor (c$, +function (text, icon, selected) { +Clazz.superConstructor (this, javax.swing.JRadioButton, [text, icon, selected]); +this.setBorderPainted (false); +this.setHorizontalAlignment (10); +}, "~S,javax.swing.Icon,~B"); +Clazz.overrideMethod (c$, "updateUI", +function () { +this.setUI (javax.swing.UIManager.getUI (this)); +}); +Clazz.overrideMethod (c$, "getUIClassID", +function () { +return "RadioButtonUI"; +}); +Clazz.overrideMethod (c$, "setIconFromAction", +function (a) { +}, "javax.swing.Action"); +Clazz.defineStatics (c$, +"$$uiClassID", "RadioButtonUI"); +});