Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / javax / swing / border / EmptyBorder.js
index a79756c..497f23f 100644 (file)
@@ -1,49 +1,49 @@
-Clazz.declarePackage ("javax.swing.border");\r
-Clazz.load (["javax.swing.border.AbstractBorder"], "javax.swing.border.EmptyBorder", ["java.awt.Insets"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.left = 0;\r
-this.right = 0;\r
-this.top = 0;\r
-this.bottom = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing.border, "EmptyBorder", javax.swing.border.AbstractBorder);\r
-Clazz.makeConstructor (c$, \r
-function (top, left, bottom, right) {\r
-Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);\r
-this.top = top;\r
-this.right = right;\r
-this.bottom = bottom;\r
-this.left = left;\r
-}, "~N,~N,~N,~N");\r
-Clazz.makeConstructor (c$, \r
-function (borderInsets) {\r
-Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);\r
-this.top = borderInsets.top;\r
-this.right = borderInsets.right;\r
-this.bottom = borderInsets.bottom;\r
-this.left = borderInsets.left;\r
-}, "java.awt.Insets");\r
-Clazz.overrideMethod (c$, "paintBorder", \r
-function (c, g, x, y, width, height) {\r
-}, "java.awt.Component,java.awt.Graphics,~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "getBorderInsets", \r
-function (c) {\r
-return this.getBorderInsets ();\r
-}, "java.awt.Component");\r
-Clazz.defineMethod (c$, "getBorderInsets", \r
-function (c, insets) {\r
-insets.left = this.left;\r
-insets.top = this.top;\r
-insets.right = this.right;\r
-insets.bottom = this.bottom;\r
-return insets;\r
-}, "java.awt.Component,java.awt.Insets");\r
-Clazz.defineMethod (c$, "getBorderInsets", \r
-function () {\r
-return  new java.awt.Insets (this.top, this.left, this.bottom, this.right);\r
-});\r
-Clazz.overrideMethod (c$, "isBorderOpaque", \r
-function () {\r
-return false;\r
-});\r
-});\r
+Clazz.declarePackage ("javax.swing.border");
+Clazz.load (["javax.swing.border.AbstractBorder"], "javax.swing.border.EmptyBorder", ["java.awt.Insets"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.left = 0;
+this.right = 0;
+this.top = 0;
+this.bottom = 0;
+Clazz.instantialize (this, arguments);
+}, javax.swing.border, "EmptyBorder", javax.swing.border.AbstractBorder);
+Clazz.makeConstructor (c$, 
+function (top, left, bottom, right) {
+Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);
+this.top = top;
+this.right = right;
+this.bottom = bottom;
+this.left = left;
+}, "~N,~N,~N,~N");
+Clazz.makeConstructor (c$, 
+function (borderInsets) {
+Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);
+this.top = borderInsets.top;
+this.right = borderInsets.right;
+this.bottom = borderInsets.bottom;
+this.left = borderInsets.left;
+}, "java.awt.Insets");
+Clazz.overrideMethod (c$, "paintBorder", 
+function (c, g, x, y, width, height) {
+}, "java.awt.Component,java.awt.Graphics,~N,~N,~N,~N");
+Clazz.defineMethod (c$, "getBorderInsets", 
+function (c) {
+return this.getBorderInsets ();
+}, "java.awt.Component");
+Clazz.defineMethod (c$, "getBorderInsets", 
+function (c, insets) {
+insets.left = this.left;
+insets.top = this.top;
+insets.right = this.right;
+insets.bottom = this.bottom;
+return insets;
+}, "java.awt.Component,java.awt.Insets");
+Clazz.defineMethod (c$, "getBorderInsets", 
+function () {
+return  new java.awt.Insets (this.top, this.left, this.bottom, this.right);
+});
+Clazz.overrideMethod (c$, "isBorderOpaque", 
+function () {
+return false;
+});
+});