X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=site%2Fj2s%2Fswingjs%2Fplaf%2FJSViewportUI.js;fp=site%2Fj2s%2Fswingjs%2Fplaf%2FJSViewportUI.js;h=40fb31ceb449548567786d03dda71137a4da32fe;hb=4231d40261fef32ce4570a6bbad0d35df44e8baf;hp=0000000000000000000000000000000000000000;hpb=c07eb2c5794833bd0241000d6844d783fe10cb82;p=jalview.git diff --git a/site/j2s/swingjs/plaf/JSViewportUI.js b/site/j2s/swingjs/plaf/JSViewportUI.js new file mode 100644 index 0000000..40fb31c --- /dev/null +++ b/site/j2s/swingjs/plaf/JSViewportUI.js @@ -0,0 +1,15 @@ +Clazz.declarePackage ("swingjs.plaf"); +Clazz.load (["swingjs.plaf.JSComponentUI"], "swingjs.plaf.JSViewportUI", null, function () { +c$ = Clazz.declareType (swingjs.plaf, "JSViewportUI", swingjs.plaf.JSComponentUI); +Clazz.overrideMethod (c$, "getDOMObject", +function () { +if (this.domNode == null) this.domNode = this.createDOMObject ("div", this.id, []); +return this.domNode; +}); +Clazz.overrideMethod (c$, "installJSUI", +function () { +}); +Clazz.overrideMethod (c$, "uninstallJSUI", +function () { +}); +});