JAL-1807
[jalview.git] / site / j2s / swingjs / plaf / JSRadioButtonMenuItemUI.js
diff --git a/site/j2s/swingjs/plaf/JSRadioButtonMenuItemUI.js b/site/j2s/swingjs/plaf/JSRadioButtonMenuItemUI.js
new file mode 100644 (file)
index 0000000..22cb59e
--- /dev/null
@@ -0,0 +1,12 @@
+Clazz.declarePackage ("swingjs.plaf");
+Clazz.load (["swingjs.plaf.JSRadioButtonUI"], "swingjs.plaf.JSRadioButtonMenuItemUI", null, function () {
+c$ = Clazz.declareType (swingjs.plaf, "JSRadioButtonMenuItemUI", swingjs.plaf.JSRadioButtonUI);
+Clazz.overrideMethod (c$, "getDOMObject", 
+function () {
+return this.getButtonObject ("radio");
+});
+Clazz.overrideMethod (c$, "getPropertyPrefix", 
+function () {
+return "RadioButtonMenuItem.";
+});
+});