Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / javax / swing / tree / DefaultTreeCellRenderer.js
index 077e394..95d8235 100644 (file)
-Clazz.declarePackage ("javax.swing.tree");\r
-Clazz.load (["javax.swing.JLabel", "javax.swing.tree.TreeCellRenderer"], "javax.swing.tree.DefaultTreeCellRenderer", ["java.awt.Dimension", "javax.swing.border.EmptyBorder", "javax.swing.plaf.ColorUIResource", "$.FontUIResource", "jssun.swing.DefaultLookup"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.tree = null;\r
-this.selected = false;\r
-this.$hasFocus = false;\r
-this.drawsFocusBorderAroundIcon = false;\r
-this.drawDashedFocusIndicator = false;\r
-this.treeBGColor = null;\r
-this.focusBGColor = null;\r
-this.closedIcon = null;\r
-this.leafIcon = null;\r
-this.openIcon = null;\r
-this.textSelectionColor = null;\r
-this.textNonSelectionColor = null;\r
-this.backgroundSelectionColor = null;\r
-this.backgroundNonSelectionColor = null;\r
-this.borderSelectionColor = null;\r
-this.isDropCell = false;\r
-this.fillBackground = true;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing.tree, "DefaultTreeCellRenderer", javax.swing.JLabel, javax.swing.tree.TreeCellRenderer);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, javax.swing.tree.DefaultTreeCellRenderer, []);\r
-this.setLeafIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.leafIcon"));\r
-this.setClosedIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.closedIcon"));\r
-this.setOpenIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.openIcon"));\r
-this.setTextSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionForeground"));\r
-this.setTextNonSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.textForeground"));\r
-this.setBackgroundSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionBackground"));\r
-this.setBackgroundNonSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.textBackground"));\r
-this.setBorderSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionBorderColor"));\r
-this.drawsFocusBorderAroundIcon = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.drawsFocusBorderAroundIcon", false);\r
-this.drawDashedFocusIndicator = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.drawDashedFocusIndicator", false);\r
-this.fillBackground = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.rendererFillBackground", true);\r
-var margins = jssun.swing.DefaultLookup.getInsets (this, this.ui, "Tree.rendererMargins");\r
-if (margins != null) {\r
-this.setBorder ( new javax.swing.border.EmptyBorder (margins.top, margins.left, margins.bottom, margins.right));\r
-}this.setName ("Tree.cellRenderer");\r
-});\r
-Clazz.defineMethod (c$, "getDefaultOpenIcon", \r
-function () {\r
-return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.openIcon");\r
-});\r
-Clazz.defineMethod (c$, "getDefaultClosedIcon", \r
-function () {\r
-return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.closedIcon");\r
-});\r
-Clazz.defineMethod (c$, "getDefaultLeafIcon", \r
-function () {\r
-return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.leafIcon");\r
-});\r
-Clazz.defineMethod (c$, "setOpenIcon", \r
-function (newIcon) {\r
-this.openIcon = newIcon;\r
-}, "javax.swing.Icon");\r
-Clazz.defineMethod (c$, "getOpenIcon", \r
-function () {\r
-return this.openIcon;\r
-});\r
-Clazz.defineMethod (c$, "setClosedIcon", \r
-function (newIcon) {\r
-this.closedIcon = newIcon;\r
-}, "javax.swing.Icon");\r
-Clazz.defineMethod (c$, "getClosedIcon", \r
-function () {\r
-return this.closedIcon;\r
-});\r
-Clazz.defineMethod (c$, "setLeafIcon", \r
-function (newIcon) {\r
-this.leafIcon = newIcon;\r
-}, "javax.swing.Icon");\r
-Clazz.defineMethod (c$, "getLeafIcon", \r
-function () {\r
-return this.leafIcon;\r
-});\r
-Clazz.defineMethod (c$, "setTextSelectionColor", \r
-function (newColor) {\r
-this.textSelectionColor = newColor;\r
-}, "java.awt.Color");\r
-Clazz.defineMethod (c$, "getTextSelectionColor", \r
-function () {\r
-return this.textSelectionColor;\r
-});\r
-Clazz.defineMethod (c$, "setTextNonSelectionColor", \r
-function (newColor) {\r
-this.textNonSelectionColor = newColor;\r
-}, "java.awt.Color");\r
-Clazz.defineMethod (c$, "getTextNonSelectionColor", \r
-function () {\r
-return this.textNonSelectionColor;\r
-});\r
-Clazz.defineMethod (c$, "setBackgroundSelectionColor", \r
-function (newColor) {\r
-this.backgroundSelectionColor = newColor;\r
-}, "java.awt.Color");\r
-Clazz.defineMethod (c$, "getBackgroundSelectionColor", \r
-function () {\r
-return this.backgroundSelectionColor;\r
-});\r
-Clazz.defineMethod (c$, "setBackgroundNonSelectionColor", \r
-function (newColor) {\r
-this.backgroundNonSelectionColor = newColor;\r
-}, "java.awt.Color");\r
-Clazz.defineMethod (c$, "getBackgroundNonSelectionColor", \r
-function () {\r
-return this.backgroundNonSelectionColor;\r
-});\r
-Clazz.defineMethod (c$, "setBorderSelectionColor", \r
-function (newColor) {\r
-this.borderSelectionColor = newColor;\r
-}, "java.awt.Color");\r
-Clazz.defineMethod (c$, "getBorderSelectionColor", \r
-function () {\r
-return this.borderSelectionColor;\r
-});\r
-Clazz.defineMethod (c$, "setFont", \r
-function (font) {\r
-if (Clazz.instanceOf (font, javax.swing.plaf.FontUIResource)) font = null;\r
-Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "setFont", [font]);\r
-}, "java.awt.Font");\r
-Clazz.defineMethod (c$, "getFont", \r
-function () {\r
-var font = Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "getFont", []);\r
-if (font == null && this.tree != null) {\r
-font = this.tree.getFont ();\r
-}return font;\r
-});\r
-Clazz.defineMethod (c$, "setBackground", \r
-function (color) {\r
-if (Clazz.instanceOf (color, javax.swing.plaf.ColorUIResource)) color = null;\r
-Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "setBackground", [color]);\r
-}, "java.awt.Color");\r
-Clazz.overrideMethod (c$, "getTreeCellRendererComponent", \r
-function (tree, value, sel, expanded, leaf, row, hasFocus) {\r
-var stringValue = tree.convertValueToText (value, sel, expanded, leaf, row, hasFocus);\r
-this.tree = tree;\r
-this.$hasFocus = hasFocus;\r
-this.setText (stringValue);\r
-var fg = null;\r
-this.isDropCell = false;\r
-if (sel) {\r
-fg = this.getTextSelectionColor ();\r
-} else {\r
-fg = this.getTextNonSelectionColor ();\r
-}this.setForeground (fg);\r
-var icon = null;\r
-if (leaf) {\r
-icon = this.getLeafIcon ();\r
-} else if (expanded) {\r
-icon = this.getOpenIcon ();\r
-} else {\r
-icon = this.getClosedIcon ();\r
-}if (!tree.isEnabled ()) {\r
-this.setEnabled (false);\r
-this.setDisabledIcon (icon);\r
-} else {\r
-this.setEnabled (true);\r
-this.setIcon (icon);\r
-}this.setComponentOrientation (tree.getComponentOrientation ());\r
-this.selected = sel;\r
-return this;\r
-}, "javax.swing.JTree,~O,~B,~B,~B,~N,~B");\r
-Clazz.defineMethod (c$, "paint", \r
-function (g) {\r
-var bColor;\r
-if (this.isDropCell) {\r
-bColor = jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.dropCellBackground");\r
-if (bColor == null) {\r
-bColor = this.getBackgroundSelectionColor ();\r
-}} else if (this.selected) {\r
-bColor = this.getBackgroundSelectionColor ();\r
-} else {\r
-bColor = this.getBackgroundNonSelectionColor ();\r
-if (bColor == null) {\r
-bColor = this.getBackground ();\r
-}}var imageOffset = -1;\r
-if (bColor != null && this.fillBackground) {\r
-imageOffset = this.getLabelStart ();\r
-g.setColor (bColor);\r
-if (this.getComponentOrientation ().isLeftToRight ()) {\r
-g.fillRect (imageOffset, 0, this.getWidth () - imageOffset, this.getHeight ());\r
-} else {\r
-g.fillRect (0, 0, this.getWidth () - imageOffset, this.getHeight ());\r
-}}if (this.$hasFocus) {\r
-if (this.drawsFocusBorderAroundIcon) {\r
-imageOffset = 0;\r
-} else if (imageOffset == -1) {\r
-imageOffset = this.getLabelStart ();\r
-}if (this.getComponentOrientation ().isLeftToRight ()) {\r
-this.paintFocus (g, imageOffset, 0, this.getWidth () - imageOffset, this.getHeight (), bColor);\r
-} else {\r
-this.paintFocus (g, 0, 0, this.getWidth () - imageOffset, this.getHeight (), bColor);\r
-}}Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "paint", [g]);\r
-}, "java.awt.Graphics");\r
-Clazz.defineMethod (c$, "paintFocus", \r
- function (g, x, y, w, h, notColor) {\r
-var bsColor = this.getBorderSelectionColor ();\r
-if (bsColor != null && (this.selected || !this.drawDashedFocusIndicator)) {\r
-g.setColor (bsColor);\r
-g.drawRect (x, y, w - 1, h - 1);\r
-}}, "java.awt.Graphics,~N,~N,~N,~N,java.awt.Color");\r
-Clazz.defineMethod (c$, "getLabelStart", \r
- function () {\r
-var currentI = this.getIcon ();\r
-if (currentI != null && this.getText () != null) {\r
-return currentI.getIconWidth () + Math.max (0, this.getIconTextGap () - 1);\r
-}return 0;\r
-});\r
-Clazz.overrideMethod (c$, "getPreferredSize", \r
-function () {\r
-var retDimension = this.getPrefSizeJComp ();\r
-return (retDimension == null ? null :  new java.awt.Dimension (retDimension.width + 3, retDimension.height));\r
-});\r
-Clazz.overrideMethod (c$, "validate", \r
-function () {\r
-});\r
-Clazz.overrideMethod (c$, "invalidate", \r
-function () {\r
-});\r
-Clazz.overrideMethod (c$, "revalidate", \r
-function () {\r
-});\r
-Clazz.defineMethod (c$, "repaint", \r
-function (tm, x, y, width, height) {\r
-}, "~N,~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "repaint", \r
-function (r) {\r
-}, "java.awt.Rectangle");\r
-Clazz.defineMethod (c$, "repaint", \r
-function () {\r
-});\r
-Clazz.overrideMethod (c$, "firePropertyChangeObject", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~O,~O");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~S,~S");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.overrideMethod (c$, "firePropertyChangeInt", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~N,~N");\r
-Clazz.overrideMethod (c$, "firePropertyChangeBool", \r
-function (propertyName, oldValue, newValue) {\r
-}, "~S,~B,~B");\r
-});\r
+Clazz.declarePackage ("javax.swing.tree");
+Clazz.load (["javax.swing.JLabel", "javax.swing.tree.TreeCellRenderer"], "javax.swing.tree.DefaultTreeCellRenderer", ["java.awt.Dimension", "javax.swing.border.EmptyBorder", "javax.swing.plaf.ColorUIResource", "$.FontUIResource", "jssun.swing.DefaultLookup"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.tree = null;
+this.selected = false;
+this.$hasFocus = false;
+this.drawsFocusBorderAroundIcon = false;
+this.drawDashedFocusIndicator = false;
+this.treeBGColor = null;
+this.focusBGColor = null;
+this.closedIcon = null;
+this.leafIcon = null;
+this.openIcon = null;
+this.textSelectionColor = null;
+this.textNonSelectionColor = null;
+this.backgroundSelectionColor = null;
+this.backgroundNonSelectionColor = null;
+this.borderSelectionColor = null;
+this.isDropCell = false;
+this.fillBackground = true;
+Clazz.instantialize (this, arguments);
+}, javax.swing.tree, "DefaultTreeCellRenderer", javax.swing.JLabel, javax.swing.tree.TreeCellRenderer);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, javax.swing.tree.DefaultTreeCellRenderer, []);
+this.setLeafIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.leafIcon"));
+this.setClosedIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.closedIcon"));
+this.setOpenIcon (jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.openIcon"));
+this.setTextSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionForeground"));
+this.setTextNonSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.textForeground"));
+this.setBackgroundSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionBackground"));
+this.setBackgroundNonSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.textBackground"));
+this.setBorderSelectionColor (jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.selectionBorderColor"));
+this.drawsFocusBorderAroundIcon = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.drawsFocusBorderAroundIcon", false);
+this.drawDashedFocusIndicator = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.drawDashedFocusIndicator", false);
+this.fillBackground = jssun.swing.DefaultLookup.getBoolean (this, this.ui, "Tree.rendererFillBackground", true);
+var margins = jssun.swing.DefaultLookup.getInsets (this, this.ui, "Tree.rendererMargins");
+if (margins != null) {
+this.setBorder ( new javax.swing.border.EmptyBorder (margins.top, margins.left, margins.bottom, margins.right));
+}this.setName ("Tree.cellRenderer");
+});
+Clazz.defineMethod (c$, "getDefaultOpenIcon", 
+function () {
+return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.openIcon");
+});
+Clazz.defineMethod (c$, "getDefaultClosedIcon", 
+function () {
+return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.closedIcon");
+});
+Clazz.defineMethod (c$, "getDefaultLeafIcon", 
+function () {
+return jssun.swing.DefaultLookup.getIcon (this, this.ui, "Tree.leafIcon");
+});
+Clazz.defineMethod (c$, "setOpenIcon", 
+function (newIcon) {
+this.openIcon = newIcon;
+}, "javax.swing.Icon");
+Clazz.defineMethod (c$, "getOpenIcon", 
+function () {
+return this.openIcon;
+});
+Clazz.defineMethod (c$, "setClosedIcon", 
+function (newIcon) {
+this.closedIcon = newIcon;
+}, "javax.swing.Icon");
+Clazz.defineMethod (c$, "getClosedIcon", 
+function () {
+return this.closedIcon;
+});
+Clazz.defineMethod (c$, "setLeafIcon", 
+function (newIcon) {
+this.leafIcon = newIcon;
+}, "javax.swing.Icon");
+Clazz.defineMethod (c$, "getLeafIcon", 
+function () {
+return this.leafIcon;
+});
+Clazz.defineMethod (c$, "setTextSelectionColor", 
+function (newColor) {
+this.textSelectionColor = newColor;
+}, "java.awt.Color");
+Clazz.defineMethod (c$, "getTextSelectionColor", 
+function () {
+return this.textSelectionColor;
+});
+Clazz.defineMethod (c$, "setTextNonSelectionColor", 
+function (newColor) {
+this.textNonSelectionColor = newColor;
+}, "java.awt.Color");
+Clazz.defineMethod (c$, "getTextNonSelectionColor", 
+function () {
+return this.textNonSelectionColor;
+});
+Clazz.defineMethod (c$, "setBackgroundSelectionColor", 
+function (newColor) {
+this.backgroundSelectionColor = newColor;
+}, "java.awt.Color");
+Clazz.defineMethod (c$, "getBackgroundSelectionColor", 
+function () {
+return this.backgroundSelectionColor;
+});
+Clazz.defineMethod (c$, "setBackgroundNonSelectionColor", 
+function (newColor) {
+this.backgroundNonSelectionColor = newColor;
+}, "java.awt.Color");
+Clazz.defineMethod (c$, "getBackgroundNonSelectionColor", 
+function () {
+return this.backgroundNonSelectionColor;
+});
+Clazz.defineMethod (c$, "setBorderSelectionColor", 
+function (newColor) {
+this.borderSelectionColor = newColor;
+}, "java.awt.Color");
+Clazz.defineMethod (c$, "getBorderSelectionColor", 
+function () {
+return this.borderSelectionColor;
+});
+Clazz.defineMethod (c$, "setFont", 
+function (font) {
+if (Clazz.instanceOf (font, javax.swing.plaf.FontUIResource)) font = null;
+Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "setFont", [font]);
+}, "java.awt.Font");
+Clazz.defineMethod (c$, "getFont", 
+function () {
+var font = Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "getFont", []);
+if (font == null && this.tree != null) {
+font = this.tree.getFont ();
+}return font;
+});
+Clazz.defineMethod (c$, "setBackground", 
+function (color) {
+if (Clazz.instanceOf (color, javax.swing.plaf.ColorUIResource)) color = null;
+Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "setBackground", [color]);
+}, "java.awt.Color");
+Clazz.overrideMethod (c$, "getTreeCellRendererComponent", 
+function (tree, value, sel, expanded, leaf, row, hasFocus) {
+var stringValue = tree.convertValueToText (value, sel, expanded, leaf, row, hasFocus);
+this.tree = tree;
+this.$hasFocus = hasFocus;
+this.setText (stringValue);
+var fg = null;
+this.isDropCell = false;
+if (sel) {
+fg = this.getTextSelectionColor ();
+} else {
+fg = this.getTextNonSelectionColor ();
+}this.setForeground (fg);
+var icon = null;
+if (leaf) {
+icon = this.getLeafIcon ();
+} else if (expanded) {
+icon = this.getOpenIcon ();
+} else {
+icon = this.getClosedIcon ();
+}if (!tree.isEnabled ()) {
+this.setEnabled (false);
+this.setDisabledIcon (icon);
+} else {
+this.setEnabled (true);
+this.setIcon (icon);
+}this.setComponentOrientation (tree.getComponentOrientation ());
+this.selected = sel;
+return this;
+}, "javax.swing.JTree,~O,~B,~B,~B,~N,~B");
+Clazz.defineMethod (c$, "paint", 
+function (g) {
+var bColor;
+if (this.isDropCell) {
+bColor = jssun.swing.DefaultLookup.getColor (this, this.ui, "Tree.dropCellBackground");
+if (bColor == null) {
+bColor = this.getBackgroundSelectionColor ();
+}} else if (this.selected) {
+bColor = this.getBackgroundSelectionColor ();
+} else {
+bColor = this.getBackgroundNonSelectionColor ();
+if (bColor == null) {
+bColor = this.getBackground ();
+}}var imageOffset = -1;
+if (bColor != null && this.fillBackground) {
+imageOffset = this.getLabelStart ();
+g.setColor (bColor);
+if (this.getComponentOrientation ().isLeftToRight ()) {
+g.fillRect (imageOffset, 0, this.getWidth () - imageOffset, this.getHeight ());
+} else {
+g.fillRect (0, 0, this.getWidth () - imageOffset, this.getHeight ());
+}}if (this.$hasFocus) {
+if (this.drawsFocusBorderAroundIcon) {
+imageOffset = 0;
+} else if (imageOffset == -1) {
+imageOffset = this.getLabelStart ();
+}if (this.getComponentOrientation ().isLeftToRight ()) {
+this.paintFocus (g, imageOffset, 0, this.getWidth () - imageOffset, this.getHeight (), bColor);
+} else {
+this.paintFocus (g, 0, 0, this.getWidth () - imageOffset, this.getHeight (), bColor);
+}}Clazz.superCall (this, javax.swing.tree.DefaultTreeCellRenderer, "paint", [g]);
+}, "java.awt.Graphics");
+Clazz.defineMethod (c$, "paintFocus", 
+ function (g, x, y, w, h, notColor) {
+var bsColor = this.getBorderSelectionColor ();
+if (bsColor != null && (this.selected || !this.drawDashedFocusIndicator)) {
+g.setColor (bsColor);
+g.drawRect (x, y, w - 1, h - 1);
+}}, "java.awt.Graphics,~N,~N,~N,~N,java.awt.Color");
+Clazz.defineMethod (c$, "getLabelStart", 
+ function () {
+var currentI = this.getIcon ();
+if (currentI != null && this.getText () != null) {
+return currentI.getIconWidth () + Math.max (0, this.getIconTextGap () - 1);
+}return 0;
+});
+Clazz.overrideMethod (c$, "getPreferredSize", 
+function () {
+var retDimension = this.getPrefSizeJComp ();
+return (retDimension == null ? null :  new java.awt.Dimension (retDimension.width + 3, retDimension.height));
+});
+Clazz.overrideMethod (c$, "validate", 
+function () {
+});
+Clazz.overrideMethod (c$, "invalidate", 
+function () {
+});
+Clazz.overrideMethod (c$, "revalidate", 
+function () {
+});
+Clazz.defineMethod (c$, "repaint", 
+function (tm, x, y, width, height) {
+}, "~N,~N,~N,~N,~N");
+Clazz.defineMethod (c$, "repaint", 
+function (r) {
+}, "java.awt.Rectangle");
+Clazz.defineMethod (c$, "repaint", 
+function () {
+});
+Clazz.overrideMethod (c$, "firePropertyChangeObject", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~O,~O");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~S,~S");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.overrideMethod (c$, "firePropertyChangeInt", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~N,~N");
+Clazz.overrideMethod (c$, "firePropertyChangeBool", 
+function (propertyName, oldValue, newValue) {
+}, "~S,~B,~B");
+});