1 Clazz.declarePackage ("javax.swing");
2 Clazz.load (["javax.swing.JToggleButton"], "javax.swing.JRadioButton", ["javax.swing.UIManager"], function () {
3 c$ = Clazz.declareType (javax.swing, "JRadioButton", javax.swing.JToggleButton);
4 Clazz.makeConstructor (c$,
6 this.construct (null, null, false);
8 Clazz.makeConstructor (c$,
10 this.construct (null, icon, false);
11 }, "javax.swing.Icon");
12 Clazz.makeConstructor (c$,
16 }, "javax.swing.Action");
17 Clazz.makeConstructor (c$,
18 function (icon, selected) {
19 this.construct (null, icon, selected);
20 }, "javax.swing.Icon,~B");
21 Clazz.makeConstructor (c$,
23 this.construct (text, null, false);
25 Clazz.makeConstructor (c$,
26 function (text, selected) {
27 this.construct (text, null, selected);
29 Clazz.makeConstructor (c$,
30 function (text, icon) {
31 this.construct (text, icon, false);
32 }, "~S,javax.swing.Icon");
33 Clazz.makeConstructor (c$,
34 function (text, icon, selected) {
35 Clazz.superConstructor (this, javax.swing.JRadioButton, [text, icon, selected]);
36 this.setBorderPainted (false);
37 this.setHorizontalAlignment (10);
38 }, "~S,javax.swing.Icon,~B");
39 Clazz.overrideMethod (c$, "updateUI",
41 this.setUI (javax.swing.UIManager.getUI (this));
43 Clazz.overrideMethod (c$, "getUIClassID",
45 return "RadioButtonUI";
47 Clazz.overrideMethod (c$, "setIconFromAction",
49 }, "javax.swing.Action");
50 Clazz.defineStatics (c$,
51 "$$uiClassID", "RadioButtonUI");