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