001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041: package com.sun.rave.web.ui.component;
042:
043: import java.io.IOException;
044: import javax.faces.component.UIComponent;
045: import javax.faces.context.FacesContext;
046: import javax.faces.el.MethodBinding;
047: import javax.faces.el.ValueBinding;
048:
049: /**
050: * The TableAction component provides a layout mechanism for displaying actions.
051: * <p>Auto-generated component class.
052: * Do <strong>NOT</strong> modify; all changes
053: * <strong>will</strong> be lost!</p>
054: */
055:
056: public abstract class TableActionsBase extends
057: javax.faces.component.UIComponentBase {
058:
059: /**
060: * <p>Construct a new <code>TableActionsBase</code>.</p>
061: */
062: public TableActionsBase() {
063: super ();
064: setRendererType("com.sun.rave.web.ui.TableActions");
065: }
066:
067: /**
068: * <p>Return the identifier of the component family to which this
069: * component belongs. This identifier, in conjunction with the value
070: * of the <code>rendererType</code> property, may be used to select
071: * the appropriate {@link Renderer} for this component instance.</p>
072: */
073: public String getFamily() {
074: return "com.sun.rave.web.ui.TableActions";
075: }
076:
077: // abbr
078: private String abbr = null;
079:
080: /**
081: * <p>An abbreviated version of the cell's content</p>
082: */
083: public String getAbbr() {
084: if (this .abbr != null) {
085: return this .abbr;
086: }
087: ValueBinding _vb = getValueBinding("abbr");
088: if (_vb != null) {
089: return (String) _vb.getValue(getFacesContext());
090: }
091: return null;
092: }
093:
094: /**
095: * <p>An abbreviated version of the cell's content</p>
096: * @see #getAbbr()
097: */
098: public void setAbbr(String abbr) {
099: this .abbr = abbr;
100: }
101:
102: // actionsBottom
103: private boolean actionsBottom = false;
104: private boolean actionsBottom_set = false;
105:
106: /**
107: * <p>Flag indicating this component should render actions at the bottom of
108: * the table. The default renders action for the top of the table.</p>
109: */
110: public boolean isActionsBottom() {
111: if (this .actionsBottom_set) {
112: return this .actionsBottom;
113: }
114: ValueBinding _vb = getValueBinding("actionsBottom");
115: if (_vb != null) {
116: Object _result = _vb.getValue(getFacesContext());
117: if (_result == null) {
118: return false;
119: } else {
120: return ((Boolean) _result).booleanValue();
121: }
122: }
123: return false;
124: }
125:
126: /**
127: * <p>Flag indicating this component should render actions at the bottom of
128: * the table. The default renders action for the top of the table.</p>
129: * @see #isActionsBottom()
130: */
131: public void setActionsBottom(boolean actionsBottom) {
132: this .actionsBottom = actionsBottom;
133: this .actionsBottom_set = true;
134: }
135:
136: // align
137: private String align = null;
138:
139: /**
140: * <p>Sets the horizontal alignment (left, right, justify, center) for the cell contents</p>
141: */
142: public String getAlign() {
143: if (this .align != null) {
144: return this .align;
145: }
146: ValueBinding _vb = getValueBinding("align");
147: if (_vb != null) {
148: return (String) _vb.getValue(getFacesContext());
149: }
150: return null;
151: }
152:
153: /**
154: * <p>Sets the horizontal alignment (left, right, justify, center) for the cell contents</p>
155: * @see #getAlign()
156: */
157: public void setAlign(String align) {
158: this .align = align;
159: }
160:
161: // axis
162: private String axis = null;
163:
164: /**
165: * <p>Provides a method for categorizing cells</p>
166: */
167: public String getAxis() {
168: if (this .axis != null) {
169: return this .axis;
170: }
171: ValueBinding _vb = getValueBinding("axis");
172: if (_vb != null) {
173: return (String) _vb.getValue(getFacesContext());
174: }
175: return null;
176: }
177:
178: /**
179: * <p>Provides a method for categorizing cells</p>
180: * @see #getAxis()
181: */
182: public void setAxis(String axis) {
183: this .axis = axis;
184: }
185:
186: // bgColor
187: private String bgColor = null;
188:
189: public String getBgColor() {
190: if (this .bgColor != null) {
191: return this .bgColor;
192: }
193: ValueBinding _vb = getValueBinding("bgColor");
194: if (_vb != null) {
195: return (String) _vb.getValue(getFacesContext());
196: }
197: return null;
198: }
199:
200: public void setBgColor(String bgColor) {
201: this .bgColor = bgColor;
202: }
203:
204: // char
205: private String _char = null;
206:
207: public String getChar() {
208: if (this ._char != null) {
209: return this ._char;
210: }
211: ValueBinding _vb = getValueBinding("char");
212: if (_vb != null) {
213: return (String) _vb.getValue(getFacesContext());
214: }
215: return null;
216: }
217:
218: public void setChar(String _char) {
219: this ._char = _char;
220: }
221:
222: // charOff
223: private String charOff = null;
224:
225: public String getCharOff() {
226: if (this .charOff != null) {
227: return this .charOff;
228: }
229: ValueBinding _vb = getValueBinding("charOff");
230: if (_vb != null) {
231: return (String) _vb.getValue(getFacesContext());
232: }
233: return null;
234: }
235:
236: public void setCharOff(String charOff) {
237: this .charOff = charOff;
238: }
239:
240: // colSpan
241: private int colSpan = Integer.MIN_VALUE;
242: private boolean colSpan_set = false;
243:
244: /**
245: * <p>The number of columns spanned by a cell</p>
246: */
247: public int getColSpan() {
248: if (this .colSpan_set) {
249: return this .colSpan;
250: }
251: ValueBinding _vb = getValueBinding("colSpan");
252: if (_vb != null) {
253: Object _result = _vb.getValue(getFacesContext());
254: if (_result == null) {
255: return Integer.MIN_VALUE;
256: } else {
257: return ((Integer) _result).intValue();
258: }
259: }
260: return Integer.MIN_VALUE;
261: }
262:
263: /**
264: * <p>The number of columns spanned by a cell</p>
265: * @see #getColSpan()
266: */
267: public void setColSpan(int colSpan) {
268: this .colSpan = colSpan;
269: this .colSpan_set = true;
270: }
271:
272: // extraHtml
273: private String extraHtml = null;
274:
275: /**
276: * <p>Extra HTML to be appended to the tag output by this renderer.</p>
277: */
278: public String getExtraHtml() {
279: if (this .extraHtml != null) {
280: return this .extraHtml;
281: }
282: ValueBinding _vb = getValueBinding("extraHtml");
283: if (_vb != null) {
284: return (String) _vb.getValue(getFacesContext());
285: }
286: return null;
287: }
288:
289: /**
290: * <p>Extra HTML to be appended to the tag output by this renderer.</p>
291: * @see #getExtraHtml()
292: */
293: public void setExtraHtml(String extraHtml) {
294: this .extraHtml = extraHtml;
295: }
296:
297: // headers
298: private String headers = null;
299:
300: /**
301: * <p>Space separated list of header cell ID values</p>
302: */
303: public String getHeaders() {
304: if (this .headers != null) {
305: return this .headers;
306: }
307: ValueBinding _vb = getValueBinding("headers");
308: if (_vb != null) {
309: return (String) _vb.getValue(getFacesContext());
310: }
311: return null;
312: }
313:
314: /**
315: * <p>Space separated list of header cell ID values</p>
316: * @see #getHeaders()
317: */
318: public void setHeaders(String headers) {
319: this .headers = headers;
320: }
321:
322: // height
323: private String height = null;
324:
325: /**
326: * <p>Set the cell height in pixels (deprecated in HTML 4.0)</p>
327: */
328: public String getHeight() {
329: if (this .height != null) {
330: return this .height;
331: }
332: ValueBinding _vb = getValueBinding("height");
333: if (_vb != null) {
334: return (String) _vb.getValue(getFacesContext());
335: }
336: return null;
337: }
338:
339: /**
340: * <p>Set the cell height in pixels (deprecated in HTML 4.0)</p>
341: * @see #getHeight()
342: */
343: public void setHeight(String height) {
344: this .height = height;
345: }
346:
347: // noWrap
348: private boolean noWrap = false;
349: private boolean noWrap_set = false;
350:
351: /**
352: * <p>Disable word wrapping (deprecated in HTML 4.0)</p>
353: */
354: public boolean isNoWrap() {
355: if (this .noWrap_set) {
356: return this .noWrap;
357: }
358: ValueBinding _vb = getValueBinding("noWrap");
359: if (_vb != null) {
360: Object _result = _vb.getValue(getFacesContext());
361: if (_result == null) {
362: return false;
363: } else {
364: return ((Boolean) _result).booleanValue();
365: }
366: }
367: return false;
368: }
369:
370: /**
371: * <p>Disable word wrapping (deprecated in HTML 4.0)</p>
372: * @see #isNoWrap()
373: */
374: public void setNoWrap(boolean noWrap) {
375: this .noWrap = noWrap;
376: this .noWrap_set = true;
377: }
378:
379: // onClick
380: private String onClick = null;
381:
382: /**
383: * <p>Scripting code executed when a mouse click
384: * occurs over this component.</p>
385: */
386: public String getOnClick() {
387: if (this .onClick != null) {
388: return this .onClick;
389: }
390: ValueBinding _vb = getValueBinding("onClick");
391: if (_vb != null) {
392: return (String) _vb.getValue(getFacesContext());
393: }
394: return null;
395: }
396:
397: /**
398: * <p>Scripting code executed when a mouse click
399: * occurs over this component.</p>
400: * @see #getOnClick()
401: */
402: public void setOnClick(String onClick) {
403: this .onClick = onClick;
404: }
405:
406: // onDblClick
407: private String onDblClick = null;
408:
409: /**
410: * <p>Scripting code executed when a mouse double click
411: * occurs over this component.</p>
412: */
413: public String getOnDblClick() {
414: if (this .onDblClick != null) {
415: return this .onDblClick;
416: }
417: ValueBinding _vb = getValueBinding("onDblClick");
418: if (_vb != null) {
419: return (String) _vb.getValue(getFacesContext());
420: }
421: return null;
422: }
423:
424: /**
425: * <p>Scripting code executed when a mouse double click
426: * occurs over this component.</p>
427: * @see #getOnDblClick()
428: */
429: public void setOnDblClick(String onDblClick) {
430: this .onDblClick = onDblClick;
431: }
432:
433: // onKeyDown
434: private String onKeyDown = null;
435:
436: /**
437: * <p>Scripting code executed when the user presses down on a key while the
438: * component has focus.</p>
439: */
440: public String getOnKeyDown() {
441: if (this .onKeyDown != null) {
442: return this .onKeyDown;
443: }
444: ValueBinding _vb = getValueBinding("onKeyDown");
445: if (_vb != null) {
446: return (String) _vb.getValue(getFacesContext());
447: }
448: return null;
449: }
450:
451: /**
452: * <p>Scripting code executed when the user presses down on a key while the
453: * component has focus.</p>
454: * @see #getOnKeyDown()
455: */
456: public void setOnKeyDown(String onKeyDown) {
457: this .onKeyDown = onKeyDown;
458: }
459:
460: // onKeyPress
461: private String onKeyPress = null;
462:
463: /**
464: * <p>Scripting code executed when the user presses and releases a key while
465: * the component has focus.</p>
466: */
467: public String getOnKeyPress() {
468: if (this .onKeyPress != null) {
469: return this .onKeyPress;
470: }
471: ValueBinding _vb = getValueBinding("onKeyPress");
472: if (_vb != null) {
473: return (String) _vb.getValue(getFacesContext());
474: }
475: return null;
476: }
477:
478: /**
479: * <p>Scripting code executed when the user presses and releases a key while
480: * the component has focus.</p>
481: * @see #getOnKeyPress()
482: */
483: public void setOnKeyPress(String onKeyPress) {
484: this .onKeyPress = onKeyPress;
485: }
486:
487: // onKeyUp
488: private String onKeyUp = null;
489:
490: /**
491: * <p>Scripting code executed when the user releases a key while the
492: * component has focus.</p>
493: */
494: public String getOnKeyUp() {
495: if (this .onKeyUp != null) {
496: return this .onKeyUp;
497: }
498: ValueBinding _vb = getValueBinding("onKeyUp");
499: if (_vb != null) {
500: return (String) _vb.getValue(getFacesContext());
501: }
502: return null;
503: }
504:
505: /**
506: * <p>Scripting code executed when the user releases a key while the
507: * component has focus.</p>
508: * @see #getOnKeyUp()
509: */
510: public void setOnKeyUp(String onKeyUp) {
511: this .onKeyUp = onKeyUp;
512: }
513:
514: // onMouseDown
515: private String onMouseDown = null;
516:
517: /**
518: * <p>Scripting code executed when the user presses a mouse button while the
519: * mouse pointer is on the component.</p>
520: */
521: public String getOnMouseDown() {
522: if (this .onMouseDown != null) {
523: return this .onMouseDown;
524: }
525: ValueBinding _vb = getValueBinding("onMouseDown");
526: if (_vb != null) {
527: return (String) _vb.getValue(getFacesContext());
528: }
529: return null;
530: }
531:
532: /**
533: * <p>Scripting code executed when the user presses a mouse button while the
534: * mouse pointer is on the component.</p>
535: * @see #getOnMouseDown()
536: */
537: public void setOnMouseDown(String onMouseDown) {
538: this .onMouseDown = onMouseDown;
539: }
540:
541: // onMouseMove
542: private String onMouseMove = null;
543:
544: /**
545: * <p>Scripting code executed when the user moves the mouse pointer while
546: * over the component.</p>
547: */
548: public String getOnMouseMove() {
549: if (this .onMouseMove != null) {
550: return this .onMouseMove;
551: }
552: ValueBinding _vb = getValueBinding("onMouseMove");
553: if (_vb != null) {
554: return (String) _vb.getValue(getFacesContext());
555: }
556: return null;
557: }
558:
559: /**
560: * <p>Scripting code executed when the user moves the mouse pointer while
561: * over the component.</p>
562: * @see #getOnMouseMove()
563: */
564: public void setOnMouseMove(String onMouseMove) {
565: this .onMouseMove = onMouseMove;
566: }
567:
568: // onMouseOut
569: private String onMouseOut = null;
570:
571: /**
572: * <p>Scripting code executed when a mouse out movement
573: * occurs over this component.</p>
574: */
575: public String getOnMouseOut() {
576: if (this .onMouseOut != null) {
577: return this .onMouseOut;
578: }
579: ValueBinding _vb = getValueBinding("onMouseOut");
580: if (_vb != null) {
581: return (String) _vb.getValue(getFacesContext());
582: }
583: return null;
584: }
585:
586: /**
587: * <p>Scripting code executed when a mouse out movement
588: * occurs over this component.</p>
589: * @see #getOnMouseOut()
590: */
591: public void setOnMouseOut(String onMouseOut) {
592: this .onMouseOut = onMouseOut;
593: }
594:
595: // onMouseOver
596: private String onMouseOver = null;
597:
598: /**
599: * <p>Scripting code executed when the user moves the mouse pointer into
600: * the boundary of this component.</p>
601: */
602: public String getOnMouseOver() {
603: if (this .onMouseOver != null) {
604: return this .onMouseOver;
605: }
606: ValueBinding _vb = getValueBinding("onMouseOver");
607: if (_vb != null) {
608: return (String) _vb.getValue(getFacesContext());
609: }
610: return null;
611: }
612:
613: /**
614: * <p>Scripting code executed when the user moves the mouse pointer into
615: * the boundary of this component.</p>
616: * @see #getOnMouseOver()
617: */
618: public void setOnMouseOver(String onMouseOver) {
619: this .onMouseOver = onMouseOver;
620: }
621:
622: // onMouseUp
623: private String onMouseUp = null;
624:
625: /**
626: * <p>Scripting code executed when the user releases a mouse button while
627: * the mouse pointer is on the component.</p>
628: */
629: public String getOnMouseUp() {
630: if (this .onMouseUp != null) {
631: return this .onMouseUp;
632: }
633: ValueBinding _vb = getValueBinding("onMouseUp");
634: if (_vb != null) {
635: return (String) _vb.getValue(getFacesContext());
636: }
637: return null;
638: }
639:
640: /**
641: * <p>Scripting code executed when the user releases a mouse button while
642: * the mouse pointer is on the component.</p>
643: * @see #getOnMouseUp()
644: */
645: public void setOnMouseUp(String onMouseUp) {
646: this .onMouseUp = onMouseUp;
647: }
648:
649: // rowSpan
650: private int rowSpan = Integer.MIN_VALUE;
651: private boolean rowSpan_set = false;
652:
653: /**
654: * <p>The number of rows spanned by a cell</p>
655: */
656: public int getRowSpan() {
657: if (this .rowSpan_set) {
658: return this .rowSpan;
659: }
660: ValueBinding _vb = getValueBinding("rowSpan");
661: if (_vb != null) {
662: Object _result = _vb.getValue(getFacesContext());
663: if (_result == null) {
664: return Integer.MIN_VALUE;
665: } else {
666: return ((Integer) _result).intValue();
667: }
668: }
669: return Integer.MIN_VALUE;
670: }
671:
672: /**
673: * <p>The number of rows spanned by a cell</p>
674: * @see #getRowSpan()
675: */
676: public void setRowSpan(int rowSpan) {
677: this .rowSpan = rowSpan;
678: this .rowSpan_set = true;
679: }
680:
681: // scope
682: private String scope = null;
683:
684: /**
685: * <p>Indicates that information in a cell is also acting as a header</p>
686: */
687: public String getScope() {
688: if (this .scope != null) {
689: return this .scope;
690: }
691: ValueBinding _vb = getValueBinding("scope");
692: if (_vb != null) {
693: return (String) _vb.getValue(getFacesContext());
694: }
695: return null;
696: }
697:
698: /**
699: * <p>Indicates that information in a cell is also acting as a header</p>
700: * @see #getScope()
701: */
702: public void setScope(String scope) {
703: this .scope = scope;
704: }
705:
706: // style
707: private String style = null;
708:
709: /**
710: * <p>CSS style(s) to be applied when this component is rendered.</p>
711: */
712: public String getStyle() {
713: if (this .style != null) {
714: return this .style;
715: }
716: ValueBinding _vb = getValueBinding("style");
717: if (_vb != null) {
718: return (String) _vb.getValue(getFacesContext());
719: }
720: return null;
721: }
722:
723: /**
724: * <p>CSS style(s) to be applied when this component is rendered.</p>
725: * @see #getStyle()
726: */
727: public void setStyle(String style) {
728: this .style = style;
729: }
730:
731: // styleClass
732: private String styleClass = null;
733:
734: /**
735: * <p>CSS style class(es) to be applied when this component is rendered.</p>
736: */
737: public String getStyleClass() {
738: if (this .styleClass != null) {
739: return this .styleClass;
740: }
741: ValueBinding _vb = getValueBinding("styleClass");
742: if (_vb != null) {
743: return (String) _vb.getValue(getFacesContext());
744: }
745: return null;
746: }
747:
748: /**
749: * <p>CSS style class(es) to be applied when this component is rendered.</p>
750: * @see #getStyleClass()
751: */
752: public void setStyleClass(String styleClass) {
753: this .styleClass = styleClass;
754: }
755:
756: // toolTip
757: private String toolTip = null;
758:
759: /**
760: * <p>Display the text as a tooltip for this component</p>
761: */
762: public String getToolTip() {
763: if (this .toolTip != null) {
764: return this .toolTip;
765: }
766: ValueBinding _vb = getValueBinding("toolTip");
767: if (_vb != null) {
768: return (String) _vb.getValue(getFacesContext());
769: }
770: return null;
771: }
772:
773: /**
774: * <p>Display the text as a tooltip for this component</p>
775: * @see #getToolTip()
776: */
777: public void setToolTip(String toolTip) {
778: this .toolTip = toolTip;
779: }
780:
781: // valign
782: private String valign = null;
783:
784: /**
785: * <p>Vertical alignment (top, middle, bottom) for the content of each cell in the column</p>
786: */
787: public String getValign() {
788: if (this .valign != null) {
789: return this .valign;
790: }
791: ValueBinding _vb = getValueBinding("valign");
792: if (_vb != null) {
793: return (String) _vb.getValue(getFacesContext());
794: }
795: return null;
796: }
797:
798: /**
799: * <p>Vertical alignment (top, middle, bottom) for the content of each cell in the column</p>
800: * @see #getValign()
801: */
802: public void setValign(String valign) {
803: this .valign = valign;
804: }
805:
806: // visible
807: private boolean visible = false;
808: private boolean visible_set = false;
809:
810: /**
811: * <p>Use the visible attribute to indicate whether the component should be
812: * viewable by the user in the rendered HTML page. If set to false, the
813: * HTML code for the component is present in the page, but the component
814: * is hidden with style attributes. By default, visible is set to true, so
815: * HTML for the component HTML is included and visible to the user. If the
816: * component is not visible, it can still be processed on subsequent form
817: * submissions because the HTML is present.</p>
818: */
819: public boolean isVisible() {
820: if (this .visible_set) {
821: return this .visible;
822: }
823: ValueBinding _vb = getValueBinding("visible");
824: if (_vb != null) {
825: Object _result = _vb.getValue(getFacesContext());
826: if (_result == null) {
827: return false;
828: } else {
829: return ((Boolean) _result).booleanValue();
830: }
831: }
832: return true;
833: }
834:
835: /**
836: * <p>Use the visible attribute to indicate whether the component should be
837: * viewable by the user in the rendered HTML page. If set to false, the
838: * HTML code for the component is present in the page, but the component
839: * is hidden with style attributes. By default, visible is set to true, so
840: * HTML for the component HTML is included and visible to the user. If the
841: * component is not visible, it can still be processed on subsequent form
842: * submissions because the HTML is present.</p>
843: * @see #isVisible()
844: */
845: public void setVisible(boolean visible) {
846: this .visible = visible;
847: this .visible_set = true;
848: }
849:
850: // width
851: private String width = null;
852:
853: /**
854: * <p>Set the width of the column in either pixels or percent(deprecated in HTML 4.0)</p>
855: */
856: public String getWidth() {
857: if (this .width != null) {
858: return this .width;
859: }
860: ValueBinding _vb = getValueBinding("width");
861: if (_vb != null) {
862: return (String) _vb.getValue(getFacesContext());
863: }
864: return null;
865: }
866:
867: /**
868: * <p>Set the width of the column in either pixels or percent(deprecated in HTML 4.0)</p>
869: * @see #getWidth()
870: */
871: public void setWidth(String width) {
872: this .width = width;
873: }
874:
875: /**
876: * <p>Restore the state of this component.</p>
877: */
878: public void restoreState(FacesContext _context, Object _state) {
879: Object _values[] = (Object[]) _state;
880: super .restoreState(_context, _values[0]);
881: this .abbr = (String) _values[1];
882: this .actionsBottom = ((Boolean) _values[2]).booleanValue();
883: this .actionsBottom_set = ((Boolean) _values[3]).booleanValue();
884: this .align = (String) _values[4];
885: this .axis = (String) _values[5];
886: this .bgColor = (String) _values[6];
887: this ._char = (String) _values[7];
888: this .charOff = (String) _values[8];
889: this .colSpan = ((Integer) _values[9]).intValue();
890: this .colSpan_set = ((Boolean) _values[10]).booleanValue();
891: this .extraHtml = (String) _values[11];
892: this .headers = (String) _values[12];
893: this .height = (String) _values[13];
894: this .noWrap = ((Boolean) _values[14]).booleanValue();
895: this .noWrap_set = ((Boolean) _values[15]).booleanValue();
896: this .onClick = (String) _values[16];
897: this .onDblClick = (String) _values[17];
898: this .onKeyDown = (String) _values[18];
899: this .onKeyPress = (String) _values[19];
900: this .onKeyUp = (String) _values[20];
901: this .onMouseDown = (String) _values[21];
902: this .onMouseMove = (String) _values[22];
903: this .onMouseOut = (String) _values[23];
904: this .onMouseOver = (String) _values[24];
905: this .onMouseUp = (String) _values[25];
906: this .rowSpan = ((Integer) _values[26]).intValue();
907: this .rowSpan_set = ((Boolean) _values[27]).booleanValue();
908: this .scope = (String) _values[28];
909: this .style = (String) _values[29];
910: this .styleClass = (String) _values[30];
911: this .toolTip = (String) _values[31];
912: this .valign = (String) _values[32];
913: this .visible = ((Boolean) _values[33]).booleanValue();
914: this .visible_set = ((Boolean) _values[34]).booleanValue();
915: this .width = (String) _values[35];
916: }
917:
918: /**
919: * <p>Save the state of this component.</p>
920: */
921: public Object saveState(FacesContext _context) {
922: Object _values[] = new Object[36];
923: _values[0] = super .saveState(_context);
924: _values[1] = this .abbr;
925: _values[2] = this .actionsBottom ? Boolean.TRUE : Boolean.FALSE;
926: _values[3] = this .actionsBottom_set ? Boolean.TRUE
927: : Boolean.FALSE;
928: _values[4] = this .align;
929: _values[5] = this .axis;
930: _values[6] = this .bgColor;
931: _values[7] = this ._char;
932: _values[8] = this .charOff;
933: _values[9] = new Integer(this .colSpan);
934: _values[10] = this .colSpan_set ? Boolean.TRUE : Boolean.FALSE;
935: _values[11] = this .extraHtml;
936: _values[12] = this .headers;
937: _values[13] = this .height;
938: _values[14] = this .noWrap ? Boolean.TRUE : Boolean.FALSE;
939: _values[15] = this .noWrap_set ? Boolean.TRUE : Boolean.FALSE;
940: _values[16] = this .onClick;
941: _values[17] = this .onDblClick;
942: _values[18] = this .onKeyDown;
943: _values[19] = this .onKeyPress;
944: _values[20] = this .onKeyUp;
945: _values[21] = this .onMouseDown;
946: _values[22] = this .onMouseMove;
947: _values[23] = this .onMouseOut;
948: _values[24] = this .onMouseOver;
949: _values[25] = this .onMouseUp;
950: _values[26] = new Integer(this .rowSpan);
951: _values[27] = this .rowSpan_set ? Boolean.TRUE : Boolean.FALSE;
952: _values[28] = this .scope;
953: _values[29] = this .style;
954: _values[30] = this .styleClass;
955: _values[31] = this .toolTip;
956: _values[32] = this .valign;
957: _values[33] = this .visible ? Boolean.TRUE : Boolean.FALSE;
958: _values[34] = this .visible_set ? Boolean.TRUE : Boolean.FALSE;
959: _values[35] = this.width;
960: return _values;
961: }
962:
963: }
|