Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / java / awt / GridBagConstraints.js
index 6151661..92dd28f 100644 (file)
-Clazz.declarePackage ("java.awt");\r
-Clazz.load (null, "java.awt.GridBagConstraints", ["java.lang.InternalError", "java.awt.Insets"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.gridx = 0;\r
-this.gridy = 0;\r
-this.gridwidth = 0;\r
-this.gridheight = 0;\r
-this.weightx = 0;\r
-this.weighty = 0;\r
-this.anchor = 0;\r
-this.fill = 0;\r
-this.insets = null;\r
-this.ipadx = 0;\r
-this.ipady = 0;\r
-this.tempX = 0;\r
-this.tempY = 0;\r
-this.tempWidth = 0;\r
-this.tempHeight = 0;\r
-this.minWidth = 0;\r
-this.minHeight = 0;\r
-this.ascent = 0;\r
-this.descent = 0;\r
-this.baselineResizeBehavior = null;\r
-this.centerPadding = 0;\r
-this.centerOffset = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt, "GridBagConstraints", null, Cloneable);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-this.gridx = -1;\r
-this.gridy = -1;\r
-this.gridwidth = 1;\r
-this.gridheight = 1;\r
-this.weightx = 0;\r
-this.weighty = 0;\r
-this.anchor = 10;\r
-this.fill = 0;\r
-this.insets =  new java.awt.Insets (0, 0, 0, 0);\r
-this.ipadx = 0;\r
-this.ipady = 0;\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (gridx, gridy, gridwidth, gridheight, weightx, weighty, anchor, fill, insets, ipadx, ipady) {\r
-this.gridx = gridx;\r
-this.gridy = gridy;\r
-this.gridwidth = gridwidth;\r
-this.gridheight = gridheight;\r
-this.fill = fill;\r
-this.ipadx = ipadx;\r
-this.ipady = ipady;\r
-this.insets = insets;\r
-this.anchor = anchor;\r
-this.weightx = weightx;\r
-this.weighty = weighty;\r
-}, "~N,~N,~N,~N,~N,~N,~N,~N,java.awt.Insets,~N,~N");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return "[" + this.gridx + "," + this.gridy + "," + this.gridwidth + "," + this.gridheight + "," + this.fill + "," + this.ipadx + "," + this.ipady + "," + this.insets + "," + this.anchor + "," + this.weightx + "," + this.weighty + "]";\r
-});\r
-Clazz.defineMethod (c$, "clone", \r
-function () {\r
-try {\r
-var c = Clazz.superCall (this, java.awt.GridBagConstraints, "clone", []);\r
-c.insets = this.insets.clone ();\r
-return c;\r
-} catch (e) {\r
-if (Clazz.exceptionOf (e, CloneNotSupportedException)) {\r
-throw  new InternalError ();\r
-} else {\r
-throw e;\r
-}\r
-}\r
-});\r
-Clazz.defineMethod (c$, "isVerticallyResizable", \r
-function () {\r
-return (this.fill == 1 || this.fill == 3);\r
-});\r
-Clazz.defineStatics (c$,\r
-"RELATIVE", -1,\r
-"REMAINDER", 0,\r
-"NONE", 0,\r
-"BOTH", 1,\r
-"HORIZONTAL", 2,\r
-"VERTICAL", 3,\r
-"CENTER", 10,\r
-"NORTH", 11,\r
-"NORTHEAST", 12,\r
-"EAST", 13,\r
-"SOUTHEAST", 14,\r
-"SOUTH", 15,\r
-"SOUTHWEST", 16,\r
-"WEST", 17,\r
-"NORTHWEST", 18,\r
-"PAGE_START", 19,\r
-"PAGE_END", 20,\r
-"LINE_START", 21,\r
-"LINE_END", 22,\r
-"FIRST_LINE_START", 23,\r
-"FIRST_LINE_END", 24,\r
-"LAST_LINE_START", 25,\r
-"LAST_LINE_END", 26,\r
-"BASELINE", 0x100,\r
-"BASELINE_LEADING", 0x200,\r
-"BASELINE_TRAILING", 0x300,\r
-"ABOVE_BASELINE", 0x400,\r
-"ABOVE_BASELINE_LEADING", 0x500,\r
-"ABOVE_BASELINE_TRAILING", 0x600,\r
-"BELOW_BASELINE", 0x700,\r
-"BELOW_BASELINE_LEADING", 0x800,\r
-"BELOW_BASELINE_TRAILING", 0x900);\r
-});\r
+Clazz.declarePackage ("java.awt");
+Clazz.load (null, "java.awt.GridBagConstraints", ["java.lang.InternalError", "java.awt.Insets"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.gridx = 0;
+this.gridy = 0;
+this.gridwidth = 0;
+this.gridheight = 0;
+this.weightx = 0;
+this.weighty = 0;
+this.anchor = 0;
+this.fill = 0;
+this.insets = null;
+this.ipadx = 0;
+this.ipady = 0;
+this.tempX = 0;
+this.tempY = 0;
+this.tempWidth = 0;
+this.tempHeight = 0;
+this.minWidth = 0;
+this.minHeight = 0;
+this.ascent = 0;
+this.descent = 0;
+this.baselineResizeBehavior = null;
+this.centerPadding = 0;
+this.centerOffset = 0;
+Clazz.instantialize (this, arguments);
+}, java.awt, "GridBagConstraints", null, Cloneable);
+Clazz.makeConstructor (c$, 
+function () {
+this.gridx = -1;
+this.gridy = -1;
+this.gridwidth = 1;
+this.gridheight = 1;
+this.weightx = 0;
+this.weighty = 0;
+this.anchor = 10;
+this.fill = 0;
+this.insets =  new java.awt.Insets (0, 0, 0, 0);
+this.ipadx = 0;
+this.ipady = 0;
+});
+Clazz.makeConstructor (c$, 
+function (gridx, gridy, gridwidth, gridheight, weightx, weighty, anchor, fill, insets, ipadx, ipady) {
+this.gridx = gridx;
+this.gridy = gridy;
+this.gridwidth = gridwidth;
+this.gridheight = gridheight;
+this.fill = fill;
+this.ipadx = ipadx;
+this.ipady = ipady;
+this.insets = insets;
+this.anchor = anchor;
+this.weightx = weightx;
+this.weighty = weighty;
+}, "~N,~N,~N,~N,~N,~N,~N,~N,java.awt.Insets,~N,~N");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return "[" + this.gridx + "," + this.gridy + "," + this.gridwidth + "," + this.gridheight + "," + this.fill + "," + this.ipadx + "," + this.ipady + "," + this.insets + "," + this.anchor + "," + this.weightx + "," + this.weighty + "]";
+});
+Clazz.defineMethod (c$, "clone", 
+function () {
+try {
+var c = Clazz.superCall (this, java.awt.GridBagConstraints, "clone", []);
+c.insets = this.insets.clone ();
+return c;
+} catch (e) {
+if (Clazz.exceptionOf (e, CloneNotSupportedException)) {
+throw  new InternalError ();
+} else {
+throw e;
+}
+}
+});
+Clazz.defineMethod (c$, "isVerticallyResizable", 
+function () {
+return (this.fill == 1 || this.fill == 3);
+});
+Clazz.defineStatics (c$,
+"RELATIVE", -1,
+"REMAINDER", 0,
+"NONE", 0,
+"BOTH", 1,
+"HORIZONTAL", 2,
+"VERTICAL", 3,
+"CENTER", 10,
+"NORTH", 11,
+"NORTHEAST", 12,
+"EAST", 13,
+"SOUTHEAST", 14,
+"SOUTH", 15,
+"SOUTHWEST", 16,
+"WEST", 17,
+"NORTHWEST", 18,
+"PAGE_START", 19,
+"PAGE_END", 20,
+"LINE_START", 21,
+"LINE_END", 22,
+"FIRST_LINE_START", 23,
+"FIRST_LINE_END", 24,
+"LAST_LINE_START", 25,
+"LAST_LINE_END", 26,
+"BASELINE", 0x100,
+"BASELINE_LEADING", 0x200,
+"BASELINE_TRAILING", 0x300,
+"ABOVE_BASELINE", 0x400,
+"ABOVE_BASELINE_LEADING", 0x500,
+"ABOVE_BASELINE_TRAILING", 0x600,
+"BELOW_BASELINE", 0x700,
+"BELOW_BASELINE_LEADING", 0x800,
+"BELOW_BASELINE_TRAILING", 0x900);
+});