1 Clazz.declarePackage ("javax.swing");
\r
2 Clazz.load (["java.awt.LayoutManager2", "javax.swing.Spring", "java.util.ArrayList", "$.HashMap"], "javax.swing.SpringLayout", ["java.util.Collections", "$.HashSet", "java.awt.Component", "$.Dimension", "javax.swing.JComponent", "javax.swing.Spring.HeightSpring", "$.SpringMap", "$.WidthSpring"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
4 this.componentConstraints = null;
\r
5 this.cyclicReference = null;
\r
6 this.cyclicSprings = null;
\r
7 this.acyclicSprings = null;
\r
8 Clazz.instantialize (this, arguments);
\r
9 }, javax.swing, "SpringLayout", null, java.awt.LayoutManager2);
\r
10 Clazz.prepareFields (c$, function () {
\r
11 this.componentConstraints = new java.util.HashMap ();
\r
12 this.cyclicReference = javax.swing.Spring.constant (-2147483648);
\r
14 Clazz.makeConstructor (c$,
\r
17 Clazz.defineMethod (c$, "resetCyclicStatuses",
\r
19 this.cyclicSprings = new java.util.HashSet ();
\r
20 this.acyclicSprings = new java.util.HashSet ();
\r
22 Clazz.defineMethod (c$, "setParent",
\r
24 this.resetCyclicStatuses ();
\r
25 var pc = this.getConstraints (p);
\r
26 pc.setX (javax.swing.Spring.constant (0));
\r
27 pc.setY (javax.swing.Spring.constant (0));
\r
28 var width = pc.getWidth ();
\r
29 if (Clazz.instanceOf (width, javax.swing.Spring.WidthSpring) && (width).c === p) {
\r
30 pc.setWidth (javax.swing.Spring.constant (0, 0, 2147483647));
\r
31 }var height = pc.getHeight ();
\r
32 if (Clazz.instanceOf (height, javax.swing.Spring.HeightSpring) && (height).c === p) {
\r
33 pc.setHeight (javax.swing.Spring.constant (0, 0, 2147483647));
\r
34 }}, "java.awt.Container");
\r
35 Clazz.defineMethod (c$, "isCyclic",
\r
39 }if (this.cyclicSprings.contains (s)) {
\r
41 }if (this.acyclicSprings.contains (s)) {
\r
43 }this.cyclicSprings.add (s);
\r
44 var result = s.isCyclic (this);
\r
46 this.acyclicSprings.add (s);
\r
47 this.cyclicSprings.remove (s);
\r
49 System.err.println (s + " is cyclic. ");
\r
51 }, "javax.swing.Spring");
\r
52 Clazz.defineMethod (c$, "abandonCycles",
\r
54 return this.isCyclic (s) ? this.cyclicReference : s;
\r
55 }, "javax.swing.Spring");
\r
56 Clazz.defineMethod (c$, "addLayoutComponent",
\r
57 function (name, c) {
\r
58 }, "~S,java.awt.Component");
\r
59 Clazz.overrideMethod (c$, "removeLayoutComponent",
\r
61 this.componentConstraints.remove (c);
\r
62 }, "java.awt.Component");
\r
63 c$.addInsets = Clazz.defineMethod (c$, "addInsets",
\r
64 function (width, height, p) {
\r
65 var i = p.getInsets ();
\r
66 return new java.awt.Dimension (width + i.left + i.right, height + i.top + i.bottom);
\r
67 }, "~N,~N,java.awt.Container");
\r
68 Clazz.overrideMethod (c$, "minimumLayoutSize",
\r
70 this.setParent (parent);
\r
71 var pc = this.getConstraints (parent);
\r
72 return javax.swing.SpringLayout.addInsets (this.abandonCycles (pc.getWidth ()).getMinimumValue (), this.abandonCycles (pc.getHeight ()).getMinimumValue (), parent);
\r
73 }, "java.awt.Container");
\r
74 Clazz.overrideMethod (c$, "preferredLayoutSize",
\r
76 this.setParent (parent);
\r
77 var pc = this.getConstraints (parent);
\r
78 return javax.swing.SpringLayout.addInsets (this.abandonCycles (pc.getWidth ()).getPreferredValue (), this.abandonCycles (pc.getHeight ()).getPreferredValue (), parent);
\r
79 }, "java.awt.Container");
\r
80 Clazz.overrideMethod (c$, "maximumLayoutSize",
\r
82 this.setParent (parent);
\r
83 var pc = this.getConstraints (parent);
\r
84 return javax.swing.SpringLayout.addInsets (this.abandonCycles (pc.getWidth ()).getMaximumValue (), this.abandonCycles (pc.getHeight ()).getMaximumValue (), parent);
\r
85 }, "java.awt.Container");
\r
86 Clazz.defineMethod (c$, "addLayoutComponent",
\r
87 function (component, constraints) {
\r
88 if (Clazz.instanceOf (constraints, javax.swing.SpringLayout.Constraints)) {
\r
89 this.putConstraints (component, constraints);
\r
90 }}, "java.awt.Component,~O");
\r
91 Clazz.overrideMethod (c$, "getLayoutAlignmentX",
\r
94 }, "java.awt.Container");
\r
95 Clazz.overrideMethod (c$, "getLayoutAlignmentY",
\r
98 }, "java.awt.Container");
\r
99 Clazz.overrideMethod (c$, "invalidateLayout",
\r
101 }, "java.awt.Container");
\r
102 Clazz.defineMethod (c$, "putConstraint",
\r
103 function (e1, c1, pad, e2, c2) {
\r
104 this.putConstraint (e1, c1, javax.swing.Spring.constant (pad), e2, c2);
\r
105 }, "~S,java.awt.Component,~N,~S,java.awt.Component");
\r
106 Clazz.defineMethod (c$, "putConstraint",
\r
107 function (e1, c1, s, e2, c2) {
\r
108 this.putConstraint (e1, c1, javax.swing.Spring.sum (s, this.getConstraint (e2, c2)));
\r
109 }, "~S,java.awt.Component,javax.swing.Spring,~S,java.awt.Component");
\r
110 Clazz.defineMethod (c$, "putConstraint",
\r
111 function (e, c, s) {
\r
113 this.getConstraints (c).setConstraint (e, s);
\r
114 }}, "~S,java.awt.Component,javax.swing.Spring");
\r
115 Clazz.defineMethod (c$, "applyDefaults",
\r
116 function (c, constraints) {
\r
117 if (constraints == null) {
\r
118 constraints = new javax.swing.SpringLayout.Constraints ();
\r
119 }if (constraints.c == null) {
\r
121 }if (constraints.horizontalHistory.size () < 2) {
\r
122 this.applyDefaults (constraints, "West", javax.swing.Spring.constant (0), "Width", javax.swing.Spring.width (c), constraints.horizontalHistory);
\r
123 }if (constraints.verticalHistory.size () < 2) {
\r
124 this.applyDefaults (constraints, "North", javax.swing.Spring.constant (0), "Height", javax.swing.Spring.height (c), constraints.verticalHistory);
\r
125 }return constraints;
\r
126 }, "java.awt.Component,javax.swing.SpringLayout.Constraints");
\r
127 Clazz.defineMethod (c$, "applyDefaults",
\r
128 function (constraints, name1, spring1, name2, spring2, history) {
\r
129 if (history.size () == 0) {
\r
130 constraints.setConstraint (name1, spring1);
\r
131 constraints.setConstraint (name2, spring2);
\r
133 if (constraints.getConstraint (name2) == null) {
\r
134 constraints.setConstraint (name2, spring2);
\r
136 constraints.setConstraint (name1, spring1);
\r
137 }java.util.Collections.rotate (history, 1);
\r
138 }}, "javax.swing.SpringLayout.Constraints,~S,javax.swing.Spring,~S,javax.swing.Spring,java.util.List");
\r
139 Clazz.defineMethod (c$, "putConstraints",
\r
140 function (component, constraints) {
\r
141 this.componentConstraints.put (component, this.applyDefaults (component, constraints));
\r
142 }, "java.awt.Component,javax.swing.SpringLayout.Constraints");
\r
143 Clazz.defineMethod (c$, "getConstraints",
\r
145 var result = this.componentConstraints.get (c);
\r
146 if (result == null) {
\r
147 if (Clazz.instanceOf (c, javax.swing.JComponent)) {
\r
148 var cp = (c).getClientProperty (javax.swing.SpringLayout);
\r
149 if (Clazz.instanceOf (cp, javax.swing.SpringLayout.Constraints)) {
\r
150 return this.applyDefaults (c, cp);
\r
151 }}result = new javax.swing.SpringLayout.Constraints ();
\r
152 this.putConstraints (c, result);
\r
154 }, "java.awt.Component");
\r
155 Clazz.defineMethod (c$, "getConstraint",
\r
156 function (edgeName, c) {
\r
157 edgeName = edgeName.intern ();
\r
158 return new javax.swing.SpringLayout.SpringProxy (edgeName, c, this);
\r
159 }, "~S,java.awt.Component");
\r
160 Clazz.overrideMethod (c$, "layoutContainer",
\r
161 function (parent) {
\r
162 this.setParent (parent);
\r
163 var n = parent.getComponentCount ();
\r
164 this.getConstraints (parent).reset ();
\r
165 for (var i = 0; i < n; i++) {
\r
166 this.getConstraints (parent.getComponent (i)).reset ();
\r
168 var insets = parent.getInsets ();
\r
169 var pc = this.getConstraints (parent);
\r
170 this.abandonCycles (pc.getX ()).setValue (0);
\r
171 this.abandonCycles (pc.getY ()).setValue (0);
\r
172 this.abandonCycles (pc.getWidth ()).setValue (parent.getWidth () - insets.left - insets.right);
\r
173 this.abandonCycles (pc.getHeight ()).setValue (parent.getHeight () - insets.top - insets.bottom);
\r
174 for (var i = 0; i < n; i++) {
\r
175 var c = parent.getComponent (i);
\r
176 var cc = this.getConstraints (c);
\r
177 var x = this.abandonCycles (cc.getX ()).getValue ();
\r
178 var y = this.abandonCycles (cc.getY ()).getValue ();
\r
179 var width = this.abandonCycles (cc.getWidth ()).getValue ();
\r
180 var height = this.abandonCycles (cc.getHeight ()).getValue ();
\r
181 c.setBounds (insets.left + x, insets.top + y, width, height);
\r
183 }, "java.awt.Container");
\r
184 Clazz.pu$h(self.c$);
\r
185 c$ = Clazz.decorateAsClass (function () {
\r
189 this.height = null;
\r
192 this.horizontalCenter = null;
\r
193 this.verticalCenter = null;
\r
194 this.baseline = null;
\r
195 this.horizontalHistory = null;
\r
196 this.verticalHistory = null;
\r
198 Clazz.instantialize (this, arguments);
\r
199 }, javax.swing.SpringLayout, "Constraints");
\r
200 Clazz.prepareFields (c$, function () {
\r
201 this.horizontalHistory = new java.util.ArrayList (2);
\r
202 this.verticalHistory = new java.util.ArrayList (2);
\r
204 Clazz.makeConstructor (c$,
\r
207 Clazz.makeConstructor (c$,
\r
211 }, "javax.swing.Spring,javax.swing.Spring");
\r
212 Clazz.makeConstructor (c$,
\r
213 function (a, b, c, d) {
\r
217 this.setHeight (d);
\r
218 }, "javax.swing.Spring,javax.swing.Spring,javax.swing.Spring,javax.swing.Spring");
\r
219 Clazz.makeConstructor (c$,
\r
222 this.setX (javax.swing.Spring.constant (a.getX ()));
\r
223 this.setY (javax.swing.Spring.constant (a.getY ()));
\r
224 this.setWidth (javax.swing.Spring.width (a));
\r
225 this.setHeight (javax.swing.Spring.height (a));
\r
226 }, "java.awt.Component");
\r
227 Clazz.defineMethod (c$, "pushConstraint",
\r
228 function (a, b, c) {
\r
230 var e = c ? this.horizontalHistory : this.verticalHistory;
\r
231 if (e.contains (a)) {
\r
234 } else if (e.size () == 2 && b != null) {
\r
240 var f = c ? javax.swing.SpringLayout.ALL_HORIZONTAL : javax.swing.SpringLayout.ALL_VERTICAL;
\r
241 for (var g = 0; g < f.length; g++) {
\r
243 if (!e.contains (h)) {
\r
244 this.setConstraint (h, null);
\r
246 }}, "~S,javax.swing.Spring,~B");
\r
247 Clazz.defineMethod (c$, "sum",
\r
249 return (a == null || b == null) ? null : javax.swing.Spring.sum (a, b);
\r
250 }, "javax.swing.Spring,javax.swing.Spring");
\r
251 Clazz.defineMethod (c$, "difference",
\r
253 return (a == null || b == null) ? null : javax.swing.Spring.difference (a, b);
\r
254 }, "javax.swing.Spring,javax.swing.Spring");
\r
255 Clazz.defineMethod (c$, "scale",
\r
257 return (a == null) ? null : javax.swing.Spring.scale (a, b);
\r
258 }, "javax.swing.Spring,~N");
\r
259 Clazz.defineMethod (c$, "getBaselineFromHeight",
\r
262 return -this.c.getBaseline (this.c.getPreferredSize ().width, -a);
\r
263 }return this.c.getBaseline (this.c.getPreferredSize ().width, a);
\r
265 Clazz.defineMethod (c$, "getHeightFromBaseLine",
\r
267 var b = this.c.getPreferredSize ();
\r
269 var d = this.c.getBaseline (b.width, c);
\r
272 }switch (this.c.getBaselineResizeBehavior ()) {
\r
273 case java.awt.Component.BaselineResizeBehavior.CONSTANT_DESCENT:
\r
274 return c + (a - d);
\r
275 case java.awt.Component.BaselineResizeBehavior.CENTER_OFFSET:
\r
276 return c + 2 * (a - d);
\r
277 case java.awt.Component.BaselineResizeBehavior.CONSTANT_ASCENT:
\r
280 return -2147483648;
\r
282 Clazz.defineMethod (c$, "heightToRelativeBaseline",
\r
284 return ((Clazz.isClassDefined ("javax.swing.SpringLayout$Constraints$1") ? 0 : javax.swing.SpringLayout.Constraints.$SpringLayout$Constraints$1$ ()), Clazz.innerTypeInstance (javax.swing.SpringLayout$Constraints$1, this, null, a));
\r
285 }, "javax.swing.Spring");
\r
286 Clazz.defineMethod (c$, "relativeBaselineToHeight",
\r
288 return ((Clazz.isClassDefined ("javax.swing.SpringLayout$Constraints$2") ? 0 : javax.swing.SpringLayout.Constraints.$SpringLayout$Constraints$2$ ()), Clazz.innerTypeInstance (javax.swing.SpringLayout$Constraints$2, this, null, a));
\r
289 }, "javax.swing.Spring");
\r
290 Clazz.defineMethod (c$, "defined",
\r
291 function (a, b, c) {
\r
292 return a.contains (b) && a.contains (c);
\r
293 }, "java.util.List,~S,~S");
\r
294 Clazz.defineMethod (c$, "setX",
\r
297 this.pushConstraint ("West", a, true);
\r
298 }, "javax.swing.Spring");
\r
299 Clazz.defineMethod (c$, "getX",
\r
301 if (this.x == null) {
\r
302 if (this.defined (this.horizontalHistory, "East", "Width")) {
\r
303 this.x = this.difference (this.east, this.width);
\r
304 } else if (this.defined (this.horizontalHistory, "HorizontalCenter", "Width")) {
\r
305 this.x = this.difference (this.horizontalCenter, this.scale (this.width, 0.5));
\r
306 } else if (this.defined (this.horizontalHistory, "HorizontalCenter", "East")) {
\r
307 this.x = this.difference (this.scale (this.horizontalCenter, 2), this.east);
\r
310 Clazz.defineMethod (c$, "setY",
\r
313 this.pushConstraint ("North", a, false);
\r
314 }, "javax.swing.Spring");
\r
315 Clazz.defineMethod (c$, "getY",
\r
317 if (this.y == null) {
\r
318 if (this.defined (this.verticalHistory, "South", "Height")) {
\r
319 this.y = this.difference (this.south, this.height);
\r
320 } else if (this.defined (this.verticalHistory, "VerticalCenter", "Height")) {
\r
321 this.y = this.difference (this.verticalCenter, this.scale (this.height, 0.5));
\r
322 } else if (this.defined (this.verticalHistory, "VerticalCenter", "South")) {
\r
323 this.y = this.difference (this.scale (this.verticalCenter, 2), this.south);
\r
324 } else if (this.defined (this.verticalHistory, "Baseline", "Height")) {
\r
325 this.y = this.difference (this.baseline, this.heightToRelativeBaseline (this.height));
\r
326 } else if (this.defined (this.verticalHistory, "Baseline", "South")) {
\r
327 this.y = this.scale (this.difference (this.baseline, this.heightToRelativeBaseline (this.south)), 2);
\r
330 Clazz.defineMethod (c$, "setWidth",
\r
333 this.pushConstraint ("Width", a, true);
\r
334 }, "javax.swing.Spring");
\r
335 Clazz.defineMethod (c$, "getWidth",
\r
337 if (this.width == null) {
\r
338 if (this.horizontalHistory.contains ("East")) {
\r
339 this.width = this.difference (this.east, this.getX ());
\r
340 } else if (this.horizontalHistory.contains ("HorizontalCenter")) {
\r
341 this.width = this.scale (this.difference (this.horizontalCenter, this.getX ()), 2);
\r
342 }}return this.width;
\r
344 Clazz.defineMethod (c$, "setHeight",
\r
347 this.pushConstraint ("Height", a, false);
\r
348 }, "javax.swing.Spring");
\r
349 Clazz.defineMethod (c$, "getHeight",
\r
351 if (this.height == null) {
\r
352 if (this.verticalHistory.contains ("South")) {
\r
353 this.height = this.difference (this.south, this.getY ());
\r
354 } else if (this.verticalHistory.contains ("VerticalCenter")) {
\r
355 this.height = this.scale (this.difference (this.verticalCenter, this.getY ()), 2);
\r
356 } else if (this.verticalHistory.contains ("Baseline")) {
\r
357 this.height = this.relativeBaselineToHeight (this.difference (this.baseline, this.getY ()));
\r
358 }}return this.height;
\r
360 Clazz.defineMethod (c$, "setEast",
\r
363 this.pushConstraint ("East", a, true);
\r
364 }, "javax.swing.Spring");
\r
365 Clazz.defineMethod (c$, "getEast",
\r
367 if (this.east == null) {
\r
368 this.east = this.sum (this.getX (), this.getWidth ());
\r
371 Clazz.defineMethod (c$, "setSouth",
\r
374 this.pushConstraint ("South", a, false);
\r
375 }, "javax.swing.Spring");
\r
376 Clazz.defineMethod (c$, "getSouth",
\r
378 if (this.south == null) {
\r
379 this.south = this.sum (this.getY (), this.getHeight ());
\r
380 }return this.south;
\r
382 Clazz.defineMethod (c$, "getHorizontalCenter",
\r
384 if (this.horizontalCenter == null) {
\r
385 this.horizontalCenter = this.sum (this.getX (), this.scale (this.getWidth (), 0.5));
\r
386 }return this.horizontalCenter;
\r
388 Clazz.defineMethod (c$, "setHorizontalCenter",
\r
390 this.horizontalCenter = a;
\r
391 this.pushConstraint ("HorizontalCenter", a, true);
\r
392 }, "javax.swing.Spring");
\r
393 Clazz.defineMethod (c$, "getVerticalCenter",
\r
395 if (this.verticalCenter == null) {
\r
396 this.verticalCenter = this.sum (this.getY (), this.scale (this.getHeight (), 0.5));
\r
397 }return this.verticalCenter;
\r
399 Clazz.defineMethod (c$, "setVerticalCenter",
\r
401 this.verticalCenter = a;
\r
402 this.pushConstraint ("VerticalCenter", a, false);
\r
403 }, "javax.swing.Spring");
\r
404 Clazz.defineMethod (c$, "getBaseline",
\r
406 if (this.baseline == null) {
\r
407 this.baseline = this.sum (this.getY (), this.heightToRelativeBaseline (this.getHeight ()));
\r
408 }return this.baseline;
\r
410 Clazz.defineMethod (c$, "setBaseline",
\r
413 this.pushConstraint ("Baseline", a, false);
\r
414 }, "javax.swing.Spring");
\r
415 Clazz.defineMethod (c$, "setConstraint",
\r
418 if (a === "West") {
\r
420 } else if (a === "North") {
\r
422 } else if (a === "East") {
\r
424 } else if (a === "South") {
\r
426 } else if (a === "HorizontalCenter") {
\r
427 this.setHorizontalCenter (b);
\r
428 } else if (a === "Width") {
\r
430 } else if (a === "Height") {
\r
431 this.setHeight (b);
\r
432 } else if (a === "VerticalCenter") {
\r
433 this.setVerticalCenter (b);
\r
434 } else if (a === "Baseline") {
\r
435 this.setBaseline (b);
\r
436 }}, "~S,javax.swing.Spring");
\r
437 Clazz.defineMethod (c$, "getConstraint",
\r
440 return (a === "West") ? this.getX () : (a === "North") ? this.getY () : (a === "East") ? this.getEast () : (a === "South") ? this.getSouth () : (a === "Width") ? this.getWidth () : (a === "Height") ? this.getHeight () : (a === "HorizontalCenter") ? this.getHorizontalCenter () : (a === "VerticalCenter") ? this.getVerticalCenter () : (a === "Baseline") ? this.getBaseline () : null;
\r
442 Clazz.defineMethod (c$, "reset",
\r
444 var a = Clazz.newArray (-1, [this.x, this.y, this.width, this.height, this.east, this.south, this.horizontalCenter, this.verticalCenter, this.baseline]);
\r
445 for (var b = 0; b < a.length; b++) {
\r
448 c.setValue (-2147483648);
\r
451 c$.$SpringLayout$Constraints$1$ = function () {
\r
452 Clazz.pu$h(self.c$);
\r
453 c$ = Clazz.declareAnonymous (javax.swing, "SpringLayout$Constraints$1", javax.swing.Spring.SpringMap);
\r
454 Clazz.overrideMethod (c$, "map",
\r
456 return this.b$["javax.swing.SpringLayout.Constraints"].getBaselineFromHeight (a);
\r
458 Clazz.overrideMethod (c$, "inv",
\r
460 return this.b$["javax.swing.SpringLayout.Constraints"].getHeightFromBaseLine (a);
\r
464 c$.$SpringLayout$Constraints$2$ = function () {
\r
465 Clazz.pu$h(self.c$);
\r
466 c$ = Clazz.declareAnonymous (javax.swing, "SpringLayout$Constraints$2", javax.swing.Spring.SpringMap);
\r
467 Clazz.overrideMethod (c$, "map",
\r
469 return this.b$["javax.swing.SpringLayout.Constraints"].getHeightFromBaseLine (a);
\r
471 Clazz.overrideMethod (c$, "inv",
\r
473 return this.b$["javax.swing.SpringLayout.Constraints"].getBaselineFromHeight (a);
\r
478 Clazz.pu$h(self.c$);
\r
479 c$ = Clazz.decorateAsClass (function () {
\r
480 this.edgeName = null;
\r
483 Clazz.instantialize (this, arguments);
\r
484 }, javax.swing.SpringLayout, "SpringProxy", javax.swing.Spring);
\r
485 Clazz.makeConstructor (c$,
\r
486 function (a, b, c) {
\r
487 Clazz.superConstructor (this, javax.swing.SpringLayout.SpringProxy, []);
\r
491 }, "~S,java.awt.Component,javax.swing.SpringLayout");
\r
492 Clazz.defineMethod (c$, "getConstraint",
\r
494 return this.l.getConstraints (this.c).getConstraint (this.edgeName);
\r
496 Clazz.defineMethod (c$, "getMinimumValue",
\r
498 return this.getConstraint ().getMinimumValue ();
\r
500 Clazz.defineMethod (c$, "getPreferredValue",
\r
502 return this.getConstraint ().getPreferredValue ();
\r
504 Clazz.defineMethod (c$, "getMaximumValue",
\r
506 return this.getConstraint ().getMaximumValue ();
\r
508 Clazz.defineMethod (c$, "getValue",
\r
510 return this.getConstraint ().getValue ();
\r
512 Clazz.defineMethod (c$, "setValue",
\r
514 this.getConstraint ().setValue (a);
\r
516 Clazz.overrideMethod (c$, "isCyclic",
\r
518 return a.isCyclic (this.getConstraint ());
\r
519 }, "javax.swing.SpringLayout");
\r
520 Clazz.overrideMethod (c$, "toString",
\r
522 return "SpringProxy for " + this.edgeName + " edge of " + this.c.getName () + ".";
\r
525 Clazz.defineStatics (c$,
\r
530 "HORIZONTAL_CENTER", "HorizontalCenter",
\r
531 "VERTICAL_CENTER", "VerticalCenter",
\r
532 "BASELINE", "Baseline",
\r
534 "HEIGHT", "Height");
\r
535 c$.ALL_HORIZONTAL = c$.prototype.ALL_HORIZONTAL = Clazz.newArray (-1, ["West", "Width", "East", "HorizontalCenter"]);
\r
536 c$.ALL_VERTICAL = c$.prototype.ALL_VERTICAL = Clazz.newArray (-1, ["North", "Height", "South", "VerticalCenter", "Baseline"]);
\r