Source Code Cross Referenced for HtmlCommandLink.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) 


001:        // WARNING: This file was automatically generated. Do not edit it directly,
002:        //          or you will lose your changes.
003:
004:        /*
005:         * Licensed to the Apache Software Foundation (ASF) under one
006:         * or more contributor license agreements.  See the NOTICE file
007:         * distributed with this work for additional information
008:         * regarding copyright ownership.  The ASF licenses this file
009:         * to you under the Apache License, Version 2.0 (the
010:         * "License"); you may not use this file except in compliance
011:         * with the License.  You may obtain a copy of the License at
012:         *
013:         *   http://www.apache.org/licenses/LICENSE-2.0
014:         *
015:         * Unless required by applicable law or agreed to in writing,
016:         * software distributed under the License is distributed on an
017:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
018:         * KIND, either express or implied.  See the License for the
019:         * specific language governing permissions and limitations
020:         * under the License.
021:         */
022:        package javax.faces.component.html;
023:
024:        import javax.el.ValueExpression;
025:        import javax.faces.component.UICommand;
026:        import javax.faces.context.FacesContext;
027:
028:        /**
029:         *
030:         * <h4>Events:</h4>
031:         * <table border="1" width="100%" cellpadding="3" summary="">
032:         * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
033:         * <th align="left">Type</th>
034:         * <th align="left">Phases</th>
035:         * <th align="left">Description</th>
036:         * </tr>
037:         * <tr class="TableRowColor">
038:         * <td valign="top"><code>javax.faces.event.ActionEvent</code></td>
039:         * <td valign="top" nowrap>Apply Request Values</td>
040:         * <td valign="top">Event delivered when the "action" of the component has been
041:         invoked;  for example, by clicking on a button.  The action may result
042:         in page navigation.</td>
043:         * </tr>
044:         * </table>
045:         */
046:        public class HtmlCommandLink extends UICommand {
047:
048:            static public final String COMPONENT_FAMILY = "javax.faces.Command";
049:            static public final String COMPONENT_TYPE = "javax.faces.HtmlCommandLink";
050:
051:            /**
052:             * Construct an instance of the HtmlCommandLink.
053:             */
054:            public HtmlCommandLink() {
055:                setRendererType("javax.faces.Link");
056:            }
057:
058:            // Property: style
059:            private String _style;
060:
061:            /**
062:             * Gets CSS styling instructions.
063:             *
064:             * @return  the new style value
065:             */
066:            public String getStyle() {
067:                if (_style != null) {
068:                    return _style;
069:                }
070:                ValueExpression expression = getValueExpression("style");
071:                if (expression != null) {
072:                    return (String) expression.getValue(getFacesContext()
073:                            .getELContext());
074:                }
075:                return null;
076:            }
077:
078:            /**
079:             * Sets CSS styling instructions.
080:             * 
081:             * @param style  the new style value
082:             */
083:            public void setStyle(String style) {
084:                this ._style = style;
085:            }
086:
087:            // Property: styleClass
088:            private String _styleClass;
089:
090:            /**
091:             * Gets The CSS class for this element. Corresponds to the HTML 'class' attribute.
092:             *
093:             * @return  the new styleClass value
094:             */
095:            public String getStyleClass() {
096:                if (_styleClass != null) {
097:                    return _styleClass;
098:                }
099:                ValueExpression expression = getValueExpression("styleClass");
100:                if (expression != null) {
101:                    return (String) expression.getValue(getFacesContext()
102:                            .getELContext());
103:                }
104:                return null;
105:            }
106:
107:            /**
108:             * Sets The CSS class for this element. Corresponds to the HTML 'class' attribute.
109:             * 
110:             * @param styleClass  the new styleClass value
111:             */
112:            public void setStyleClass(String styleClass) {
113:                this ._styleClass = styleClass;
114:            }
115:
116:            // Property: dir
117:            private String _dir;
118:
119:            /**
120:             * Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
121:             *
122:             * @return  the new dir value
123:             */
124:            public String getDir() {
125:                if (_dir != null) {
126:                    return _dir;
127:                }
128:                ValueExpression expression = getValueExpression("dir");
129:                if (expression != null) {
130:                    return (String) expression.getValue(getFacesContext()
131:                            .getELContext());
132:                }
133:                return null;
134:            }
135:
136:            /**
137:             * Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
138:             * 
139:             * @param dir  the new dir value
140:             */
141:            public void setDir(String dir) {
142:                this ._dir = dir;
143:            }
144:
145:            // Property: lang
146:            private String _lang;
147:
148:            /**
149:             * Gets The base language of this document.
150:             *
151:             * @return  the new lang value
152:             */
153:            public String getLang() {
154:                if (_lang != null) {
155:                    return _lang;
156:                }
157:                ValueExpression expression = getValueExpression("lang");
158:                if (expression != null) {
159:                    return (String) expression.getValue(getFacesContext()
160:                            .getELContext());
161:                }
162:                return null;
163:            }
164:
165:            /**
166:             * Sets The base language of this document.
167:             * 
168:             * @param lang  the new lang value
169:             */
170:            public void setLang(String lang) {
171:                this ._lang = lang;
172:            }
173:
174:            // Property: title
175:            private String _title;
176:
177:            /**
178:             * Gets An advisory title for this element. Often used by the user agent as a tooltip.
179:             *
180:             * @return  the new title value
181:             */
182:            public String getTitle() {
183:                if (_title != null) {
184:                    return _title;
185:                }
186:                ValueExpression expression = getValueExpression("title");
187:                if (expression != null) {
188:                    return (String) expression.getValue(getFacesContext()
189:                            .getELContext());
190:                }
191:                return null;
192:            }
193:
194:            /**
195:             * Sets An advisory title for this element. Often used by the user agent as a tooltip.
196:             * 
197:             * @param title  the new title value
198:             */
199:            public void setTitle(String title) {
200:                this ._title = title;
201:            }
202:
203:            // Property: onclick
204:            private String _onclick;
205:
206:            /**
207:             * Gets Script to be invoked when the element is clicked.
208:             *
209:             * @return  the new onclick value
210:             */
211:            public String getOnclick() {
212:                if (_onclick != null) {
213:                    return _onclick;
214:                }
215:                ValueExpression expression = getValueExpression("onclick");
216:                if (expression != null) {
217:                    return (String) expression.getValue(getFacesContext()
218:                            .getELContext());
219:                }
220:                return null;
221:            }
222:
223:            /**
224:             * Sets Script to be invoked when the element is clicked.
225:             * 
226:             * @param onclick  the new onclick value
227:             */
228:            public void setOnclick(String onclick) {
229:                this ._onclick = onclick;
230:            }
231:
232:            // Property: ondblclick
233:            private String _ondblclick;
234:
235:            /**
236:             * Gets Script to be invoked when the element is double-clicked.
237:             *
238:             * @return  the new ondblclick value
239:             */
240:            public String getOndblclick() {
241:                if (_ondblclick != null) {
242:                    return _ondblclick;
243:                }
244:                ValueExpression expression = getValueExpression("ondblclick");
245:                if (expression != null) {
246:                    return (String) expression.getValue(getFacesContext()
247:                            .getELContext());
248:                }
249:                return null;
250:            }
251:
252:            /**
253:             * Sets Script to be invoked when the element is double-clicked.
254:             * 
255:             * @param ondblclick  the new ondblclick value
256:             */
257:            public void setOndblclick(String ondblclick) {
258:                this ._ondblclick = ondblclick;
259:            }
260:
261:            // Property: onmousedown
262:            private String _onmousedown;
263:
264:            /**
265:             * Gets Script to be invoked when the pointing device is pressed over this element.
266:             *
267:             * @return  the new onmousedown value
268:             */
269:            public String getOnmousedown() {
270:                if (_onmousedown != null) {
271:                    return _onmousedown;
272:                }
273:                ValueExpression expression = getValueExpression("onmousedown");
274:                if (expression != null) {
275:                    return (String) expression.getValue(getFacesContext()
276:                            .getELContext());
277:                }
278:                return null;
279:            }
280:
281:            /**
282:             * Sets Script to be invoked when the pointing device is pressed over this element.
283:             * 
284:             * @param onmousedown  the new onmousedown value
285:             */
286:            public void setOnmousedown(String onmousedown) {
287:                this ._onmousedown = onmousedown;
288:            }
289:
290:            // Property: onmouseup
291:            private String _onmouseup;
292:
293:            /**
294:             * Gets Script to be invoked when the pointing device is released over this element.
295:             *
296:             * @return  the new onmouseup value
297:             */
298:            public String getOnmouseup() {
299:                if (_onmouseup != null) {
300:                    return _onmouseup;
301:                }
302:                ValueExpression expression = getValueExpression("onmouseup");
303:                if (expression != null) {
304:                    return (String) expression.getValue(getFacesContext()
305:                            .getELContext());
306:                }
307:                return null;
308:            }
309:
310:            /**
311:             * Sets Script to be invoked when the pointing device is released over this element.
312:             * 
313:             * @param onmouseup  the new onmouseup value
314:             */
315:            public void setOnmouseup(String onmouseup) {
316:                this ._onmouseup = onmouseup;
317:            }
318:
319:            // Property: onmouseover
320:            private String _onmouseover;
321:
322:            /**
323:             * Gets Script to be invoked when the pointing device is moved into this element.
324:             *
325:             * @return  the new onmouseover value
326:             */
327:            public String getOnmouseover() {
328:                if (_onmouseover != null) {
329:                    return _onmouseover;
330:                }
331:                ValueExpression expression = getValueExpression("onmouseover");
332:                if (expression != null) {
333:                    return (String) expression.getValue(getFacesContext()
334:                            .getELContext());
335:                }
336:                return null;
337:            }
338:
339:            /**
340:             * Sets Script to be invoked when the pointing device is moved into this element.
341:             * 
342:             * @param onmouseover  the new onmouseover value
343:             */
344:            public void setOnmouseover(String onmouseover) {
345:                this ._onmouseover = onmouseover;
346:            }
347:
348:            // Property: onmousemove
349:            private String _onmousemove;
350:
351:            /**
352:             * Gets Script to be invoked when the pointing device is moved while it is in this element.
353:             *
354:             * @return  the new onmousemove value
355:             */
356:            public String getOnmousemove() {
357:                if (_onmousemove != null) {
358:                    return _onmousemove;
359:                }
360:                ValueExpression expression = getValueExpression("onmousemove");
361:                if (expression != null) {
362:                    return (String) expression.getValue(getFacesContext()
363:                            .getELContext());
364:                }
365:                return null;
366:            }
367:
368:            /**
369:             * Sets Script to be invoked when the pointing device is moved while it is in this element.
370:             * 
371:             * @param onmousemove  the new onmousemove value
372:             */
373:            public void setOnmousemove(String onmousemove) {
374:                this ._onmousemove = onmousemove;
375:            }
376:
377:            // Property: onmouseout
378:            private String _onmouseout;
379:
380:            /**
381:             * Gets Script to be invoked when the pointing device is moves out of this element.
382:             *
383:             * @return  the new onmouseout value
384:             */
385:            public String getOnmouseout() {
386:                if (_onmouseout != null) {
387:                    return _onmouseout;
388:                }
389:                ValueExpression expression = getValueExpression("onmouseout");
390:                if (expression != null) {
391:                    return (String) expression.getValue(getFacesContext()
392:                            .getELContext());
393:                }
394:                return null;
395:            }
396:
397:            /**
398:             * Sets Script to be invoked when the pointing device is moves out of this element.
399:             * 
400:             * @param onmouseout  the new onmouseout value
401:             */
402:            public void setOnmouseout(String onmouseout) {
403:                this ._onmouseout = onmouseout;
404:            }
405:
406:            // Property: onkeypress
407:            private String _onkeypress;
408:
409:            /**
410:             * Gets Script to be invoked when a key is pressed over this element.
411:             *
412:             * @return  the new onkeypress value
413:             */
414:            public String getOnkeypress() {
415:                if (_onkeypress != null) {
416:                    return _onkeypress;
417:                }
418:                ValueExpression expression = getValueExpression("onkeypress");
419:                if (expression != null) {
420:                    return (String) expression.getValue(getFacesContext()
421:                            .getELContext());
422:                }
423:                return null;
424:            }
425:
426:            /**
427:             * Sets Script to be invoked when a key is pressed over this element.
428:             * 
429:             * @param onkeypress  the new onkeypress value
430:             */
431:            public void setOnkeypress(String onkeypress) {
432:                this ._onkeypress = onkeypress;
433:            }
434:
435:            // Property: onkeydown
436:            private String _onkeydown;
437:
438:            /**
439:             * Gets Script to be invoked when a key is pressed down over this element.
440:             *
441:             * @return  the new onkeydown value
442:             */
443:            public String getOnkeydown() {
444:                if (_onkeydown != null) {
445:                    return _onkeydown;
446:                }
447:                ValueExpression expression = getValueExpression("onkeydown");
448:                if (expression != null) {
449:                    return (String) expression.getValue(getFacesContext()
450:                            .getELContext());
451:                }
452:                return null;
453:            }
454:
455:            /**
456:             * Sets Script to be invoked when a key is pressed down over this element.
457:             * 
458:             * @param onkeydown  the new onkeydown value
459:             */
460:            public void setOnkeydown(String onkeydown) {
461:                this ._onkeydown = onkeydown;
462:            }
463:
464:            // Property: onkeyup
465:            private String _onkeyup;
466:
467:            /**
468:             * Gets Script to be invoked when a key is released over this element.
469:             *
470:             * @return  the new onkeyup value
471:             */
472:            public String getOnkeyup() {
473:                if (_onkeyup != null) {
474:                    return _onkeyup;
475:                }
476:                ValueExpression expression = getValueExpression("onkeyup");
477:                if (expression != null) {
478:                    return (String) expression.getValue(getFacesContext()
479:                            .getELContext());
480:                }
481:                return null;
482:            }
483:
484:            /**
485:             * Sets Script to be invoked when a key is released over this element.
486:             * 
487:             * @param onkeyup  the new onkeyup value
488:             */
489:            public void setOnkeyup(String onkeyup) {
490:                this ._onkeyup = onkeyup;
491:            }
492:
493:            // Property: onblur
494:            private String _onblur;
495:
496:            /**
497:             * Gets Specifies a script to be invoked when the element loses focus.
498:             *
499:             * @return  the new onblur value
500:             */
501:            public String getOnblur() {
502:                if (_onblur != null) {
503:                    return _onblur;
504:                }
505:                ValueExpression expression = getValueExpression("onblur");
506:                if (expression != null) {
507:                    return (String) expression.getValue(getFacesContext()
508:                            .getELContext());
509:                }
510:                return null;
511:            }
512:
513:            /**
514:             * Sets Specifies a script to be invoked when the element loses focus.
515:             * 
516:             * @param onblur  the new onblur value
517:             */
518:            public void setOnblur(String onblur) {
519:                this ._onblur = onblur;
520:            }
521:
522:            // Property: onfocus
523:            private String _onfocus;
524:
525:            /**
526:             * Gets Specifies a script to be invoked when the element receives focus.
527:             *
528:             * @return  the new onfocus value
529:             */
530:            public String getOnfocus() {
531:                if (_onfocus != null) {
532:                    return _onfocus;
533:                }
534:                ValueExpression expression = getValueExpression("onfocus");
535:                if (expression != null) {
536:                    return (String) expression.getValue(getFacesContext()
537:                            .getELContext());
538:                }
539:                return null;
540:            }
541:
542:            /**
543:             * Sets Specifies a script to be invoked when the element receives focus.
544:             * 
545:             * @param onfocus  the new onfocus value
546:             */
547:            public void setOnfocus(String onfocus) {
548:                this ._onfocus = onfocus;
549:            }
550:
551:            // Property: accesskey
552:            private String _accesskey;
553:
554:            /**
555:             * Gets Sets the access key for this element.
556:             *
557:             * @return  the new accesskey value
558:             */
559:            public String getAccesskey() {
560:                if (_accesskey != null) {
561:                    return _accesskey;
562:                }
563:                ValueExpression expression = getValueExpression("accesskey");
564:                if (expression != null) {
565:                    return (String) expression.getValue(getFacesContext()
566:                            .getELContext());
567:                }
568:                return null;
569:            }
570:
571:            /**
572:             * Sets Sets the access key for this element.
573:             * 
574:             * @param accesskey  the new accesskey value
575:             */
576:            public void setAccesskey(String accesskey) {
577:                this ._accesskey = accesskey;
578:            }
579:
580:            // Property: charset
581:            private String _charset;
582:
583:            /**
584:             * Gets Specifies the character encoding of the linked resource.
585:             *
586:             * @return  the new charset value
587:             */
588:            public String getCharset() {
589:                if (_charset != null) {
590:                    return _charset;
591:                }
592:                ValueExpression expression = getValueExpression("charset");
593:                if (expression != null) {
594:                    return (String) expression.getValue(getFacesContext()
595:                            .getELContext());
596:                }
597:                return null;
598:            }
599:
600:            /**
601:             * Sets Specifies the character encoding of the linked resource.
602:             * 
603:             * @param charset  the new charset value
604:             */
605:            public void setCharset(String charset) {
606:                this ._charset = charset;
607:            }
608:
609:            // Property: coords
610:            private String _coords;
611:
612:            /**
613:             * Gets The position and the shape of the hotspot.
614:             *
615:             * @return  the new coords value
616:             */
617:            public String getCoords() {
618:                if (_coords != null) {
619:                    return _coords;
620:                }
621:                ValueExpression expression = getValueExpression("coords");
622:                if (expression != null) {
623:                    return (String) expression.getValue(getFacesContext()
624:                            .getELContext());
625:                }
626:                return null;
627:            }
628:
629:            /**
630:             * Sets The position and the shape of the hotspot.
631:             * 
632:             * @param coords  the new coords value
633:             */
634:            public void setCoords(String coords) {
635:                this ._coords = coords;
636:            }
637:
638:            // Property: hreflang
639:            private String _hreflang;
640:
641:            /**
642:             * Gets The language code for teh link.
643:             *
644:             * @return  the new hreflang value
645:             */
646:            public String getHreflang() {
647:                if (_hreflang != null) {
648:                    return _hreflang;
649:                }
650:                ValueExpression expression = getValueExpression("hreflang");
651:                if (expression != null) {
652:                    return (String) expression.getValue(getFacesContext()
653:                            .getELContext());
654:                }
655:                return null;
656:            }
657:
658:            /**
659:             * Sets The language code for teh link.
660:             * 
661:             * @param hreflang  the new hreflang value
662:             */
663:            public void setHreflang(String hreflang) {
664:                this ._hreflang = hreflang;
665:            }
666:
667:            // Property: disabled
668:            private boolean _disabled = false;
669:            private boolean _disabledSet;
670:
671:            /**
672:             * Gets When true, this element cannot receive focus.
673:             *
674:             * @return  the new disabled value
675:             */
676:            public boolean isDisabled() {
677:                if (_disabledSet) {
678:                    return _disabled;
679:                }
680:                ValueExpression expression = getValueExpression("disabled");
681:                if (expression != null) {
682:                    return (Boolean) expression.getValue(getFacesContext()
683:                            .getELContext());
684:                }
685:                return false;
686:            }
687:
688:            /**
689:             * Sets When true, this element cannot receive focus.
690:             * 
691:             * @param disabled  the new disabled value
692:             */
693:            public void setDisabled(boolean disabled) {
694:                this ._disabled = disabled;
695:                this ._disabledSet = true;
696:            }
697:
698:            // Property: rel
699:            private String _rel;
700:
701:            /**
702:             * Gets A space-separated list of links defining the relationship from the current document
703:             *                 to the anchor specified by this hyperlink
704:             *
705:             * @return  the new rel value
706:             */
707:            public String getRel() {
708:                if (_rel != null) {
709:                    return _rel;
710:                }
711:                ValueExpression expression = getValueExpression("rel");
712:                if (expression != null) {
713:                    return (String) expression.getValue(getFacesContext()
714:                            .getELContext());
715:                }
716:                return null;
717:            }
718:
719:            /**
720:             * Sets A space-separated list of links defining the relationship from the current document
721:             *                 to the anchor specified by this hyperlink
722:             * 
723:             * @param rel  the new rel value
724:             */
725:            public void setRel(String rel) {
726:                this ._rel = rel;
727:            }
728:
729:            // Property: rev
730:            private String _rev;
731:
732:            /**
733:             * Gets A space-separated list of Reverselinks.
734:             *
735:             * @return  the new rev value
736:             */
737:            public String getRev() {
738:                if (_rev != null) {
739:                    return _rev;
740:                }
741:                ValueExpression expression = getValueExpression("rev");
742:                if (expression != null) {
743:                    return (String) expression.getValue(getFacesContext()
744:                            .getELContext());
745:                }
746:                return null;
747:            }
748:
749:            /**
750:             * Sets A space-separated list of Reverselinks.
751:             * 
752:             * @param rev  the new rev value
753:             */
754:            public void setRev(String rev) {
755:                this ._rev = rev;
756:            }
757:
758:            // Property: shape
759:            private String _shape;
760:
761:            /**
762:             * Gets The shape of the hot spot on the screen (for use in client-side image maps). Valid values are: default (entire region); rect (rectangular region); circle (circular region); and poly (polygonal region).
763:             *
764:             * @return  the new shape value
765:             */
766:            public String getShape() {
767:                if (_shape != null) {
768:                    return _shape;
769:                }
770:                ValueExpression expression = getValueExpression("shape");
771:                if (expression != null) {
772:                    return (String) expression.getValue(getFacesContext()
773:                            .getELContext());
774:                }
775:                return null;
776:            }
777:
778:            /**
779:             * Sets The shape of the hot spot on the screen (for use in client-side image maps). Valid values are: default (entire region); rect (rectangular region); circle (circular region); and poly (polygonal region).
780:             * 
781:             * @param shape  the new shape value
782:             */
783:            public void setShape(String shape) {
784:                this ._shape = shape;
785:            }
786:
787:            // Property: target
788:            private String _target;
789:
790:            /**
791:             * Gets Names the frame that should display content generated by invoking this action.
792:             *
793:             * @return  the new target value
794:             */
795:            public String getTarget() {
796:                if (_target != null) {
797:                    return _target;
798:                }
799:                ValueExpression expression = getValueExpression("target");
800:                if (expression != null) {
801:                    return (String) expression.getValue(getFacesContext()
802:                            .getELContext());
803:                }
804:                return null;
805:            }
806:
807:            /**
808:             * Sets Names the frame that should display content generated by invoking this action.
809:             * 
810:             * @param target  the new target value
811:             */
812:            public void setTarget(String target) {
813:                this ._target = target;
814:            }
815:
816:            // Property: tabindex
817:            private String _tabindex;
818:
819:            /**
820:             * Gets Specifies the position of this element within the tab order of the document.
821:             *
822:             * @return  the new tabindex value
823:             */
824:            public String getTabindex() {
825:                if (_tabindex != null) {
826:                    return _tabindex;
827:                }
828:                ValueExpression expression = getValueExpression("tabindex");
829:                if (expression != null) {
830:                    return (String) expression.getValue(getFacesContext()
831:                            .getELContext());
832:                }
833:                return null;
834:            }
835:
836:            /**
837:             * Sets Specifies the position of this element within the tab order of the document.
838:             * 
839:             * @param tabindex  the new tabindex value
840:             */
841:            public void setTabindex(String tabindex) {
842:                this ._tabindex = tabindex;
843:            }
844:
845:            // Property: type
846:            private String _type;
847:
848:            /**
849:             * Gets A hint to the user agent about the content type of the linked resource.
850:             *
851:             * @return  the new type value
852:             */
853:            public String getType() {
854:                if (_type != null) {
855:                    return _type;
856:                }
857:                ValueExpression expression = getValueExpression("type");
858:                if (expression != null) {
859:                    return (String) expression.getValue(getFacesContext()
860:                            .getELContext());
861:                }
862:                return null;
863:            }
864:
865:            /**
866:             * Sets A hint to the user agent about the content type of the linked resource.
867:             * 
868:             * @param type  the new type value
869:             */
870:            public void setType(String type) {
871:                this ._type = type;
872:            }
873:
874:            @Override
875:            public Object saveState(FacesContext facesContext) {
876:                Object[] values = new Object[30];
877:                values[0] = super .saveState(facesContext);
878:                values[1] = _style;
879:                values[2] = _styleClass;
880:                values[3] = _dir;
881:                values[4] = _lang;
882:                values[5] = _title;
883:                values[6] = _onclick;
884:                values[7] = _ondblclick;
885:                values[8] = _onmousedown;
886:                values[9] = _onmouseup;
887:                values[10] = _onmouseover;
888:                values[11] = _onmousemove;
889:                values[12] = _onmouseout;
890:                values[13] = _onkeypress;
891:                values[14] = _onkeydown;
892:                values[15] = _onkeyup;
893:                values[16] = _onblur;
894:                values[17] = _onfocus;
895:                values[18] = _accesskey;
896:                values[19] = _charset;
897:                values[20] = _coords;
898:                values[21] = _hreflang;
899:                values[22] = _disabled;
900:                values[23] = _disabledSet;
901:                values[24] = _rel;
902:                values[25] = _rev;
903:                values[26] = _shape;
904:                values[27] = _target;
905:                values[28] = _tabindex;
906:                values[29] = _type;
907:
908:                return values;
909:            }
910:
911:            @Override
912:            public void restoreState(FacesContext facesContext, Object state) {
913:                Object[] values = (Object[]) state;
914:                super .restoreState(facesContext, values[0]);
915:                _style = (String) values[1];
916:                _styleClass = (String) values[2];
917:                _dir = (String) values[3];
918:                _lang = (String) values[4];
919:                _title = (String) values[5];
920:                _onclick = (String) values[6];
921:                _ondblclick = (String) values[7];
922:                _onmousedown = (String) values[8];
923:                _onmouseup = (String) values[9];
924:                _onmouseover = (String) values[10];
925:                _onmousemove = (String) values[11];
926:                _onmouseout = (String) values[12];
927:                _onkeypress = (String) values[13];
928:                _onkeydown = (String) values[14];
929:                _onkeyup = (String) values[15];
930:                _onblur = (String) values[16];
931:                _onfocus = (String) values[17];
932:                _accesskey = (String) values[18];
933:                _charset = (String) values[19];
934:                _coords = (String) values[20];
935:                _hreflang = (String) values[21];
936:                _disabled = (Boolean) values[22];
937:                _disabledSet = (Boolean) values[23];
938:                _rel = (String) values[24];
939:                _rev = (String) values[25];
940:                _shape = (String) values[26];
941:                _target = (String) values[27];
942:                _tabindex = (String) values[28];
943:                _type = (String) values[29];
944:            }
945:
946:            @Override
947:            public String getFamily() {
948:                return COMPONENT_FAMILY;
949:            }
950:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.