1 Clazz.declarePackage ("javax.swing");
2 Clazz.load (["javax.swing.JComponent"], "javax.swing.JToolTip", ["javax.swing.UIManager"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 this.$component = null;
6 Clazz.instantialize (this, arguments);
7 }, javax.swing, "JToolTip", javax.swing.JComponent);
8 Clazz.makeConstructor (c$,
10 Clazz.superConstructor (this, javax.swing.JToolTip, []);
11 this.setOpaque (true);
14 Clazz.overrideMethod (c$, "getUI",
18 Clazz.overrideMethod (c$, "updateUI",
20 this.setUI (javax.swing.UIManager.getUI (this));
22 Clazz.overrideMethod (c$, "getUIClassID",
26 Clazz.defineMethod (c$, "setTipText",
28 var oldValue = this.tipText;
29 this.tipText = tipText;
30 this.firePropertyChangeObject ("tiptext", oldValue, tipText);
32 Clazz.defineMethod (c$, "getTipText",
36 Clazz.defineMethod (c$, "setComponent",
38 var oldValue = this.$component;
40 this.firePropertyChangeObject ("component", oldValue, c);
41 }, "javax.swing.JComponent");
42 Clazz.defineMethod (c$, "getComponent",
44 return this.$component;
46 Clazz.overrideMethod (c$, "alwaysOnTop",
50 Clazz.defineMethod (c$, "paramString",
52 var tipTextString = (this.tipText != null ? this.tipText : "");
53 return Clazz.superCall (this, javax.swing.JToolTip, "paramString", []) + ",tipText=" + tipTextString;
55 Clazz.defineStatics (c$,
56 "$uiClassID", "ToolTipUI");