Source Code Cross Referenced for HtmlDataTable.java in  » J2EE » myfaces-core-1.2.0 » javax » faces » component » html » 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 » J2EE » myfaces core 1.2.0 » javax.faces.component.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        // WARNING: This file was automatically generated. Do not edit it directly,
0002:        //          or you will lose your changes.
0003:
0004:        /*
0005:         * Licensed to the Apache Software Foundation (ASF) under one
0006:         * or more contributor license agreements.  See the NOTICE file
0007:         * distributed with this work for additional information
0008:         * regarding copyright ownership.  The ASF licenses this file
0009:         * to you under the Apache License, Version 2.0 (the
0010:         * "License"); you may not use this file except in compliance
0011:         * with the License.  You may obtain a copy of the License at
0012:         *
0013:         *   http://www.apache.org/licenses/LICENSE-2.0
0014:         *
0015:         * Unless required by applicable law or agreed to in writing,
0016:         * software distributed under the License is distributed on an
0017:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
0018:         * KIND, either express or implied.  See the License for the
0019:         * specific language governing permissions and limitations
0020:         * under the License.
0021:         */
0022:        package javax.faces.component.html;
0023:
0024:        import javax.el.ValueExpression;
0025:        import javax.faces.component.UIData;
0026:        import javax.faces.context.FacesContext;
0027:
0028:        /**
0029:         */
0030:        public class HtmlDataTable extends UIData {
0031:
0032:            static public final String COMPONENT_FAMILY = "javax.faces.Data";
0033:            static public final String COMPONENT_TYPE = "javax.faces.HtmlDataTable";
0034:
0035:            /**
0036:             * Construct an instance of the HtmlDataTable.
0037:             */
0038:            public HtmlDataTable() {
0039:                setRendererType("javax.faces.Table");
0040:            }
0041:
0042:            // Property: columnClasses
0043:            private String _columnClasses;
0044:
0045:            /**
0046:             * Gets A comma separated list of CSS class names to apply to td elements in
0047:             *                 each column. More than one class can be applied to a column by separing the classes
0048:             *                 with a space. I there are less classes than the number of columns, apply the same
0049:             *                 sequence of classes to the remaining columns. If there are more classes specified
0050:             *                 than the number of columns, ignore the last classes
0051:             *
0052:             * @return  the new columnClasses value
0053:             */
0054:            public String getColumnClasses() {
0055:                if (_columnClasses != null) {
0056:                    return _columnClasses;
0057:                }
0058:                ValueExpression expression = getValueExpression("columnClasses");
0059:                if (expression != null) {
0060:                    return (String) expression.getValue(getFacesContext()
0061:                            .getELContext());
0062:                }
0063:                return null;
0064:            }
0065:
0066:            /**
0067:             * Sets A comma separated list of CSS class names to apply to td elements in
0068:             *                 each column. More than one class can be applied to a column by separing the classes
0069:             *                 with a space. I there are less classes than the number of columns, apply the same
0070:             *                 sequence of classes to the remaining columns. If there are more classes specified
0071:             *                 than the number of columns, ignore the last classes
0072:             * 
0073:             * @param columnClasses  the new columnClasses value
0074:             */
0075:            public void setColumnClasses(String columnClasses) {
0076:                this ._columnClasses = columnClasses;
0077:            }
0078:
0079:            // Property: footerClass
0080:            private String _footerClass;
0081:
0082:            /**
0083:             * Gets The CSS class to be applied to footer cells.
0084:             *
0085:             * @return  the new footerClass value
0086:             */
0087:            public String getFooterClass() {
0088:                if (_footerClass != null) {
0089:                    return _footerClass;
0090:                }
0091:                ValueExpression expression = getValueExpression("footerClass");
0092:                if (expression != null) {
0093:                    return (String) expression.getValue(getFacesContext()
0094:                            .getELContext());
0095:                }
0096:                return null;
0097:            }
0098:
0099:            /**
0100:             * Sets The CSS class to be applied to footer cells.
0101:             * 
0102:             * @param footerClass  the new footerClass value
0103:             */
0104:            public void setFooterClass(String footerClass) {
0105:                this ._footerClass = footerClass;
0106:            }
0107:
0108:            // Property: headerClass
0109:            private String _headerClass;
0110:
0111:            /**
0112:             * Gets The CSS class to be applied to header cells.
0113:             *
0114:             * @return  the new headerClass value
0115:             */
0116:            public String getHeaderClass() {
0117:                if (_headerClass != null) {
0118:                    return _headerClass;
0119:                }
0120:                ValueExpression expression = getValueExpression("headerClass");
0121:                if (expression != null) {
0122:                    return (String) expression.getValue(getFacesContext()
0123:                            .getELContext());
0124:                }
0125:                return null;
0126:            }
0127:
0128:            /**
0129:             * Sets The CSS class to be applied to header cells.
0130:             * 
0131:             * @param headerClass  the new headerClass value
0132:             */
0133:            public void setHeaderClass(String headerClass) {
0134:                this ._headerClass = headerClass;
0135:            }
0136:
0137:            // Property: rowClasses
0138:            private String _rowClasses;
0139:
0140:            /**
0141:             * Gets A comma separated list of CSS class names to apply to td elements in
0142:             *                 each row. If tere are less classes than the number of rows, apply the same
0143:             *                 sequence of classes to the remaining rows, so the pattern is repeated.
0144:             *                 More than one class can be applied to a row by separing the classes
0145:             *                 with a space.
0146:             *
0147:             * @return  the new rowClasses value
0148:             */
0149:            public String getRowClasses() {
0150:                if (_rowClasses != null) {
0151:                    return _rowClasses;
0152:                }
0153:                ValueExpression expression = getValueExpression("rowClasses");
0154:                if (expression != null) {
0155:                    return (String) expression.getValue(getFacesContext()
0156:                            .getELContext());
0157:                }
0158:                return null;
0159:            }
0160:
0161:            /**
0162:             * Sets A comma separated list of CSS class names to apply to td elements in
0163:             *                 each row. If tere are less classes than the number of rows, apply the same
0164:             *                 sequence of classes to the remaining rows, so the pattern is repeated.
0165:             *                 More than one class can be applied to a row by separing the classes
0166:             *                 with a space.
0167:             * 
0168:             * @param rowClasses  the new rowClasses value
0169:             */
0170:            public void setRowClasses(String rowClasses) {
0171:                this ._rowClasses = rowClasses;
0172:            }
0173:
0174:            // Property: captionClass
0175:            private String _captionClass;
0176:
0177:            /**
0178:             * Gets A comma separated list of CSS class names to apply to all captions.
0179:             *                 If tere are less classes than the number of rows, apply the same
0180:             *                 sequence of classes to the remaining captions, so the pattern is repeated.
0181:             *                 More than one class can be applied to a row by separing the classes
0182:             *                 with a space.
0183:             *
0184:             * @return  the new captionClass value
0185:             */
0186:            public String getCaptionClass() {
0187:                if (_captionClass != null) {
0188:                    return _captionClass;
0189:                }
0190:                ValueExpression expression = getValueExpression("captionClass");
0191:                if (expression != null) {
0192:                    return (String) expression.getValue(getFacesContext()
0193:                            .getELContext());
0194:                }
0195:                return null;
0196:            }
0197:
0198:            /**
0199:             * Sets A comma separated list of CSS class names to apply to all captions.
0200:             *                 If tere are less classes than the number of rows, apply the same
0201:             *                 sequence of classes to the remaining captions, so the pattern is repeated.
0202:             *                 More than one class can be applied to a row by separing the classes
0203:             *                 with a space.
0204:             * 
0205:             * @param captionClass  the new captionClass value
0206:             */
0207:            public void setCaptionClass(String captionClass) {
0208:                this ._captionClass = captionClass;
0209:            }
0210:
0211:            // Property: captionStyle
0212:            private String _captionStyle;
0213:
0214:            /**
0215:             * Gets The CSS class to be applied to the Caption.
0216:             *
0217:             * @return  the new captionStyle value
0218:             */
0219:            public String getCaptionStyle() {
0220:                if (_captionStyle != null) {
0221:                    return _captionStyle;
0222:                }
0223:                ValueExpression expression = getValueExpression("captionStyle");
0224:                if (expression != null) {
0225:                    return (String) expression.getValue(getFacesContext()
0226:                            .getELContext());
0227:                }
0228:                return null;
0229:            }
0230:
0231:            /**
0232:             * Sets The CSS class to be applied to the Caption.
0233:             * 
0234:             * @param captionStyle  the new captionStyle value
0235:             */
0236:            public void setCaptionStyle(String captionStyle) {
0237:                this ._captionStyle = captionStyle;
0238:            }
0239:
0240:            // Property: style
0241:            private String _style;
0242:
0243:            /**
0244:             * Gets CSS styling instructions.
0245:             *
0246:             * @return  the new style value
0247:             */
0248:            public String getStyle() {
0249:                if (_style != null) {
0250:                    return _style;
0251:                }
0252:                ValueExpression expression = getValueExpression("style");
0253:                if (expression != null) {
0254:                    return (String) expression.getValue(getFacesContext()
0255:                            .getELContext());
0256:                }
0257:                return null;
0258:            }
0259:
0260:            /**
0261:             * Sets CSS styling instructions.
0262:             * 
0263:             * @param style  the new style value
0264:             */
0265:            public void setStyle(String style) {
0266:                this ._style = style;
0267:            }
0268:
0269:            // Property: styleClass
0270:            private String _styleClass;
0271:
0272:            /**
0273:             * Gets The CSS class for this element. Corresponds to the HTML 'class' attribute.
0274:             *
0275:             * @return  the new styleClass value
0276:             */
0277:            public String getStyleClass() {
0278:                if (_styleClass != null) {
0279:                    return _styleClass;
0280:                }
0281:                ValueExpression expression = getValueExpression("styleClass");
0282:                if (expression != null) {
0283:                    return (String) expression.getValue(getFacesContext()
0284:                            .getELContext());
0285:                }
0286:                return null;
0287:            }
0288:
0289:            /**
0290:             * Sets The CSS class for this element. Corresponds to the HTML 'class' attribute.
0291:             * 
0292:             * @param styleClass  the new styleClass value
0293:             */
0294:            public void setStyleClass(String styleClass) {
0295:                this ._styleClass = styleClass;
0296:            }
0297:
0298:            // Property: dir
0299:            private String _dir;
0300:
0301:            /**
0302:             * Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
0303:             *
0304:             * @return  the new dir value
0305:             */
0306:            public String getDir() {
0307:                if (_dir != null) {
0308:                    return _dir;
0309:                }
0310:                ValueExpression expression = getValueExpression("dir");
0311:                if (expression != null) {
0312:                    return (String) expression.getValue(getFacesContext()
0313:                            .getELContext());
0314:                }
0315:                return null;
0316:            }
0317:
0318:            /**
0319:             * Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
0320:             * 
0321:             * @param dir  the new dir value
0322:             */
0323:            public void setDir(String dir) {
0324:                this ._dir = dir;
0325:            }
0326:
0327:            // Property: lang
0328:            private String _lang;
0329:
0330:            /**
0331:             * Gets The base language of this document.
0332:             *
0333:             * @return  the new lang value
0334:             */
0335:            public String getLang() {
0336:                if (_lang != null) {
0337:                    return _lang;
0338:                }
0339:                ValueExpression expression = getValueExpression("lang");
0340:                if (expression != null) {
0341:                    return (String) expression.getValue(getFacesContext()
0342:                            .getELContext());
0343:                }
0344:                return null;
0345:            }
0346:
0347:            /**
0348:             * Sets The base language of this document.
0349:             * 
0350:             * @param lang  the new lang value
0351:             */
0352:            public void setLang(String lang) {
0353:                this ._lang = lang;
0354:            }
0355:
0356:            // Property: title
0357:            private String _title;
0358:
0359:            /**
0360:             * Gets An advisory title for this element. Often used by the user agent as a tooltip.
0361:             *
0362:             * @return  the new title value
0363:             */
0364:            public String getTitle() {
0365:                if (_title != null) {
0366:                    return _title;
0367:                }
0368:                ValueExpression expression = getValueExpression("title");
0369:                if (expression != null) {
0370:                    return (String) expression.getValue(getFacesContext()
0371:                            .getELContext());
0372:                }
0373:                return null;
0374:            }
0375:
0376:            /**
0377:             * Sets An advisory title for this element. Often used by the user agent as a tooltip.
0378:             * 
0379:             * @param title  the new title value
0380:             */
0381:            public void setTitle(String title) {
0382:                this ._title = title;
0383:            }
0384:
0385:            // Property: onclick
0386:            private String _onclick;
0387:
0388:            /**
0389:             * Gets Script to be invoked when the element is clicked.
0390:             *
0391:             * @return  the new onclick value
0392:             */
0393:            public String getOnclick() {
0394:                if (_onclick != null) {
0395:                    return _onclick;
0396:                }
0397:                ValueExpression expression = getValueExpression("onclick");
0398:                if (expression != null) {
0399:                    return (String) expression.getValue(getFacesContext()
0400:                            .getELContext());
0401:                }
0402:                return null;
0403:            }
0404:
0405:            /**
0406:             * Sets Script to be invoked when the element is clicked.
0407:             * 
0408:             * @param onclick  the new onclick value
0409:             */
0410:            public void setOnclick(String onclick) {
0411:                this ._onclick = onclick;
0412:            }
0413:
0414:            // Property: ondblclick
0415:            private String _ondblclick;
0416:
0417:            /**
0418:             * Gets Script to be invoked when the element is double-clicked.
0419:             *
0420:             * @return  the new ondblclick value
0421:             */
0422:            public String getOndblclick() {
0423:                if (_ondblclick != null) {
0424:                    return _ondblclick;
0425:                }
0426:                ValueExpression expression = getValueExpression("ondblclick");
0427:                if (expression != null) {
0428:                    return (String) expression.getValue(getFacesContext()
0429:                            .getELContext());
0430:                }
0431:                return null;
0432:            }
0433:
0434:            /**
0435:             * Sets Script to be invoked when the element is double-clicked.
0436:             * 
0437:             * @param ondblclick  the new ondblclick value
0438:             */
0439:            public void setOndblclick(String ondblclick) {
0440:                this ._ondblclick = ondblclick;
0441:            }
0442:
0443:            // Property: onmousedown
0444:            private String _onmousedown;
0445:
0446:            /**
0447:             * Gets Script to be invoked when the pointing device is pressed over this element.
0448:             *
0449:             * @return  the new onmousedown value
0450:             */
0451:            public String getOnmousedown() {
0452:                if (_onmousedown != null) {
0453:                    return _onmousedown;
0454:                }
0455:                ValueExpression expression = getValueExpression("onmousedown");
0456:                if (expression != null) {
0457:                    return (String) expression.getValue(getFacesContext()
0458:                            .getELContext());
0459:                }
0460:                return null;
0461:            }
0462:
0463:            /**
0464:             * Sets Script to be invoked when the pointing device is pressed over this element.
0465:             * 
0466:             * @param onmousedown  the new onmousedown value
0467:             */
0468:            public void setOnmousedown(String onmousedown) {
0469:                this ._onmousedown = onmousedown;
0470:            }
0471:
0472:            // Property: onmouseup
0473:            private String _onmouseup;
0474:
0475:            /**
0476:             * Gets Script to be invoked when the pointing device is released over this element.
0477:             *
0478:             * @return  the new onmouseup value
0479:             */
0480:            public String getOnmouseup() {
0481:                if (_onmouseup != null) {
0482:                    return _onmouseup;
0483:                }
0484:                ValueExpression expression = getValueExpression("onmouseup");
0485:                if (expression != null) {
0486:                    return (String) expression.getValue(getFacesContext()
0487:                            .getELContext());
0488:                }
0489:                return null;
0490:            }
0491:
0492:            /**
0493:             * Sets Script to be invoked when the pointing device is released over this element.
0494:             * 
0495:             * @param onmouseup  the new onmouseup value
0496:             */
0497:            public void setOnmouseup(String onmouseup) {
0498:                this ._onmouseup = onmouseup;
0499:            }
0500:
0501:            // Property: onmouseover
0502:            private String _onmouseover;
0503:
0504:            /**
0505:             * Gets Script to be invoked when the pointing device is moved into this element.
0506:             *
0507:             * @return  the new onmouseover value
0508:             */
0509:            public String getOnmouseover() {
0510:                if (_onmouseover != null) {
0511:                    return _onmouseover;
0512:                }
0513:                ValueExpression expression = getValueExpression("onmouseover");
0514:                if (expression != null) {
0515:                    return (String) expression.getValue(getFacesContext()
0516:                            .getELContext());
0517:                }
0518:                return null;
0519:            }
0520:
0521:            /**
0522:             * Sets Script to be invoked when the pointing device is moved into this element.
0523:             * 
0524:             * @param onmouseover  the new onmouseover value
0525:             */
0526:            public void setOnmouseover(String onmouseover) {
0527:                this ._onmouseover = onmouseover;
0528:            }
0529:
0530:            // Property: onmousemove
0531:            private String _onmousemove;
0532:
0533:            /**
0534:             * Gets Script to be invoked when the pointing device is moved while it is in this element.
0535:             *
0536:             * @return  the new onmousemove value
0537:             */
0538:            public String getOnmousemove() {
0539:                if (_onmousemove != null) {
0540:                    return _onmousemove;
0541:                }
0542:                ValueExpression expression = getValueExpression("onmousemove");
0543:                if (expression != null) {
0544:                    return (String) expression.getValue(getFacesContext()
0545:                            .getELContext());
0546:                }
0547:                return null;
0548:            }
0549:
0550:            /**
0551:             * Sets Script to be invoked when the pointing device is moved while it is in this element.
0552:             * 
0553:             * @param onmousemove  the new onmousemove value
0554:             */
0555:            public void setOnmousemove(String onmousemove) {
0556:                this ._onmousemove = onmousemove;
0557:            }
0558:
0559:            // Property: onmouseout
0560:            private String _onmouseout;
0561:
0562:            /**
0563:             * Gets Script to be invoked when the pointing device is moves out of this element.
0564:             *
0565:             * @return  the new onmouseout value
0566:             */
0567:            public String getOnmouseout() {
0568:                if (_onmouseout != null) {
0569:                    return _onmouseout;
0570:                }
0571:                ValueExpression expression = getValueExpression("onmouseout");
0572:                if (expression != null) {
0573:                    return (String) expression.getValue(getFacesContext()
0574:                            .getELContext());
0575:                }
0576:                return null;
0577:            }
0578:
0579:            /**
0580:             * Sets Script to be invoked when the pointing device is moves out of this element.
0581:             * 
0582:             * @param onmouseout  the new onmouseout value
0583:             */
0584:            public void setOnmouseout(String onmouseout) {
0585:                this ._onmouseout = onmouseout;
0586:            }
0587:
0588:            // Property: onkeypress
0589:            private String _onkeypress;
0590:
0591:            /**
0592:             * Gets Script to be invoked when a key is pressed over this element.
0593:             *
0594:             * @return  the new onkeypress value
0595:             */
0596:            public String getOnkeypress() {
0597:                if (_onkeypress != null) {
0598:                    return _onkeypress;
0599:                }
0600:                ValueExpression expression = getValueExpression("onkeypress");
0601:                if (expression != null) {
0602:                    return (String) expression.getValue(getFacesContext()
0603:                            .getELContext());
0604:                }
0605:                return null;
0606:            }
0607:
0608:            /**
0609:             * Sets Script to be invoked when a key is pressed over this element.
0610:             * 
0611:             * @param onkeypress  the new onkeypress value
0612:             */
0613:            public void setOnkeypress(String onkeypress) {
0614:                this ._onkeypress = onkeypress;
0615:            }
0616:
0617:            // Property: onkeydown
0618:            private String _onkeydown;
0619:
0620:            /**
0621:             * Gets Script to be invoked when a key is pressed down over this element.
0622:             *
0623:             * @return  the new onkeydown value
0624:             */
0625:            public String getOnkeydown() {
0626:                if (_onkeydown != null) {
0627:                    return _onkeydown;
0628:                }
0629:                ValueExpression expression = getValueExpression("onkeydown");
0630:                if (expression != null) {
0631:                    return (String) expression.getValue(getFacesContext()
0632:                            .getELContext());
0633:                }
0634:                return null;
0635:            }
0636:
0637:            /**
0638:             * Sets Script to be invoked when a key is pressed down over this element.
0639:             * 
0640:             * @param onkeydown  the new onkeydown value
0641:             */
0642:            public void setOnkeydown(String onkeydown) {
0643:                this ._onkeydown = onkeydown;
0644:            }
0645:
0646:            // Property: onkeyup
0647:            private String _onkeyup;
0648:
0649:            /**
0650:             * Gets Script to be invoked when a key is released over this element.
0651:             *
0652:             * @return  the new onkeyup value
0653:             */
0654:            public String getOnkeyup() {
0655:                if (_onkeyup != null) {
0656:                    return _onkeyup;
0657:                }
0658:                ValueExpression expression = getValueExpression("onkeyup");
0659:                if (expression != null) {
0660:                    return (String) expression.getValue(getFacesContext()
0661:                            .getELContext());
0662:                }
0663:                return null;
0664:            }
0665:
0666:            /**
0667:             * Sets Script to be invoked when a key is released over this element.
0668:             * 
0669:             * @param onkeyup  the new onkeyup value
0670:             */
0671:            public void setOnkeyup(String onkeyup) {
0672:                this ._onkeyup = onkeyup;
0673:            }
0674:
0675:            // Property: border
0676:            private int _border = -2147483648;
0677:            private boolean _borderSet;
0678:
0679:            /**
0680:             * Gets Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.
0681:             *
0682:             * @return  the new border value
0683:             */
0684:            public int getBorder() {
0685:                if (_borderSet) {
0686:                    return _border;
0687:                }
0688:                ValueExpression expression = getValueExpression("border");
0689:                if (expression != null) {
0690:                    return (Integer) expression.getValue(getFacesContext()
0691:                            .getELContext());
0692:                }
0693:                return -2147483648;
0694:            }
0695:
0696:            /**
0697:             * Sets Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.
0698:             * 
0699:             * @param border  the new border value
0700:             */
0701:            public void setBorder(int border) {
0702:                this ._border = border;
0703:                this ._borderSet = true;
0704:            }
0705:
0706:            // Property: bgcolor
0707:            private String _bgcolor;
0708:
0709:            /**
0710:             * Gets The background color of this element.
0711:             *
0712:             * @return  the new bgcolor value
0713:             */
0714:            public String getBgcolor() {
0715:                if (_bgcolor != null) {
0716:                    return _bgcolor;
0717:                }
0718:                ValueExpression expression = getValueExpression("bgcolor");
0719:                if (expression != null) {
0720:                    return (String) expression.getValue(getFacesContext()
0721:                            .getELContext());
0722:                }
0723:                return null;
0724:            }
0725:
0726:            /**
0727:             * Sets The background color of this element.
0728:             * 
0729:             * @param bgcolor  the new bgcolor value
0730:             */
0731:            public void setBgcolor(String bgcolor) {
0732:                this ._bgcolor = bgcolor;
0733:            }
0734:
0735:            // Property: cellpadding
0736:            private String _cellpadding;
0737:
0738:            /**
0739:             * Gets Specifies the amount of empty space between the cell border and
0740:             * 			its contents.  It can be either a pixel length or a percentage.
0741:             *
0742:             * @return  the new cellpadding value
0743:             */
0744:            public String getCellpadding() {
0745:                if (_cellpadding != null) {
0746:                    return _cellpadding;
0747:                }
0748:                ValueExpression expression = getValueExpression("cellpadding");
0749:                if (expression != null) {
0750:                    return (String) expression.getValue(getFacesContext()
0751:                            .getELContext());
0752:                }
0753:                return null;
0754:            }
0755:
0756:            /**
0757:             * Sets Specifies the amount of empty space between the cell border and
0758:             * 			its contents.  It can be either a pixel length or a percentage.
0759:             * 
0760:             * @param cellpadding  the new cellpadding value
0761:             */
0762:            public void setCellpadding(String cellpadding) {
0763:                this ._cellpadding = cellpadding;
0764:            }
0765:
0766:            // Property: cellspacing
0767:            private String _cellspacing;
0768:
0769:            /**
0770:             * Gets Specifies the amount of space between the cells of the table.
0771:             * 			It can be either a pixel length or a percentage of available 
0772:             * 			space.
0773:             *
0774:             * @return  the new cellspacing value
0775:             */
0776:            public String getCellspacing() {
0777:                if (_cellspacing != null) {
0778:                    return _cellspacing;
0779:                }
0780:                ValueExpression expression = getValueExpression("cellspacing");
0781:                if (expression != null) {
0782:                    return (String) expression.getValue(getFacesContext()
0783:                            .getELContext());
0784:                }
0785:                return null;
0786:            }
0787:
0788:            /**
0789:             * Sets Specifies the amount of space between the cells of the table.
0790:             * 			It can be either a pixel length or a percentage of available 
0791:             * 			space.
0792:             * 
0793:             * @param cellspacing  the new cellspacing value
0794:             */
0795:            public void setCellspacing(String cellspacing) {
0796:                this ._cellspacing = cellspacing;
0797:            }
0798:
0799:            // Property: frame
0800:            private String _frame;
0801:
0802:            /**
0803:             * Gets Controls what part of the frame that surrounds a table is
0804:             * 			visible.  Values include:  void, above, below, hsides, lhs, 
0805:             * 			rhs, vsides, box, and border.
0806:             *
0807:             * @return  the new frame value
0808:             */
0809:            public String getFrame() {
0810:                if (_frame != null) {
0811:                    return _frame;
0812:                }
0813:                ValueExpression expression = getValueExpression("frame");
0814:                if (expression != null) {
0815:                    return (String) expression.getValue(getFacesContext()
0816:                            .getELContext());
0817:                }
0818:                return null;
0819:            }
0820:
0821:            /**
0822:             * Sets Controls what part of the frame that surrounds a table is
0823:             * 			visible.  Values include:  void, above, below, hsides, lhs, 
0824:             * 			rhs, vsides, box, and border.
0825:             * 
0826:             * @param frame  the new frame value
0827:             */
0828:            public void setFrame(String frame) {
0829:                this ._frame = frame;
0830:            }
0831:
0832:            // Property: rules
0833:            private String _rules;
0834:
0835:            /**
0836:             * Gets Controls how rules are rendered between cells.  Values include:
0837:             * 			none, groups, rows, cols, and all.
0838:             *
0839:             * @return  the new rules value
0840:             */
0841:            public String getRules() {
0842:                if (_rules != null) {
0843:                    return _rules;
0844:                }
0845:                ValueExpression expression = getValueExpression("rules");
0846:                if (expression != null) {
0847:                    return (String) expression.getValue(getFacesContext()
0848:                            .getELContext());
0849:                }
0850:                return null;
0851:            }
0852:
0853:            /**
0854:             * Sets Controls how rules are rendered between cells.  Values include:
0855:             * 			none, groups, rows, cols, and all.
0856:             * 
0857:             * @param rules  the new rules value
0858:             */
0859:            public void setRules(String rules) {
0860:                this ._rules = rules;
0861:            }
0862:
0863:            // Property: summary
0864:            private String _summary;
0865:
0866:            /**
0867:             * Gets Provides a summary of the contents of the table, for
0868:             * 			accessibility purposes.
0869:             *
0870:             * @return  the new summary value
0871:             */
0872:            public String getSummary() {
0873:                if (_summary != null) {
0874:                    return _summary;
0875:                }
0876:                ValueExpression expression = getValueExpression("summary");
0877:                if (expression != null) {
0878:                    return (String) expression.getValue(getFacesContext()
0879:                            .getELContext());
0880:                }
0881:                return null;
0882:            }
0883:
0884:            /**
0885:             * Sets Provides a summary of the contents of the table, for
0886:             * 			accessibility purposes.
0887:             * 
0888:             * @param summary  the new summary value
0889:             */
0890:            public void setSummary(String summary) {
0891:                this ._summary = summary;
0892:            }
0893:
0894:            // Property: width
0895:            private String _width;
0896:
0897:            /**
0898:             * Gets Specifies the desired width of the table, as a pixel length or
0899:             * 			a percentage of available space.
0900:             *
0901:             * @return  the new width value
0902:             */
0903:            public String getWidth() {
0904:                if (_width != null) {
0905:                    return _width;
0906:                }
0907:                ValueExpression expression = getValueExpression("width");
0908:                if (expression != null) {
0909:                    return (String) expression.getValue(getFacesContext()
0910:                            .getELContext());
0911:                }
0912:                return null;
0913:            }
0914:
0915:            /**
0916:             * Sets Specifies the desired width of the table, as a pixel length or
0917:             * 			a percentage of available space.
0918:             * 
0919:             * @param width  the new width value
0920:             */
0921:            public void setWidth(String width) {
0922:                this ._width = width;
0923:            }
0924:
0925:            @Override
0926:            public Object saveState(FacesContext facesContext) {
0927:                Object[] values = new Object[31];
0928:                values[0] = super .saveState(facesContext);
0929:                values[1] = _columnClasses;
0930:                values[2] = _footerClass;
0931:                values[3] = _headerClass;
0932:                values[4] = _rowClasses;
0933:                values[5] = _captionClass;
0934:                values[6] = _captionStyle;
0935:                values[7] = _style;
0936:                values[8] = _styleClass;
0937:                values[9] = _dir;
0938:                values[10] = _lang;
0939:                values[11] = _title;
0940:                values[12] = _onclick;
0941:                values[13] = _ondblclick;
0942:                values[14] = _onmousedown;
0943:                values[15] = _onmouseup;
0944:                values[16] = _onmouseover;
0945:                values[17] = _onmousemove;
0946:                values[18] = _onmouseout;
0947:                values[19] = _onkeypress;
0948:                values[20] = _onkeydown;
0949:                values[21] = _onkeyup;
0950:                values[22] = _border;
0951:                values[23] = _borderSet;
0952:                values[24] = _bgcolor;
0953:                values[25] = _cellpadding;
0954:                values[26] = _cellspacing;
0955:                values[27] = _frame;
0956:                values[28] = _rules;
0957:                values[29] = _summary;
0958:                values[30] = _width;
0959:
0960:                return values;
0961:            }
0962:
0963:            @Override
0964:            public void restoreState(FacesContext facesContext, Object state) {
0965:                Object[] values = (Object[]) state;
0966:                super .restoreState(facesContext, values[0]);
0967:                _columnClasses = (String) values[1];
0968:                _footerClass = (String) values[2];
0969:                _headerClass = (String) values[3];
0970:                _rowClasses = (String) values[4];
0971:                _captionClass = (String) values[5];
0972:                _captionStyle = (String) values[6];
0973:                _style = (String) values[7];
0974:                _styleClass = (String) values[8];
0975:                _dir = (String) values[9];
0976:                _lang = (String) values[10];
0977:                _title = (String) values[11];
0978:                _onclick = (String) values[12];
0979:                _ondblclick = (String) values[13];
0980:                _onmousedown = (String) values[14];
0981:                _onmouseup = (String) values[15];
0982:                _onmouseover = (String) values[16];
0983:                _onmousemove = (String) values[17];
0984:                _onmouseout = (String) values[18];
0985:                _onkeypress = (String) values[19];
0986:                _onkeydown = (String) values[20];
0987:                _onkeyup = (String) values[21];
0988:                _border = (Integer) values[22];
0989:                _borderSet = (Boolean) values[23];
0990:                _bgcolor = (String) values[24];
0991:                _cellpadding = (String) values[25];
0992:                _cellspacing = (String) values[26];
0993:                _frame = (String) values[27];
0994:                _rules = (String) values[28];
0995:                _summary = (String) values[29];
0996:                _width = (String) values[30];
0997:            }
0998:
0999:            @Override
1000:            public String getFamily() {
1001:                return COMPONENT_FAMILY;
1002:            }
1003:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.