1 Clazz.declarePackage ("java.awt");
\r
2 Clazz.load (null, "java.awt.GridBagLayoutInfo", ["java.awt.Component"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
8 this.minWidth = null;
\r
9 this.minHeight = null;
\r
10 this.weightX = null;
\r
11 this.weightY = null;
\r
12 this.$hasBaseline = false;
\r
13 this.baselineType = null;
\r
14 this.maxAscent = null;
\r
15 this.maxDescent = null;
\r
16 Clazz.instantialize (this, arguments);
\r
17 }, java.awt, "GridBagLayoutInfo");
\r
18 Clazz.makeConstructor (c$,
\r
19 function (width, height) {
\r
21 this.height = height;
\r
23 Clazz.defineMethod (c$, "hasConstantDescent",
\r
25 return ((this.baselineType[row] & (1 << java.awt.Component.BaselineResizeBehavior.CONSTANT_DESCENT.ordinal ())) != 0);
\r
27 Clazz.defineMethod (c$, "hasBaseline",
\r
29 return (this.$hasBaseline && this.baselineType[row] != 0);
\r