- case "shrink": return B(test(HSHRINK) || test(VSHRINK));
- case "hshrink": return B(test(HSHRINK));
- case "vshrink": return B(test(VSHRINK));
- case "aspect": return N(aspect);
- case "x": return (parent == null || !test(VISIBLE)) ? N(0) : test(PACKED) ? N(x) : N(ax);
- case "y": return (parent == null || !test(VISIBLE)) ? N(0) : test(PACKED) ? N(y) : N(ay);
- case "cols": return test(FIXED) == COLS ? N(cols) : N(0);
- case "rows": return test(FIXED) == ROWS ? N(rows) : N(0);
- case "colspan": return N(colspan);
- case "rowspan": return N(rowspan);
- case "width": getRoot().reflow(); return N(width);
- case "height": getRoot().reflow(); return N(height);
- case "minwidth": return N(minwidth);
- case "maxwidth": return N(maxwidth);
- case "minheight": return N(minheight);
- case "maxheight": return N(maxheight);
- case "clip": return B(test(CLIP));
- case "visible": return B(test(VISIBLE) && (parent == null || (parent.get("visible") == T)));
- case "packed": return B(test(PACKED));
- case "globalx": return N(localToGlobalX(0));
- case "globaly": return N(localToGlobalY(0));
- case "cursor": return test(CURSOR) ? boxToCursor.get(this) : null;
+ case "shrink": return JSU.B(test(HSHRINK) || test(VSHRINK));
+ case "hshrink": return JSU.B(test(HSHRINK));
+ case "vshrink": return JSU.B(test(VSHRINK));
+ case "aspect": return JSU.N(aspect);
+ case "x": return (parent == null || !test(VISIBLE)) ? JSU.N(0) : test(PACKED) ? JSU.N(x) : JSU.N(ax);
+ case "y": return (parent == null || !test(VISIBLE)) ? JSU.N(0) : test(PACKED) ? JSU.N(y) : JSU.N(ay);
+ case "cols": return test(FIXED) == COLS ? JSU.N(cols) : JSU.N(0);
+ case "rows": return test(FIXED) == ROWS ? JSU.N(rows) : JSU.N(0);
+ case "colspan": return JSU.N(colspan);
+ case "rowspan": return JSU.N(rowspan);
+ case "width": getRoot().reflow(); return JSU.N(width);
+ case "height": getRoot().reflow(); return JSU.N(height);
+ case "minwidth": return JSU.N(minwidth);
+ case "maxwidth": return JSU.N(maxwidth);
+ case "minheight": return JSU.N(minheight);
+ case "maxheight": return JSU.N(maxheight);
+ case "clip": return JSU.B(test(CLIP));
+ case "visible": return JSU.B(test(VISIBLE) && (parent == null || (parent.get(JSU.S("visible")) == JSU.T)));
+ case "packed": return JSU.B(test(PACKED));
+ case "globalx": return JSU.N(localToGlobalX(0));
+ case "globaly": return JSU.N(localToGlobalY(0));
+ case "cursor": return test(CURSOR) ? JSU.S((String)boxToCursor.get(this)) : null;