1 Clazz.declarePackage ("javax.swing");
2 Clazz.load (["javax.swing.JMenuItem"], "javax.swing.JRadioButtonMenuItem", ["javax.swing.JToggleButton"], function () {
3 c$ = Clazz.declareType (javax.swing, "JRadioButtonMenuItem", javax.swing.JMenuItem);
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$,
14 this.construct (text, null, false);
16 Clazz.makeConstructor (c$,
20 }, "javax.swing.Action");
21 Clazz.makeConstructor (c$,
22 function (text, icon) {
23 this.construct (text, icon, false);
24 }, "~S,javax.swing.Icon");
25 Clazz.makeConstructor (c$,
26 function (text, selected) {
27 this.construct (text);
28 this.setSelected (selected);
30 Clazz.makeConstructor (c$,
31 function (icon, selected) {
32 this.construct (null, icon, selected);
33 }, "javax.swing.Icon,~B");
34 Clazz.makeConstructor (c$,
35 function (text, icon, selected) {
36 Clazz.superConstructor (this, javax.swing.JRadioButtonMenuItem, [text, icon]);
37 this.setModel ( new javax.swing.JToggleButton.ToggleButtonModel ());
38 this.setSelected (selected);
39 this.setFocusable (false);
40 }, "~S,javax.swing.Icon,~B");
41 Clazz.overrideMethod (c$, "getUIClassID",
43 return "RadioButtonMenuItemUI";
45 Clazz.overrideMethod (c$, "shouldUpdateSelectedStateFromAction",
49 Clazz.defineStatics (c$,
50 "$$uiClassID", "RadioButtonMenuItemUI");