Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / javax / swing / plaf / IconUIResource.js
index da94cf0..11faed0 100644 (file)
@@ -1,25 +1,25 @@
-Clazz.declarePackage ("javax.swing.plaf");\r
-Clazz.load (["javax.swing.Icon", "javax.swing.plaf.UIResource"], "javax.swing.plaf.IconUIResource", ["java.lang.IllegalArgumentException"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.delegate = null;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing.plaf, "IconUIResource", null, [javax.swing.Icon, javax.swing.plaf.UIResource]);\r
-Clazz.makeConstructor (c$, \r
-function (delegate) {\r
-if (delegate == null) {\r
-throw  new IllegalArgumentException ("null delegate icon argument");\r
-}this.delegate = delegate;\r
-}, "javax.swing.Icon");\r
-Clazz.defineMethod (c$, "paintIcon", \r
-function (c, g, x, y) {\r
-this.delegate.paintIcon (c, g, x, y);\r
-}, "java.awt.Component,java.awt.Graphics,~N,~N");\r
-Clazz.defineMethod (c$, "getIconWidth", \r
-function () {\r
-return this.delegate.getIconWidth ();\r
-});\r
-Clazz.defineMethod (c$, "getIconHeight", \r
-function () {\r
-return this.delegate.getIconHeight ();\r
-});\r
-});\r
+Clazz.declarePackage ("javax.swing.plaf");
+Clazz.load (["javax.swing.Icon", "javax.swing.plaf.UIResource"], "javax.swing.plaf.IconUIResource", ["java.lang.IllegalArgumentException"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.delegate = null;
+Clazz.instantialize (this, arguments);
+}, javax.swing.plaf, "IconUIResource", null, [javax.swing.Icon, javax.swing.plaf.UIResource]);
+Clazz.makeConstructor (c$, 
+function (delegate) {
+if (delegate == null) {
+throw  new IllegalArgumentException ("null delegate icon argument");
+}this.delegate = delegate;
+}, "javax.swing.Icon");
+Clazz.defineMethod (c$, "paintIcon", 
+function (c, g, x, y) {
+this.delegate.paintIcon (c, g, x, y);
+}, "java.awt.Component,java.awt.Graphics,~N,~N");
+Clazz.defineMethod (c$, "getIconWidth", 
+function () {
+return this.delegate.getIconWidth ();
+});
+Clazz.defineMethod (c$, "getIconHeight", 
+function () {
+return this.delegate.getIconHeight ();
+});
+});