X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=site%2Fj2s%2Fswingjs%2Fplaf%2FJSCheckBoxMenuItemUI.java;fp=site%2Fj2s%2Fswingjs%2Fplaf%2FJSCheckBoxMenuItemUI.java;h=5a6f28eb67e3f00d2c7b5c3cdfb3773abc65ec7f;hb=4231d40261fef32ce4570a6bbad0d35df44e8baf;hp=0000000000000000000000000000000000000000;hpb=c07eb2c5794833bd0241000d6844d783fe10cb82;p=jalview.git diff --git a/site/j2s/swingjs/plaf/JSCheckBoxMenuItemUI.java b/site/j2s/swingjs/plaf/JSCheckBoxMenuItemUI.java new file mode 100644 index 0000000..5a6f28e --- /dev/null +++ b/site/j2s/swingjs/plaf/JSCheckBoxMenuItemUI.java @@ -0,0 +1,29 @@ +package swingjs.plaf; + +import swingjs.api.DOMNode; + +/** + * CheckboxUI implementation for BasicCheckboxUI + *
+ * Warning: Serialized objects of this class will not be
+ * compatible with future Swing releases. The current serialization support is
+ * appropriate for short term storage or RMI between applications running the
+ * same version of Swing. As of 1.4, support for long term storage of all
+ * JavaBeansTM has been added to the
+ * java.beans
package. Please see {@link java.beans.XMLEncoder}.
+ *
+ * @author Jeff Dinkins
+ */
+public class JSCheckBoxMenuItemUI extends JSCheckBoxUI {
+
+ @Override
+ public DOMNode getDOMObject() {
+ return getButtonObject("checkBox");
+ }
+
+ @Override
+ protected String getPropertyPrefix() {
+ return "CheckBoxMenuItem.";
+ }
+
+}