001 // ---------- Attention: Generated code, please do not modify! ----------- 002 003 /* 004 * Licensed to the Apache Software Foundation (ASF) under one or more 005 * contributor license agreements. See the NOTICE file distributed with 006 * this work for additional information regarding copyright ownership. 007 * The ASF licenses this file to You under the Apache License, Version 2.0 008 * (the "License"); you may not use this file except in compliance with 009 * the License. You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, software 014 * distributed under the License is distributed on an "AS IS" BASIS, 015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 */ 019 020 package org.apache.myfaces.tobago.component; 021 022 import javax.faces.context.FacesContext; 023 import org.apache.myfaces.tobago.context.Markup; 024 import org.apache.myfaces.tobago.internal.component.AbstractUIOut; 025 import org.apache.myfaces.tobago.layout.Display; 026 import org.apache.myfaces.tobago.layout.Measure; 027 import org.apache.commons.lang.ArrayUtils; 028 import org.apache.commons.lang.StringUtils; 029 import org.apache.myfaces.tobago.component.MethodBindingToMethodExpression; 030 import org.apache.myfaces.tobago.component.MethodExpressionToMethodBinding; 031 import org.apache.myfaces.tobago.internal.util.Deprecation; 032 import org.apache.myfaces.tobago.renderkit.MarginValues; 033 import org.apache.myfaces.tobago.renderkit.SpacingValues; 034 import org.apache.myfaces.tobago.renderkit.LayoutComponentRenderer; 035 import javax.el.ELException; 036 import javax.faces.FacesException; 037 import java.util.ArrayList; 038 import java.util.List; 039 import javax.el.MethodExpression; 040 import javax.el.ValueExpression; 041 042 /** 043 Renders a text 044 * UIComponent class, generated from template {@code component1.2.stg} with class 045 * {@link org.apache.myfaces.tobago.internal.taglib.component.OutTagDeclaration}. 046 */ 047 public class UIOut 048 extends AbstractUIOut implements UIOutput, SupportsMarkup { 049 050 public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Out"; 051 052 private org.apache.myfaces.tobago.context.Markup markup; 053 private org.apache.myfaces.tobago.layout.Measure marginLeft; 054 private org.apache.myfaces.tobago.layout.Measure minimumHeight; 055 private java.lang.Boolean escape; 056 private java.lang.String tip; 057 private org.apache.myfaces.tobago.layout.Measure height; 058 private org.apache.myfaces.tobago.layout.Measure minimumWidth; 059 private java.lang.Boolean inline; 060 private java.lang.Integer rowSpan; 061 private org.apache.myfaces.tobago.layout.Measure left; 062 private java.lang.Integer columnSpan; 063 private org.apache.myfaces.tobago.layout.Measure maximumHeight; 064 private org.apache.myfaces.tobago.layout.Measure top; 065 private org.apache.myfaces.tobago.layout.Measure currentWidth; 066 private org.apache.myfaces.tobago.layout.Measure marginTop; 067 private org.apache.myfaces.tobago.layout.Measure marginRight; 068 private org.apache.myfaces.tobago.layout.Measure width; 069 private org.apache.myfaces.tobago.layout.Measure currentHeight; 070 private org.apache.myfaces.tobago.layout.Measure preferredHeight; 071 private org.apache.myfaces.tobago.layout.Display display; 072 private org.apache.myfaces.tobago.layout.Measure maximumWidth; 073 private org.apache.myfaces.tobago.layout.Measure preferredWidth; 074 private org.apache.myfaces.tobago.layout.Measure marginBottom; 075 private java.lang.Boolean createSpan; 076 private java.lang.Integer verticalIndex; 077 private org.apache.myfaces.tobago.context.Markup currentMarkup; 078 private java.lang.Integer horizontalIndex; 079 080 081 public org.apache.myfaces.tobago.context.Markup getMarkup() { 082 if (markup != null) { 083 return markup; 084 } 085 ValueExpression ve = getValueExpression("markup"); 086 if (ve != null) { 087 try { 088 Object object = ve.getValue(getFacesContext().getELContext()); 089 return Markup.valueOf(object); 090 } catch (ELException e) { 091 throw new FacesException(e); 092 } 093 } 094 return null; 095 } 096 097 public void setMarkup(org.apache.myfaces.tobago.context.Markup markup) { 098 this.markup = markup; 099 } 100 101 public org.apache.myfaces.tobago.layout.Measure getMarginLeft() { 102 if (marginLeft != null) { 103 return marginLeft; 104 } 105 ValueExpression ve = getValueExpression("marginLeft"); 106 if (ve != null) { 107 try { 108 Object object = ve.getValue(getFacesContext().getELContext()); 109 return Measure.valueOf(object); 110 } catch (ELException e) { 111 throw new FacesException(e); 112 } 113 } 114 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMarginLeft(getFacesContext(), this); 115 } 116 117 public void setMarginLeft(org.apache.myfaces.tobago.layout.Measure marginLeft) { 118 this.marginLeft = marginLeft; 119 } 120 121 public org.apache.myfaces.tobago.layout.Measure getMinimumHeight() { 122 if (minimumHeight != null) { 123 return minimumHeight; 124 } 125 ValueExpression ve = getValueExpression("minimumHeight"); 126 if (ve != null) { 127 try { 128 Object object = ve.getValue(getFacesContext().getELContext()); 129 return Measure.valueOf(object); 130 } catch (ELException e) { 131 throw new FacesException(e); 132 } 133 } 134 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMinimumHeight(getFacesContext(), this); 135 } 136 137 public void setMinimumHeight(org.apache.myfaces.tobago.layout.Measure minimumHeight) { 138 this.minimumHeight = minimumHeight; 139 } 140 141 /** 142 Flag indicating that characters that are 143 sensitive in HTML and XML markup must be escaped. 144 <br />Default: <code>true</code> 145 */ 146 public boolean isEscape() { 147 if (escape != null) { 148 return escape; 149 } 150 ValueExpression ve = getValueExpression("escape"); 151 if (ve != null) { 152 try { 153 Boolean bool = (Boolean) ve.getValue(getFacesContext().getELContext()); 154 if (bool != null) { 155 return bool; 156 } 157 } catch (ELException e) { 158 throw new FacesException(e); 159 } 160 } 161 return true; 162 } 163 164 public void setEscape(boolean escape) { 165 this.escape = escape; 166 } 167 168 /** 169 Text value to display as tooltip. 170 171 */ 172 public java.lang.String getTip() { 173 if (tip != null) { 174 return tip; 175 } 176 ValueExpression ve = getValueExpression("tip"); 177 if (ve != null) { 178 try { 179 return (java.lang.String) ve.getValue(getFacesContext().getELContext()); 180 } catch (ELException e) { 181 throw new FacesException(e); 182 } 183 } 184 return null; 185 } 186 187 public void setTip(java.lang.String tip) { 188 this.tip = tip; 189 } 190 191 /** 192 This value will usually be set by the layout manager. 193 194 */ 195 public org.apache.myfaces.tobago.layout.Measure getHeight() { 196 if (height != null) { 197 return height; 198 } 199 ValueExpression ve = getValueExpression("height"); 200 if (ve != null) { 201 try { 202 Object object = ve.getValue(getFacesContext().getELContext()); 203 return Measure.valueOf(object); 204 } catch (ELException e) { 205 throw new FacesException(e); 206 } 207 } 208 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getHeight(getFacesContext(), this); 209 } 210 211 public void setHeight(org.apache.myfaces.tobago.layout.Measure height) { 212 this.height = height; 213 } 214 215 public org.apache.myfaces.tobago.layout.Measure getMinimumWidth() { 216 if (minimumWidth != null) { 217 return minimumWidth; 218 } 219 ValueExpression ve = getValueExpression("minimumWidth"); 220 if (ve != null) { 221 try { 222 Object object = ve.getValue(getFacesContext().getELContext()); 223 return Measure.valueOf(object); 224 } catch (ELException e) { 225 throw new FacesException(e); 226 } 227 } 228 return ((LayoutComponentRenderer)getRenderer(getFacesContext())).getMinimumWidth(getFacesContext(), this); 229 } 230 231 public void setMinimumWidth(org.apache.myfaces.tobago.layout.Measure minimumWidth) { 232 this.minimumWidth = minimumWidth; 233 } 234 235 /** 236 Flag indicating this component should rendered as an inline element. 237 <br />Default: <code>false</code> 238 */ 239 public boolean isInline() { 240 if (inline != null) { 241 return inline; 242 } 243 ValueExpression ve = getValueExpression("inline"); 244 if (ve != null) { 245 try { 246 Boolean bool = (Boolean) ve.getValue(getFacesContext().getELContext()); 247 if (bool != null) { 248 return bool; 249 } 250 } catch (ELException e) { 251 throw new FacesException(e); 252 } 253 } 254 return false; 255 } 256 257 public void setInline(boolean inline) { 258 this.inline = inline; 259 } 260 261 public java.lang.Integer getRowSpan() { 262 if (rowSpan != null) { 263 return rowSpan; 264 } 265 ValueExpression ve = getValueExpression("rowSpan"); 266 if (ve != null) { 267 try { 268 Number number = (Number) ve.getValue(getFacesContext().getELContext()); 269 if (number != null) { 270 return number.intValue(); 271 } 272 } catch (ELException e) { 273 throw new FacesException(e); 274 } 275 } 276 return 1; 277 } 278 279 public void setRowSpan(java.lang.Integer rowSpan) { 280 this.rowSpan = rowSpan; 281 } 282 283 /** 284 This value will usually be set by the layout manager. 285 286 */ 287 public org.apache.myfaces.tobago.layout.Measure getLeft() { 288 if (left != null) { 289 return left; 290 } 291 ValueExpression ve = getValueExpression("left"); 292 if (ve != null) { 293 try { 294 Object object = ve.getValue(getFacesContext().getELContext()); 295 return Measure.valueOf(object); 296 } catch (ELException e) { 297 throw new FacesException(e); 298 } 299 } 300 return null; 301 } 302 303 public void setLeft(org.apache.myfaces.tobago.layout.Measure left) { 304 this.left = left; 305 } 306 307 public java.lang.Integer getColumnSpan() { 308 if (columnSpan != null) { 309 return columnSpan; 310 } 311 ValueExpression ve = getValueExpression("columnSpan"); 312 if (ve != null) { 313 try { 314 Number number = (Number) ve.getValue(getFacesContext().getELContext()); 315 if (number != null) { 316 return number.intValue(); 317 } 318 } catch (ELException e) { 319 throw new FacesException(e); 320 } 321 } 322 return 1; 323 } 324 325 public void setColumnSpan(java.lang.Integer columnSpan) { 326 this.columnSpan = columnSpan; 327 } 328 329 public org.apache.myfaces.tobago.layout.Measure getMaximumHeight() { 330 if (maximumHeight != null) { 331 return maximumHeight; 332 } 333 ValueExpression ve = getValueExpression("maximumHeight"); 334 if (ve != null) { 335 try { 336 Object object = ve.getValue(getFacesContext().getELContext()); 337 return Measure.valueOf(object); 338 } catch (ELException e) { 339 throw new FacesException(e); 340 } 341 } 342 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMaximumHeight(getFacesContext(), this); 343 } 344 345 public void setMaximumHeight(org.apache.myfaces.tobago.layout.Measure maximumHeight) { 346 this.maximumHeight = maximumHeight; 347 } 348 349 /** 350 This value will usually be set by the layout manager. 351 352 */ 353 public org.apache.myfaces.tobago.layout.Measure getTop() { 354 if (top != null) { 355 return top; 356 } 357 ValueExpression ve = getValueExpression("top"); 358 if (ve != null) { 359 try { 360 Object object = ve.getValue(getFacesContext().getELContext()); 361 return Measure.valueOf(object); 362 } catch (ELException e) { 363 throw new FacesException(e); 364 } 365 } 366 return null; 367 } 368 369 public void setTop(org.apache.myfaces.tobago.layout.Measure top) { 370 this.top = top; 371 } 372 373 /** 374 This value will usually be set by the layout manager. It holds the current width computed by the layout manager. 375 376 */ 377 public org.apache.myfaces.tobago.layout.Measure getCurrentWidth() { 378 if (currentWidth != null) { 379 return currentWidth; 380 } 381 ValueExpression ve = getValueExpression("currentWidth"); 382 if (ve != null) { 383 try { 384 Object object = ve.getValue(getFacesContext().getELContext()); 385 return Measure.valueOf(object); 386 } catch (ELException e) { 387 throw new FacesException(e); 388 } 389 } 390 return getWidth(); 391 } 392 393 public void setCurrentWidth(org.apache.myfaces.tobago.layout.Measure currentWidth) { 394 this.currentWidth = currentWidth; 395 } 396 397 public org.apache.myfaces.tobago.layout.Measure getMarginTop() { 398 if (marginTop != null) { 399 return marginTop; 400 } 401 ValueExpression ve = getValueExpression("marginTop"); 402 if (ve != null) { 403 try { 404 Object object = ve.getValue(getFacesContext().getELContext()); 405 return Measure.valueOf(object); 406 } catch (ELException e) { 407 throw new FacesException(e); 408 } 409 } 410 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMarginTop(getFacesContext(), this); 411 } 412 413 public void setMarginTop(org.apache.myfaces.tobago.layout.Measure marginTop) { 414 this.marginTop = marginTop; 415 } 416 417 public org.apache.myfaces.tobago.layout.Measure getMarginRight() { 418 if (marginRight != null) { 419 return marginRight; 420 } 421 ValueExpression ve = getValueExpression("marginRight"); 422 if (ve != null) { 423 try { 424 Object object = ve.getValue(getFacesContext().getELContext()); 425 return Measure.valueOf(object); 426 } catch (ELException e) { 427 throw new FacesException(e); 428 } 429 } 430 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMarginRight(getFacesContext(), this); 431 } 432 433 public void setMarginRight(org.apache.myfaces.tobago.layout.Measure marginRight) { 434 this.marginRight = marginRight; 435 } 436 437 /** 438 This value will usually be set by the layout manager. 439 440 */ 441 public org.apache.myfaces.tobago.layout.Measure getWidth() { 442 if (width != null) { 443 return width; 444 } 445 ValueExpression ve = getValueExpression("width"); 446 if (ve != null) { 447 try { 448 Object object = ve.getValue(getFacesContext().getELContext()); 449 return Measure.valueOf(object); 450 } catch (ELException e) { 451 throw new FacesException(e); 452 } 453 } 454 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getWidth(getFacesContext(), this); 455 } 456 457 public void setWidth(org.apache.myfaces.tobago.layout.Measure width) { 458 this.width = width; 459 } 460 461 /** 462 This value will usually be set by the layout manager. It holds the current height computed by the layout manager. 463 464 */ 465 public org.apache.myfaces.tobago.layout.Measure getCurrentHeight() { 466 if (currentHeight != null) { 467 return currentHeight; 468 } 469 ValueExpression ve = getValueExpression("currentHeight"); 470 if (ve != null) { 471 try { 472 Object object = ve.getValue(getFacesContext().getELContext()); 473 return Measure.valueOf(object); 474 } catch (ELException e) { 475 throw new FacesException(e); 476 } 477 } 478 return getHeight(); 479 } 480 481 public void setCurrentHeight(org.apache.myfaces.tobago.layout.Measure currentHeight) { 482 this.currentHeight = currentHeight; 483 } 484 485 public org.apache.myfaces.tobago.layout.Measure getPreferredHeight() { 486 if (preferredHeight != null) { 487 return preferredHeight; 488 } 489 ValueExpression ve = getValueExpression("preferredHeight"); 490 if (ve != null) { 491 try { 492 Object object = ve.getValue(getFacesContext().getELContext()); 493 return Measure.valueOf(object); 494 } catch (ELException e) { 495 throw new FacesException(e); 496 } 497 } 498 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getPreferredHeight(getFacesContext(), this); 499 } 500 501 public void setPreferredHeight(org.apache.myfaces.tobago.layout.Measure preferredHeight) { 502 this.preferredHeight = preferredHeight; 503 } 504 505 /** 506 This attribute is for internal use only. 507 508 */ 509 public org.apache.myfaces.tobago.layout.Display getDisplay() { 510 if (display != null) { 511 return display; 512 } 513 ValueExpression ve = getValueExpression("display"); 514 if (ve != null) { 515 try { 516 return (org.apache.myfaces.tobago.layout.Display) ve.getValue(getFacesContext().getELContext()); 517 } catch (ELException e) { 518 throw new FacesException(e); 519 } 520 } 521 return null; 522 } 523 524 public void setDisplay(org.apache.myfaces.tobago.layout.Display display) { 525 this.display = display; 526 } 527 528 public org.apache.myfaces.tobago.layout.Measure getMaximumWidth() { 529 if (maximumWidth != null) { 530 return maximumWidth; 531 } 532 ValueExpression ve = getValueExpression("maximumWidth"); 533 if (ve != null) { 534 try { 535 Object object = ve.getValue(getFacesContext().getELContext()); 536 return Measure.valueOf(object); 537 } catch (ELException e) { 538 throw new FacesException(e); 539 } 540 } 541 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMaximumWidth(getFacesContext(), this); 542 } 543 544 public void setMaximumWidth(org.apache.myfaces.tobago.layout.Measure maximumWidth) { 545 this.maximumWidth = maximumWidth; 546 } 547 548 public org.apache.myfaces.tobago.layout.Measure getPreferredWidth() { 549 if (preferredWidth != null) { 550 return preferredWidth; 551 } 552 ValueExpression ve = getValueExpression("preferredWidth"); 553 if (ve != null) { 554 try { 555 Object object = ve.getValue(getFacesContext().getELContext()); 556 return Measure.valueOf(object); 557 } catch (ELException e) { 558 throw new FacesException(e); 559 } 560 } 561 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getPreferredWidth(getFacesContext(), this); 562 } 563 564 public void setPreferredWidth(org.apache.myfaces.tobago.layout.Measure preferredWidth) { 565 this.preferredWidth = preferredWidth; 566 } 567 568 public org.apache.myfaces.tobago.layout.Measure getMarginBottom() { 569 if (marginBottom != null) { 570 return marginBottom; 571 } 572 ValueExpression ve = getValueExpression("marginBottom"); 573 if (ve != null) { 574 try { 575 Object object = ve.getValue(getFacesContext().getELContext()); 576 return Measure.valueOf(object); 577 } catch (ELException e) { 578 throw new FacesException(e); 579 } 580 } 581 return ((LayoutComponentRenderer) getRenderer(getFacesContext())).getMarginBottom(getFacesContext(), this); 582 } 583 584 public void setMarginBottom(org.apache.myfaces.tobago.layout.Measure marginBottom) { 585 this.marginBottom = marginBottom; 586 } 587 588 /** 589 Indicates that the renderer should create an element in the output language 590 (e. g. an span or div tag around the output text). 591 Use true, if you enable the possibility to apply styles to the output. 592 Use false, if you want to keep the code small (especially inside of sheets). 593 <br />Default: <code>true</code> 594 */ 595 public boolean isCreateSpan() { 596 if (createSpan != null) { 597 return createSpan; 598 } 599 ValueExpression ve = getValueExpression("createSpan"); 600 if (ve != null) { 601 try { 602 Boolean bool = (Boolean) ve.getValue(getFacesContext().getELContext()); 603 if (bool != null) { 604 return bool; 605 } 606 } catch (ELException e) { 607 throw new FacesException(e); 608 } 609 } 610 return true; 611 } 612 613 public void setCreateSpan(boolean createSpan) { 614 this.createSpan = createSpan; 615 } 616 617 /** 618 This attribute is for internal use only. 619 620 */ 621 public java.lang.Integer getVerticalIndex() { 622 if (verticalIndex != null) { 623 return verticalIndex; 624 } 625 ValueExpression ve = getValueExpression("verticalIndex"); 626 if (ve != null) { 627 try { 628 Number number = (Number) ve.getValue(getFacesContext().getELContext()); 629 if (number != null) { 630 return number.intValue(); 631 } 632 } catch (ELException e) { 633 throw new FacesException(e); 634 } 635 } 636 return null; 637 } 638 639 public void setVerticalIndex(java.lang.Integer verticalIndex) { 640 this.verticalIndex = verticalIndex; 641 } 642 643 public org.apache.myfaces.tobago.context.Markup getCurrentMarkup() { 644 if (currentMarkup != null) { 645 return currentMarkup; 646 } 647 return null; 648 } 649 650 public void setCurrentMarkup(org.apache.myfaces.tobago.context.Markup currentMarkup) { 651 this.currentMarkup = currentMarkup; 652 } 653 654 /** 655 This attribute is for internal use only. 656 657 */ 658 public java.lang.Integer getHorizontalIndex() { 659 if (horizontalIndex != null) { 660 return horizontalIndex; 661 } 662 ValueExpression ve = getValueExpression("horizontalIndex"); 663 if (ve != null) { 664 try { 665 Number number = (Number) ve.getValue(getFacesContext().getELContext()); 666 if (number != null) { 667 return number.intValue(); 668 } 669 } catch (ELException e) { 670 throw new FacesException(e); 671 } 672 } 673 return null; 674 } 675 676 public void setHorizontalIndex(java.lang.Integer horizontalIndex) { 677 this.horizontalIndex = horizontalIndex; 678 } 679 680 public void restoreState(FacesContext context, Object componentState) { 681 Object[] values = (Object[]) componentState; 682 super.restoreState(context, values[0]); 683 markup = (org.apache.myfaces.tobago.context.Markup) values[1]; 684 marginLeft = (org.apache.myfaces.tobago.layout.Measure) values[2]; 685 minimumHeight = (org.apache.myfaces.tobago.layout.Measure) values[3]; 686 escape = (java.lang.Boolean) values[4]; 687 tip = (java.lang.String) values[5]; 688 height = (org.apache.myfaces.tobago.layout.Measure) values[6]; 689 minimumWidth = (org.apache.myfaces.tobago.layout.Measure) values[7]; 690 inline = (java.lang.Boolean) values[8]; 691 rowSpan = (java.lang.Integer) values[9]; 692 left = (org.apache.myfaces.tobago.layout.Measure) values[10]; 693 columnSpan = (java.lang.Integer) values[11]; 694 maximumHeight = (org.apache.myfaces.tobago.layout.Measure) values[12]; 695 top = (org.apache.myfaces.tobago.layout.Measure) values[13]; 696 currentWidth = (org.apache.myfaces.tobago.layout.Measure) values[14]; 697 marginTop = (org.apache.myfaces.tobago.layout.Measure) values[15]; 698 marginRight = (org.apache.myfaces.tobago.layout.Measure) values[16]; 699 width = (org.apache.myfaces.tobago.layout.Measure) values[17]; 700 currentHeight = (org.apache.myfaces.tobago.layout.Measure) values[18]; 701 preferredHeight = (org.apache.myfaces.tobago.layout.Measure) values[19]; 702 display = (org.apache.myfaces.tobago.layout.Display) values[20]; 703 maximumWidth = (org.apache.myfaces.tobago.layout.Measure) values[21]; 704 preferredWidth = (org.apache.myfaces.tobago.layout.Measure) values[22]; 705 marginBottom = (org.apache.myfaces.tobago.layout.Measure) values[23]; 706 createSpan = (java.lang.Boolean) values[24]; 707 verticalIndex = (java.lang.Integer) values[25]; 708 horizontalIndex = (java.lang.Integer) values[26]; 709 } 710 711 public Object saveState(FacesContext context) { 712 Object[] values = new Object[27]; 713 values[0] = super.saveState(context); 714 values[1] = markup; 715 values[2] = marginLeft; 716 values[3] = minimumHeight; 717 values[4] = escape; 718 values[5] = tip; 719 values[6] = height; 720 values[7] = minimumWidth; 721 values[8] = inline; 722 values[9] = rowSpan; 723 values[10] = left; 724 values[11] = columnSpan; 725 values[12] = maximumHeight; 726 values[13] = top; 727 values[14] = currentWidth; 728 values[15] = marginTop; 729 values[16] = marginRight; 730 values[17] = width; 731 values[18] = currentHeight; 732 values[19] = preferredHeight; 733 values[20] = display; 734 values[21] = maximumWidth; 735 values[22] = preferredWidth; 736 values[23] = marginBottom; 737 values[24] = createSpan; 738 values[25] = verticalIndex; 739 values[26] = horizontalIndex; 740 currentMarkup = null; 741 return values; 742 } 743 744 745 }