X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2FJToolTip.js;fp=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2FJToolTip.js;h=87c090516ce1c2e4facb3697918bad43479a9221;hp=298d02e9c5ce37078d0b13d276514cb4bdf4fc74;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/javax/swing/JToolTip.js b/site/swingjs/j2s/javax/swing/JToolTip.js index 298d02e..87c0905 100644 --- a/site/swingjs/j2s/javax/swing/JToolTip.js +++ b/site/swingjs/j2s/javax/swing/JToolTip.js @@ -1,57 +1,57 @@ -Clazz.declarePackage ("javax.swing"); -Clazz.load (["javax.swing.JComponent"], "javax.swing.JToolTip", ["javax.swing.UIManager"], function () { -c$ = Clazz.decorateAsClass (function () { -this.tipText = null; -this.$component = null; -Clazz.instantialize (this, arguments); -}, javax.swing, "JToolTip", javax.swing.JComponent); -Clazz.makeConstructor (c$, -function () { -Clazz.superConstructor (this, javax.swing.JToolTip, []); -this.setOpaque (true); -this.updateUI (); -}); -Clazz.overrideMethod (c$, "getUI", -function () { -return this.ui; -}); -Clazz.overrideMethod (c$, "updateUI", -function () { -this.setUI (javax.swing.UIManager.getUI (this)); -}); -Clazz.overrideMethod (c$, "getUIClassID", -function () { -return "ToolTipUI"; -}); -Clazz.defineMethod (c$, "setTipText", -function (tipText) { -var oldValue = this.tipText; -this.tipText = tipText; -this.firePropertyChangeObject ("tiptext", oldValue, tipText); -}, "~S"); -Clazz.defineMethod (c$, "getTipText", -function () { -return this.tipText; -}); -Clazz.defineMethod (c$, "setComponent", -function (c) { -var oldValue = this.$component; -this.$component = c; -this.firePropertyChangeObject ("component", oldValue, c); -}, "javax.swing.JComponent"); -Clazz.defineMethod (c$, "getComponent", -function () { -return this.$component; -}); -Clazz.overrideMethod (c$, "alwaysOnTop", -function () { -return true; -}); -Clazz.defineMethod (c$, "paramString", -function () { -var tipTextString = (this.tipText != null ? this.tipText : ""); -return Clazz.superCall (this, javax.swing.JToolTip, "paramString", []) + ",tipText=" + tipTextString; -}); -Clazz.defineStatics (c$, -"$uiClassID", "ToolTipUI"); -}); +Clazz.declarePackage ("javax.swing"); +Clazz.load (["javax.swing.JComponent"], "javax.swing.JToolTip", ["javax.swing.UIManager"], function () { +c$ = Clazz.decorateAsClass (function () { +this.tipText = null; +this.$component = null; +Clazz.instantialize (this, arguments); +}, javax.swing, "JToolTip", javax.swing.JComponent); +Clazz.makeConstructor (c$, +function () { +Clazz.superConstructor (this, javax.swing.JToolTip, []); +this.setOpaque (true); +this.updateUI (); +}); +Clazz.overrideMethod (c$, "getUI", +function () { +return this.ui; +}); +Clazz.overrideMethod (c$, "updateUI", +function () { +this.setUI (javax.swing.UIManager.getUI (this)); +}); +Clazz.overrideMethod (c$, "getUIClassID", +function () { +return "ToolTipUI"; +}); +Clazz.defineMethod (c$, "setTipText", +function (tipText) { +var oldValue = this.tipText; +this.tipText = tipText; +this.firePropertyChangeObject ("tiptext", oldValue, tipText); +}, "~S"); +Clazz.defineMethod (c$, "getTipText", +function () { +return this.tipText; +}); +Clazz.defineMethod (c$, "setComponent", +function (c) { +var oldValue = this.$component; +this.$component = c; +this.firePropertyChangeObject ("component", oldValue, c); +}, "javax.swing.JComponent"); +Clazz.defineMethod (c$, "getComponent", +function () { +return this.$component; +}); +Clazz.overrideMethod (c$, "alwaysOnTop", +function () { +return true; +}); +Clazz.defineMethod (c$, "paramString", +function () { +var tipTextString = (this.tipText != null ? this.tipText : ""); +return Clazz.superCall (this, javax.swing.JToolTip, "paramString", []) + ",tipText=" + tipTextString; +}); +Clazz.defineStatics (c$, +"$uiClassID", "ToolTipUI"); +});