Source Code Cross Referenced for TableFooterBase.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » component » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.component 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0003:         *
0004:         * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
0005:         *
0006:         * The contents of this file are subject to the terms of either the GNU
0007:         * General Public License Version 2 only ("GPL") or the Common
0008:         * Development and Distribution License("CDDL") (collectively, the
0009:         * "License"). You may not use this file except in compliance with the
0010:         * License. You can obtain a copy of the License at
0011:         * http://www.netbeans.org/cddl-gplv2.html
0012:         * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
0013:         * specific language governing permissions and limitations under the
0014:         * License.  When distributing the software, include this License Header
0015:         * Notice in each file and include the License file at
0016:         * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
0017:         * particular file as subject to the "Classpath" exception as provided
0018:         * by Sun in the GPL Version 2 section of the License file that
0019:         * accompanied this code. If applicable, add the following below the
0020:         * License Header, with the fields enclosed by brackets [] replaced by
0021:         * your own identifying information:
0022:         * "Portions Copyrighted [year] [name of copyright owner]"
0023:         *
0024:         * Contributor(s):
0025:         *
0026:         * The Original Software is NetBeans. The Initial Developer of the Original
0027:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
0028:         * Microsystems, Inc. All Rights Reserved.
0029:         *
0030:         * If you wish your version of this file to be governed by only the CDDL
0031:         * or only the GPL Version 2, indicate your decision by adding
0032:         * "[Contributor] elects to include this software in this distribution
0033:         * under the [CDDL or GPL Version 2] license." If you do not indicate a
0034:         * single choice of license, a recipient has the option to distribute
0035:         * your version of this file under either the CDDL, the GPL Version 2 or
0036:         * to extend the choice of license to its licensees as provided above.
0037:         * However, if you add GPL Version 2 code and therefore, elected the GPL
0038:         * Version 2 license, then the option applies only if the new code is
0039:         * made subject to such option by the copyright holder.
0040:         */
0041:        package com.sun.rave.web.ui.component;
0042:
0043:        import java.io.IOException;
0044:        import javax.faces.component.UIComponent;
0045:        import javax.faces.context.FacesContext;
0046:        import javax.faces.el.MethodBinding;
0047:        import javax.faces.el.ValueBinding;
0048:
0049:        /**
0050:         * The TableFooter component provides a layout mechanism for displaying footers.
0051:         * <p>Auto-generated component class.
0052:         * Do <strong>NOT</strong> modify; all changes
0053:         * <strong>will</strong> be lost!</p>
0054:         */
0055:
0056:        public abstract class TableFooterBase extends
0057:                javax.faces.component.UIComponentBase {
0058:
0059:            /**
0060:             * <p>Construct a new <code>TableFooterBase</code>.</p>
0061:             */
0062:            public TableFooterBase() {
0063:                super ();
0064:                setRendererType("com.sun.rave.web.ui.TableFooter");
0065:            }
0066:
0067:            /**
0068:             * <p>Return the identifier of the component family to which this
0069:             * component belongs.  This identifier, in conjunction with the value
0070:             * of the <code>rendererType</code> property, may be used to select
0071:             * the appropriate {@link Renderer} for this component instance.</p>
0072:             */
0073:            public String getFamily() {
0074:                return "com.sun.rave.web.ui.TableFooter";
0075:            }
0076:
0077:            // abbr
0078:            private String abbr = null;
0079:
0080:            /**
0081:             * <p>An abbreviated version of the cell's content</p>
0082:             */
0083:            public String getAbbr() {
0084:                if (this .abbr != null) {
0085:                    return this .abbr;
0086:                }
0087:                ValueBinding _vb = getValueBinding("abbr");
0088:                if (_vb != null) {
0089:                    return (String) _vb.getValue(getFacesContext());
0090:                }
0091:                return null;
0092:            }
0093:
0094:            /**
0095:             * <p>An abbreviated version of the cell's content</p>
0096:             * @see #getAbbr()
0097:             */
0098:            public void setAbbr(String abbr) {
0099:                this .abbr = abbr;
0100:            }
0101:
0102:            // align
0103:            private String align = null;
0104:
0105:            /**
0106:             * <p>Sets the horizontal alignment (left, right, justify, center) for the cell contents</p>
0107:             */
0108:            public String getAlign() {
0109:                if (this .align != null) {
0110:                    return this .align;
0111:                }
0112:                ValueBinding _vb = getValueBinding("align");
0113:                if (_vb != null) {
0114:                    return (String) _vb.getValue(getFacesContext());
0115:                }
0116:                return null;
0117:            }
0118:
0119:            /**
0120:             * <p>Sets the horizontal alignment (left, right, justify, center) for the cell contents</p>
0121:             * @see #getAlign()
0122:             */
0123:            public void setAlign(String align) {
0124:                this .align = align;
0125:            }
0126:
0127:            // axis
0128:            private String axis = null;
0129:
0130:            /**
0131:             * <p>Provides a method for categorizing cells</p>
0132:             */
0133:            public String getAxis() {
0134:                if (this .axis != null) {
0135:                    return this .axis;
0136:                }
0137:                ValueBinding _vb = getValueBinding("axis");
0138:                if (_vb != null) {
0139:                    return (String) _vb.getValue(getFacesContext());
0140:                }
0141:                return null;
0142:            }
0143:
0144:            /**
0145:             * <p>Provides a method for categorizing cells</p>
0146:             * @see #getAxis()
0147:             */
0148:            public void setAxis(String axis) {
0149:                this .axis = axis;
0150:            }
0151:
0152:            // bgColor
0153:            private String bgColor = null;
0154:
0155:            public String getBgColor() {
0156:                if (this .bgColor != null) {
0157:                    return this .bgColor;
0158:                }
0159:                ValueBinding _vb = getValueBinding("bgColor");
0160:                if (_vb != null) {
0161:                    return (String) _vb.getValue(getFacesContext());
0162:                }
0163:                return null;
0164:            }
0165:
0166:            public void setBgColor(String bgColor) {
0167:                this .bgColor = bgColor;
0168:            }
0169:
0170:            // char
0171:            private String _char = null;
0172:
0173:            public String getChar() {
0174:                if (this ._char != null) {
0175:                    return this ._char;
0176:                }
0177:                ValueBinding _vb = getValueBinding("char");
0178:                if (_vb != null) {
0179:                    return (String) _vb.getValue(getFacesContext());
0180:                }
0181:                return null;
0182:            }
0183:
0184:            public void setChar(String _char) {
0185:                this ._char = _char;
0186:            }
0187:
0188:            // charOff
0189:            private String charOff = null;
0190:
0191:            public String getCharOff() {
0192:                if (this .charOff != null) {
0193:                    return this .charOff;
0194:                }
0195:                ValueBinding _vb = getValueBinding("charOff");
0196:                if (_vb != null) {
0197:                    return (String) _vb.getValue(getFacesContext());
0198:                }
0199:                return null;
0200:            }
0201:
0202:            public void setCharOff(String charOff) {
0203:                this .charOff = charOff;
0204:            }
0205:
0206:            // colSpan
0207:            private int colSpan = Integer.MIN_VALUE;
0208:            private boolean colSpan_set = false;
0209:
0210:            /**
0211:             * <p>The number of columns spanned by a cell</p>
0212:             */
0213:            public int getColSpan() {
0214:                if (this .colSpan_set) {
0215:                    return this .colSpan;
0216:                }
0217:                ValueBinding _vb = getValueBinding("colSpan");
0218:                if (_vb != null) {
0219:                    Object _result = _vb.getValue(getFacesContext());
0220:                    if (_result == null) {
0221:                        return Integer.MIN_VALUE;
0222:                    } else {
0223:                        return ((Integer) _result).intValue();
0224:                    }
0225:                }
0226:                return Integer.MIN_VALUE;
0227:            }
0228:
0229:            /**
0230:             * <p>The number of columns spanned by a cell</p>
0231:             * @see #getColSpan()
0232:             */
0233:            public void setColSpan(int colSpan) {
0234:                this .colSpan = colSpan;
0235:                this .colSpan_set = true;
0236:            }
0237:
0238:            // extraHtml
0239:            private String extraHtml = null;
0240:
0241:            /**
0242:             * <p>Extra HTML to be appended to the tag output by this renderer.</p>
0243:             */
0244:            public String getExtraHtml() {
0245:                if (this .extraHtml != null) {
0246:                    return this .extraHtml;
0247:                }
0248:                ValueBinding _vb = getValueBinding("extraHtml");
0249:                if (_vb != null) {
0250:                    return (String) _vb.getValue(getFacesContext());
0251:                }
0252:                return null;
0253:            }
0254:
0255:            /**
0256:             * <p>Extra HTML to be appended to the tag output by this renderer.</p>
0257:             * @see #getExtraHtml()
0258:             */
0259:            public void setExtraHtml(String extraHtml) {
0260:                this .extraHtml = extraHtml;
0261:            }
0262:
0263:            // groupFooter
0264:            private boolean groupFooter = false;
0265:            private boolean groupFooter_set = false;
0266:
0267:            /**
0268:             * <p>Flag indicating this component should render a group footer. The default renders
0269:             * a column footer. This should not be used if tableColumnFooter or tableFooter are
0270:             * used.</p>
0271:             */
0272:            public boolean isGroupFooter() {
0273:                if (this .groupFooter_set) {
0274:                    return this .groupFooter;
0275:                }
0276:                ValueBinding _vb = getValueBinding("groupFooter");
0277:                if (_vb != null) {
0278:                    Object _result = _vb.getValue(getFacesContext());
0279:                    if (_result == null) {
0280:                        return false;
0281:                    } else {
0282:                        return ((Boolean) _result).booleanValue();
0283:                    }
0284:                }
0285:                return false;
0286:            }
0287:
0288:            /**
0289:             * <p>Flag indicating this component should render a group footer. The default renders
0290:             * a column footer. This should not be used if tableColumnFooter or tableFooter are
0291:             * used.</p>
0292:             * @see #isGroupFooter()
0293:             */
0294:            public void setGroupFooter(boolean groupFooter) {
0295:                this .groupFooter = groupFooter;
0296:                this .groupFooter_set = true;
0297:            }
0298:
0299:            // headers
0300:            private String headers = null;
0301:
0302:            /**
0303:             * <p>Space separated list of header cell ID values</p>
0304:             */
0305:            public String getHeaders() {
0306:                if (this .headers != null) {
0307:                    return this .headers;
0308:                }
0309:                ValueBinding _vb = getValueBinding("headers");
0310:                if (_vb != null) {
0311:                    return (String) _vb.getValue(getFacesContext());
0312:                }
0313:                return null;
0314:            }
0315:
0316:            /**
0317:             * <p>Space separated list of header cell ID values</p>
0318:             * @see #getHeaders()
0319:             */
0320:            public void setHeaders(String headers) {
0321:                this .headers = headers;
0322:            }
0323:
0324:            // height
0325:            private String height = null;
0326:
0327:            /**
0328:             * <p>Set the cell height in pixels (deprecated in HTML 4.0)</p>
0329:             */
0330:            public String getHeight() {
0331:                if (this .height != null) {
0332:                    return this .height;
0333:                }
0334:                ValueBinding _vb = getValueBinding("height");
0335:                if (_vb != null) {
0336:                    return (String) _vb.getValue(getFacesContext());
0337:                }
0338:                return null;
0339:            }
0340:
0341:            /**
0342:             * <p>Set the cell height in pixels (deprecated in HTML 4.0)</p>
0343:             * @see #getHeight()
0344:             */
0345:            public void setHeight(String height) {
0346:                this .height = height;
0347:            }
0348:
0349:            // noWrap
0350:            private boolean noWrap = false;
0351:            private boolean noWrap_set = false;
0352:
0353:            /**
0354:             * <p>Disable word wrapping (deprecated in HTML 4.0)</p>
0355:             */
0356:            public boolean isNoWrap() {
0357:                if (this .noWrap_set) {
0358:                    return this .noWrap;
0359:                }
0360:                ValueBinding _vb = getValueBinding("noWrap");
0361:                if (_vb != null) {
0362:                    Object _result = _vb.getValue(getFacesContext());
0363:                    if (_result == null) {
0364:                        return false;
0365:                    } else {
0366:                        return ((Boolean) _result).booleanValue();
0367:                    }
0368:                }
0369:                return false;
0370:            }
0371:
0372:            /**
0373:             * <p>Disable word wrapping (deprecated in HTML 4.0)</p>
0374:             * @see #isNoWrap()
0375:             */
0376:            public void setNoWrap(boolean noWrap) {
0377:                this .noWrap = noWrap;
0378:                this .noWrap_set = true;
0379:            }
0380:
0381:            // onClick
0382:            private String onClick = null;
0383:
0384:            /**
0385:             * <p>Scripting code executed when a mouse click
0386:             *     occurs over this component.</p>
0387:             */
0388:            public String getOnClick() {
0389:                if (this .onClick != null) {
0390:                    return this .onClick;
0391:                }
0392:                ValueBinding _vb = getValueBinding("onClick");
0393:                if (_vb != null) {
0394:                    return (String) _vb.getValue(getFacesContext());
0395:                }
0396:                return null;
0397:            }
0398:
0399:            /**
0400:             * <p>Scripting code executed when a mouse click
0401:             *     occurs over this component.</p>
0402:             * @see #getOnClick()
0403:             */
0404:            public void setOnClick(String onClick) {
0405:                this .onClick = onClick;
0406:            }
0407:
0408:            // onDblClick
0409:            private String onDblClick = null;
0410:
0411:            /**
0412:             * <p>Scripting code executed when a mouse double click
0413:             *     occurs over this component.</p>
0414:             */
0415:            public String getOnDblClick() {
0416:                if (this .onDblClick != null) {
0417:                    return this .onDblClick;
0418:                }
0419:                ValueBinding _vb = getValueBinding("onDblClick");
0420:                if (_vb != null) {
0421:                    return (String) _vb.getValue(getFacesContext());
0422:                }
0423:                return null;
0424:            }
0425:
0426:            /**
0427:             * <p>Scripting code executed when a mouse double click
0428:             *     occurs over this component.</p>
0429:             * @see #getOnDblClick()
0430:             */
0431:            public void setOnDblClick(String onDblClick) {
0432:                this .onDblClick = onDblClick;
0433:            }
0434:
0435:            // onKeyDown
0436:            private String onKeyDown = null;
0437:
0438:            /**
0439:             * <p>Scripting code executed when the user presses down on a key while the
0440:             *     component has focus.</p>
0441:             */
0442:            public String getOnKeyDown() {
0443:                if (this .onKeyDown != null) {
0444:                    return this .onKeyDown;
0445:                }
0446:                ValueBinding _vb = getValueBinding("onKeyDown");
0447:                if (_vb != null) {
0448:                    return (String) _vb.getValue(getFacesContext());
0449:                }
0450:                return null;
0451:            }
0452:
0453:            /**
0454:             * <p>Scripting code executed when the user presses down on a key while the
0455:             *     component has focus.</p>
0456:             * @see #getOnKeyDown()
0457:             */
0458:            public void setOnKeyDown(String onKeyDown) {
0459:                this .onKeyDown = onKeyDown;
0460:            }
0461:
0462:            // onKeyPress
0463:            private String onKeyPress = null;
0464:
0465:            /**
0466:             * <p>Scripting code executed when the user presses and releases a key while
0467:             *     the component has focus.</p>
0468:             */
0469:            public String getOnKeyPress() {
0470:                if (this .onKeyPress != null) {
0471:                    return this .onKeyPress;
0472:                }
0473:                ValueBinding _vb = getValueBinding("onKeyPress");
0474:                if (_vb != null) {
0475:                    return (String) _vb.getValue(getFacesContext());
0476:                }
0477:                return null;
0478:            }
0479:
0480:            /**
0481:             * <p>Scripting code executed when the user presses and releases a key while
0482:             *     the component has focus.</p>
0483:             * @see #getOnKeyPress()
0484:             */
0485:            public void setOnKeyPress(String onKeyPress) {
0486:                this .onKeyPress = onKeyPress;
0487:            }
0488:
0489:            // onKeyUp
0490:            private String onKeyUp = null;
0491:
0492:            /**
0493:             * <p>Scripting code executed when the user releases a key while the
0494:             *     component has focus.</p>
0495:             */
0496:            public String getOnKeyUp() {
0497:                if (this .onKeyUp != null) {
0498:                    return this .onKeyUp;
0499:                }
0500:                ValueBinding _vb = getValueBinding("onKeyUp");
0501:                if (_vb != null) {
0502:                    return (String) _vb.getValue(getFacesContext());
0503:                }
0504:                return null;
0505:            }
0506:
0507:            /**
0508:             * <p>Scripting code executed when the user releases a key while the
0509:             *     component has focus.</p>
0510:             * @see #getOnKeyUp()
0511:             */
0512:            public void setOnKeyUp(String onKeyUp) {
0513:                this .onKeyUp = onKeyUp;
0514:            }
0515:
0516:            // onMouseDown
0517:            private String onMouseDown = null;
0518:
0519:            /**
0520:             * <p>Scripting code executed when the user presses a mouse button while the
0521:             *     mouse pointer is on the component.</p>
0522:             */
0523:            public String getOnMouseDown() {
0524:                if (this .onMouseDown != null) {
0525:                    return this .onMouseDown;
0526:                }
0527:                ValueBinding _vb = getValueBinding("onMouseDown");
0528:                if (_vb != null) {
0529:                    return (String) _vb.getValue(getFacesContext());
0530:                }
0531:                return null;
0532:            }
0533:
0534:            /**
0535:             * <p>Scripting code executed when the user presses a mouse button while the
0536:             *     mouse pointer is on the component.</p>
0537:             * @see #getOnMouseDown()
0538:             */
0539:            public void setOnMouseDown(String onMouseDown) {
0540:                this .onMouseDown = onMouseDown;
0541:            }
0542:
0543:            // onMouseMove
0544:            private String onMouseMove = null;
0545:
0546:            /**
0547:             * <p>Scripting code executed when the user moves the mouse pointer while
0548:             *     over the component.</p>
0549:             */
0550:            public String getOnMouseMove() {
0551:                if (this .onMouseMove != null) {
0552:                    return this .onMouseMove;
0553:                }
0554:                ValueBinding _vb = getValueBinding("onMouseMove");
0555:                if (_vb != null) {
0556:                    return (String) _vb.getValue(getFacesContext());
0557:                }
0558:                return null;
0559:            }
0560:
0561:            /**
0562:             * <p>Scripting code executed when the user moves the mouse pointer while
0563:             *     over the component.</p>
0564:             * @see #getOnMouseMove()
0565:             */
0566:            public void setOnMouseMove(String onMouseMove) {
0567:                this .onMouseMove = onMouseMove;
0568:            }
0569:
0570:            // onMouseOut
0571:            private String onMouseOut = null;
0572:
0573:            /**
0574:             * <p>Scripting code executed when a mouse out movement
0575:             *     occurs over this component.</p>
0576:             */
0577:            public String getOnMouseOut() {
0578:                if (this .onMouseOut != null) {
0579:                    return this .onMouseOut;
0580:                }
0581:                ValueBinding _vb = getValueBinding("onMouseOut");
0582:                if (_vb != null) {
0583:                    return (String) _vb.getValue(getFacesContext());
0584:                }
0585:                return null;
0586:            }
0587:
0588:            /**
0589:             * <p>Scripting code executed when a mouse out movement
0590:             *     occurs over this component.</p>
0591:             * @see #getOnMouseOut()
0592:             */
0593:            public void setOnMouseOut(String onMouseOut) {
0594:                this .onMouseOut = onMouseOut;
0595:            }
0596:
0597:            // onMouseOver
0598:            private String onMouseOver = null;
0599:
0600:            /**
0601:             * <p>Scripting code executed when the user moves the  mouse pointer into
0602:             *     the boundary of this component.</p>
0603:             */
0604:            public String getOnMouseOver() {
0605:                if (this .onMouseOver != null) {
0606:                    return this .onMouseOver;
0607:                }
0608:                ValueBinding _vb = getValueBinding("onMouseOver");
0609:                if (_vb != null) {
0610:                    return (String) _vb.getValue(getFacesContext());
0611:                }
0612:                return null;
0613:            }
0614:
0615:            /**
0616:             * <p>Scripting code executed when the user moves the  mouse pointer into
0617:             *     the boundary of this component.</p>
0618:             * @see #getOnMouseOver()
0619:             */
0620:            public void setOnMouseOver(String onMouseOver) {
0621:                this .onMouseOver = onMouseOver;
0622:            }
0623:
0624:            // onMouseUp
0625:            private String onMouseUp = null;
0626:
0627:            /**
0628:             * <p>Scripting code executed when the user releases a mouse button while
0629:             *     the mouse pointer is on the component.</p>
0630:             */
0631:            public String getOnMouseUp() {
0632:                if (this .onMouseUp != null) {
0633:                    return this .onMouseUp;
0634:                }
0635:                ValueBinding _vb = getValueBinding("onMouseUp");
0636:                if (_vb != null) {
0637:                    return (String) _vb.getValue(getFacesContext());
0638:                }
0639:                return null;
0640:            }
0641:
0642:            /**
0643:             * <p>Scripting code executed when the user releases a mouse button while
0644:             *     the mouse pointer is on the component.</p>
0645:             * @see #getOnMouseUp()
0646:             */
0647:            public void setOnMouseUp(String onMouseUp) {
0648:                this .onMouseUp = onMouseUp;
0649:            }
0650:
0651:            // rowSpan
0652:            private int rowSpan = Integer.MIN_VALUE;
0653:            private boolean rowSpan_set = false;
0654:
0655:            /**
0656:             * <p>The number of rows spanned by a cell</p>
0657:             */
0658:            public int getRowSpan() {
0659:                if (this .rowSpan_set) {
0660:                    return this .rowSpan;
0661:                }
0662:                ValueBinding _vb = getValueBinding("rowSpan");
0663:                if (_vb != null) {
0664:                    Object _result = _vb.getValue(getFacesContext());
0665:                    if (_result == null) {
0666:                        return Integer.MIN_VALUE;
0667:                    } else {
0668:                        return ((Integer) _result).intValue();
0669:                    }
0670:                }
0671:                return Integer.MIN_VALUE;
0672:            }
0673:
0674:            /**
0675:             * <p>The number of rows spanned by a cell</p>
0676:             * @see #getRowSpan()
0677:             */
0678:            public void setRowSpan(int rowSpan) {
0679:                this .rowSpan = rowSpan;
0680:                this .rowSpan_set = true;
0681:            }
0682:
0683:            // scope
0684:            private String scope = null;
0685:
0686:            /**
0687:             * <p>Indicates that information in a cell is also acting as a header</p>
0688:             */
0689:            public String getScope() {
0690:                if (this .scope != null) {
0691:                    return this .scope;
0692:                }
0693:                ValueBinding _vb = getValueBinding("scope");
0694:                if (_vb != null) {
0695:                    return (String) _vb.getValue(getFacesContext());
0696:                }
0697:                return null;
0698:            }
0699:
0700:            /**
0701:             * <p>Indicates that information in a cell is also acting as a header</p>
0702:             * @see #getScope()
0703:             */
0704:            public void setScope(String scope) {
0705:                this .scope = scope;
0706:            }
0707:
0708:            // style
0709:            private String style = null;
0710:
0711:            /**
0712:             * <p>CSS style(s) to be applied when this component is rendered.</p>
0713:             */
0714:            public String getStyle() {
0715:                if (this .style != null) {
0716:                    return this .style;
0717:                }
0718:                ValueBinding _vb = getValueBinding("style");
0719:                if (_vb != null) {
0720:                    return (String) _vb.getValue(getFacesContext());
0721:                }
0722:                return null;
0723:            }
0724:
0725:            /**
0726:             * <p>CSS style(s) to be applied when this component is rendered.</p>
0727:             * @see #getStyle()
0728:             */
0729:            public void setStyle(String style) {
0730:                this .style = style;
0731:            }
0732:
0733:            // styleClass
0734:            private String styleClass = null;
0735:
0736:            /**
0737:             * <p>CSS style class(es) to be applied when this component is rendered.</p>
0738:             */
0739:            public String getStyleClass() {
0740:                if (this .styleClass != null) {
0741:                    return this .styleClass;
0742:                }
0743:                ValueBinding _vb = getValueBinding("styleClass");
0744:                if (_vb != null) {
0745:                    return (String) _vb.getValue(getFacesContext());
0746:                }
0747:                return null;
0748:            }
0749:
0750:            /**
0751:             * <p>CSS style class(es) to be applied when this component is rendered.</p>
0752:             * @see #getStyleClass()
0753:             */
0754:            public void setStyleClass(String styleClass) {
0755:                this .styleClass = styleClass;
0756:            }
0757:
0758:            // tableColumnFooter
0759:            private boolean tableColumnFooter = false;
0760:            private boolean tableColumnFooter_set = false;
0761:
0762:            /**
0763:             * <p>Flag indicating this component should render a table column footer. The default
0764:             * renders a column footer. This should not be used if groupFooter or tableFooter
0765:             * are used.</p>
0766:             */
0767:            public boolean isTableColumnFooter() {
0768:                if (this .tableColumnFooter_set) {
0769:                    return this .tableColumnFooter;
0770:                }
0771:                ValueBinding _vb = getValueBinding("tableColumnFooter");
0772:                if (_vb != null) {
0773:                    Object _result = _vb.getValue(getFacesContext());
0774:                    if (_result == null) {
0775:                        return false;
0776:                    } else {
0777:                        return ((Boolean) _result).booleanValue();
0778:                    }
0779:                }
0780:                return false;
0781:            }
0782:
0783:            /**
0784:             * <p>Flag indicating this component should render a table column footer. The default
0785:             * renders a column footer. This should not be used if groupFooter or tableFooter
0786:             * are used.</p>
0787:             * @see #isTableColumnFooter()
0788:             */
0789:            public void setTableColumnFooter(boolean tableColumnFooter) {
0790:                this .tableColumnFooter = tableColumnFooter;
0791:                this .tableColumnFooter_set = true;
0792:            }
0793:
0794:            // tableFooter
0795:            private boolean tableFooter = false;
0796:            private boolean tableFooter_set = false;
0797:
0798:            /**
0799:             * <p>Flag indicating this component should render a table footer. The default renders
0800:             * a column footer. This should not be used if groupFooter or tableColumnFooter are
0801:             * used.</p>
0802:             */
0803:            public boolean isTableFooter() {
0804:                if (this .tableFooter_set) {
0805:                    return this .tableFooter;
0806:                }
0807:                ValueBinding _vb = getValueBinding("tableFooter");
0808:                if (_vb != null) {
0809:                    Object _result = _vb.getValue(getFacesContext());
0810:                    if (_result == null) {
0811:                        return false;
0812:                    } else {
0813:                        return ((Boolean) _result).booleanValue();
0814:                    }
0815:                }
0816:                return false;
0817:            }
0818:
0819:            /**
0820:             * <p>Flag indicating this component should render a table footer. The default renders
0821:             * a column footer. This should not be used if groupFooter or tableColumnFooter are
0822:             * used.</p>
0823:             * @see #isTableFooter()
0824:             */
0825:            public void setTableFooter(boolean tableFooter) {
0826:                this .tableFooter = tableFooter;
0827:                this .tableFooter_set = true;
0828:            }
0829:
0830:            // toolTip
0831:            private String toolTip = null;
0832:
0833:            /**
0834:             * <p>Display the text as a tooltip for this component</p>
0835:             */
0836:            public String getToolTip() {
0837:                if (this .toolTip != null) {
0838:                    return this .toolTip;
0839:                }
0840:                ValueBinding _vb = getValueBinding("toolTip");
0841:                if (_vb != null) {
0842:                    return (String) _vb.getValue(getFacesContext());
0843:                }
0844:                return null;
0845:            }
0846:
0847:            /**
0848:             * <p>Display the text as a tooltip for this component</p>
0849:             * @see #getToolTip()
0850:             */
0851:            public void setToolTip(String toolTip) {
0852:                this .toolTip = toolTip;
0853:            }
0854:
0855:            // valign
0856:            private String valign = null;
0857:
0858:            /**
0859:             * <p>Vertical alignment (top, middle, bottom) for the content of each cell in the column</p>
0860:             */
0861:            public String getValign() {
0862:                if (this .valign != null) {
0863:                    return this .valign;
0864:                }
0865:                ValueBinding _vb = getValueBinding("valign");
0866:                if (_vb != null) {
0867:                    return (String) _vb.getValue(getFacesContext());
0868:                }
0869:                return null;
0870:            }
0871:
0872:            /**
0873:             * <p>Vertical alignment (top, middle, bottom) for the content of each cell in the column</p>
0874:             * @see #getValign()
0875:             */
0876:            public void setValign(String valign) {
0877:                this .valign = valign;
0878:            }
0879:
0880:            // visible
0881:            private boolean visible = false;
0882:            private boolean visible_set = false;
0883:
0884:            /**
0885:             * <p>Use the visible attribute to indicate whether the component should be
0886:             *     viewable by the user in the rendered HTML page. If set to false, the
0887:             *     HTML code for the component is present in the page, but the component
0888:             *     is hidden with style attributes. By default, visible is set to true, so
0889:             *     HTML for the component HTML is included and visible to the user. If the
0890:             *     component is not visible, it can still be processed on subsequent form
0891:             *     submissions because the HTML is present.</p>
0892:             */
0893:            public boolean isVisible() {
0894:                if (this .visible_set) {
0895:                    return this .visible;
0896:                }
0897:                ValueBinding _vb = getValueBinding("visible");
0898:                if (_vb != null) {
0899:                    Object _result = _vb.getValue(getFacesContext());
0900:                    if (_result == null) {
0901:                        return false;
0902:                    } else {
0903:                        return ((Boolean) _result).booleanValue();
0904:                    }
0905:                }
0906:                return true;
0907:            }
0908:
0909:            /**
0910:             * <p>Use the visible attribute to indicate whether the component should be
0911:             *     viewable by the user in the rendered HTML page. If set to false, the
0912:             *     HTML code for the component is present in the page, but the component
0913:             *     is hidden with style attributes. By default, visible is set to true, so
0914:             *     HTML for the component HTML is included and visible to the user. If the
0915:             *     component is not visible, it can still be processed on subsequent form
0916:             *     submissions because the HTML is present.</p>
0917:             * @see #isVisible()
0918:             */
0919:            public void setVisible(boolean visible) {
0920:                this .visible = visible;
0921:                this .visible_set = true;
0922:            }
0923:
0924:            // width
0925:            private String width = null;
0926:
0927:            /**
0928:             * <p>Set the width of the column in either pixels or percent(deprecated in HTML 4.0)</p>
0929:             */
0930:            public String getWidth() {
0931:                if (this .width != null) {
0932:                    return this .width;
0933:                }
0934:                ValueBinding _vb = getValueBinding("width");
0935:                if (_vb != null) {
0936:                    return (String) _vb.getValue(getFacesContext());
0937:                }
0938:                return null;
0939:            }
0940:
0941:            /**
0942:             * <p>Set the width of the column in either pixels or percent(deprecated in HTML 4.0)</p>
0943:             * @see #getWidth()
0944:             */
0945:            public void setWidth(String width) {
0946:                this .width = width;
0947:            }
0948:
0949:            /**
0950:             * <p>Restore the state of this component.</p>
0951:             */
0952:            public void restoreState(FacesContext _context, Object _state) {
0953:                Object _values[] = (Object[]) _state;
0954:                super .restoreState(_context, _values[0]);
0955:                this .abbr = (String) _values[1];
0956:                this .align = (String) _values[2];
0957:                this .axis = (String) _values[3];
0958:                this .bgColor = (String) _values[4];
0959:                this ._char = (String) _values[5];
0960:                this .charOff = (String) _values[6];
0961:                this .colSpan = ((Integer) _values[7]).intValue();
0962:                this .colSpan_set = ((Boolean) _values[8]).booleanValue();
0963:                this .extraHtml = (String) _values[9];
0964:                this .groupFooter = ((Boolean) _values[10]).booleanValue();
0965:                this .groupFooter_set = ((Boolean) _values[11]).booleanValue();
0966:                this .headers = (String) _values[12];
0967:                this .height = (String) _values[13];
0968:                this .noWrap = ((Boolean) _values[14]).booleanValue();
0969:                this .noWrap_set = ((Boolean) _values[15]).booleanValue();
0970:                this .onClick = (String) _values[16];
0971:                this .onDblClick = (String) _values[17];
0972:                this .onKeyDown = (String) _values[18];
0973:                this .onKeyPress = (String) _values[19];
0974:                this .onKeyUp = (String) _values[20];
0975:                this .onMouseDown = (String) _values[21];
0976:                this .onMouseMove = (String) _values[22];
0977:                this .onMouseOut = (String) _values[23];
0978:                this .onMouseOver = (String) _values[24];
0979:                this .onMouseUp = (String) _values[25];
0980:                this .rowSpan = ((Integer) _values[26]).intValue();
0981:                this .rowSpan_set = ((Boolean) _values[27]).booleanValue();
0982:                this .scope = (String) _values[28];
0983:                this .style = (String) _values[29];
0984:                this .styleClass = (String) _values[30];
0985:                this .tableColumnFooter = ((Boolean) _values[31]).booleanValue();
0986:                this .tableColumnFooter_set = ((Boolean) _values[32])
0987:                        .booleanValue();
0988:                this .tableFooter = ((Boolean) _values[33]).booleanValue();
0989:                this .tableFooter_set = ((Boolean) _values[34]).booleanValue();
0990:                this .toolTip = (String) _values[35];
0991:                this .valign = (String) _values[36];
0992:                this .visible = ((Boolean) _values[37]).booleanValue();
0993:                this .visible_set = ((Boolean) _values[38]).booleanValue();
0994:                this .width = (String) _values[39];
0995:            }
0996:
0997:            /**
0998:             * <p>Save the state of this component.</p>
0999:             */
1000:            public Object saveState(FacesContext _context) {
1001:                Object _values[] = new Object[40];
1002:                _values[0] = super .saveState(_context);
1003:                _values[1] = this .abbr;
1004:                _values[2] = this .align;
1005:                _values[3] = this .axis;
1006:                _values[4] = this .bgColor;
1007:                _values[5] = this ._char;
1008:                _values[6] = this .charOff;
1009:                _values[7] = new Integer(this .colSpan);
1010:                _values[8] = this .colSpan_set ? Boolean.TRUE : Boolean.FALSE;
1011:                _values[9] = this .extraHtml;
1012:                _values[10] = this .groupFooter ? Boolean.TRUE : Boolean.FALSE;
1013:                _values[11] = this .groupFooter_set ? Boolean.TRUE
1014:                        : Boolean.FALSE;
1015:                _values[12] = this .headers;
1016:                _values[13] = this .height;
1017:                _values[14] = this .noWrap ? Boolean.TRUE : Boolean.FALSE;
1018:                _values[15] = this .noWrap_set ? Boolean.TRUE : Boolean.FALSE;
1019:                _values[16] = this .onClick;
1020:                _values[17] = this .onDblClick;
1021:                _values[18] = this .onKeyDown;
1022:                _values[19] = this .onKeyPress;
1023:                _values[20] = this .onKeyUp;
1024:                _values[21] = this .onMouseDown;
1025:                _values[22] = this .onMouseMove;
1026:                _values[23] = this .onMouseOut;
1027:                _values[24] = this .onMouseOver;
1028:                _values[25] = this .onMouseUp;
1029:                _values[26] = new Integer(this .rowSpan);
1030:                _values[27] = this .rowSpan_set ? Boolean.TRUE : Boolean.FALSE;
1031:                _values[28] = this .scope;
1032:                _values[29] = this .style;
1033:                _values[30] = this .styleClass;
1034:                _values[31] = this .tableColumnFooter ? Boolean.TRUE
1035:                        : Boolean.FALSE;
1036:                _values[32] = this .tableColumnFooter_set ? Boolean.TRUE
1037:                        : Boolean.FALSE;
1038:                _values[33] = this .tableFooter ? Boolean.TRUE : Boolean.FALSE;
1039:                _values[34] = this .tableFooter_set ? Boolean.TRUE
1040:                        : Boolean.FALSE;
1041:                _values[35] = this .toolTip;
1042:                _values[36] = this .valign;
1043:                _values[37] = this .visible ? Boolean.TRUE : Boolean.FALSE;
1044:                _values[38] = this .visible_set ? Boolean.TRUE : Boolean.FALSE;
1045:                _values[39] = this.width;
1046:                return _values;
1047:            }
1048:
1049:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.