Source Code Cross Referenced for HtmlPopupFrame.java in  » UML » AndroMDA-3.2 » org » andromda » cartridges » jsf » 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 » UML » AndroMDA 3.2 » org.andromda.cartridges.jsf.component.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.andromda.cartridges.jsf.component.html;
002:
003:        import javax.faces.component.UICommand;
004:        import javax.faces.component.UIComponent;
005:        import javax.faces.context.FacesContext;
006:        import javax.faces.el.MethodBinding;
007:        import javax.faces.el.ValueBinding;
008:        import javax.faces.event.ActionEvent;
009:        import javax.faces.event.FacesEvent;
010:        import javax.faces.event.PhaseId;
011:
012:        public class HtmlPopupFrame extends UICommand {
013:            public static final String COMPONENT_TYPE = "org.andromda.cartridges.jsf.HtmlPopupFrame";
014:            public static final String RENDERER_TYPE = "org.andromda.cartridges.jsf.Popup";
015:            private MethodBinding actionOpen;
016:            private MethodBinding actionClose;
017:            private String immediate;
018:            private String accesskey;
019:            private String dir;
020:            private String lang;
021:            private String tabindex;
022:            private String title;
023:            private String mouseHorizPos;
024:            private String mouseVertPos;
025:            private String style;
026:            private String styleClass;
027:            private String styleFrame;
028:            private String styleClassFrame;
029:            private String absolute;
030:            private String center;
031:            private String height;
032:            private String width;
033:            private String scrolling;
034:
035:            public HtmlPopupFrame() {
036:                super ();
037:                setRendererType(RENDERER_TYPE);
038:            }
039:
040:            public java.lang.String getAccesskey() {
041:                if (null != this .accesskey) {
042:                    return this .accesskey;
043:                }
044:                final ValueBinding binding = getValueBinding("accesskey");
045:                if (binding != null) {
046:                    return (java.lang.String) binding
047:                            .getValue(getFacesContext());
048:                }
049:                return null;
050:            }
051:
052:            /**
053:             * Returns the component's family. In this case, the component is not
054:             * associated with a family, so this method returns null.
055:             */
056:            public String getFamily() {
057:                return RENDERER_TYPE;
058:            }
059:
060:            public void setAccesskey(java.lang.String accesskey) {
061:                this .accesskey = accesskey;
062:            }
063:
064:            public java.lang.String getDir() {
065:                if (null != this .dir) {
066:                    return this .dir;
067:                }
068:                ValueBinding binding = getValueBinding("dir");
069:                if (binding != null) {
070:                    return (java.lang.String) binding
071:                            .getValue(getFacesContext());
072:                }
073:                return null;
074:            }
075:
076:            public void setDir(java.lang.String dir) {
077:                this .dir = dir;
078:            }
079:
080:            public java.lang.String getLang() {
081:                if (null != this .lang) {
082:                    return this .lang;
083:                }
084:                final ValueBinding binding = getValueBinding("lang");
085:                if (binding != null) {
086:                    return (java.lang.String) binding
087:                            .getValue(getFacesContext());
088:                }
089:                return null;
090:            }
091:
092:            public void setLang(java.lang.String lang) {
093:                this .lang = lang;
094:            }
095:
096:            public java.lang.String getTabindex() {
097:                if (null != this .tabindex) {
098:                    return this .tabindex;
099:                }
100:                ValueBinding binding = getValueBinding("tabindex");
101:                if (binding != null) {
102:                    return (java.lang.String) binding
103:                            .getValue(getFacesContext());
104:                }
105:
106:                return null;
107:            }
108:
109:            public void setTabindex(java.lang.String tabindex) {
110:                this .tabindex = tabindex;
111:            }
112:
113:            public java.lang.String getTitle() {
114:                if (null != this .title) {
115:                    return this .title;
116:                }
117:                ValueBinding binding = getValueBinding("title");
118:                if (binding != null) {
119:                    return (java.lang.String) binding
120:                            .getValue(getFacesContext());
121:                }
122:                return null;
123:            }
124:
125:            public void setTitle(java.lang.String title) {
126:                this .title = title;
127:            }
128:
129:            public String getHeight() {
130:                if (null != this .height) {
131:                    return this .height;
132:                }
133:                ValueBinding binding = getValueBinding("height");
134:                if (binding != null) {
135:                    return (java.lang.String) binding
136:                            .getValue(getFacesContext());
137:                }
138:
139:                return null;
140:            }
141:
142:            public void setHeight(String height) {
143:                this .height = height;
144:            }
145:
146:            public String getWidth() {
147:                if (null != this .width) {
148:                    return this .width;
149:                }
150:                ValueBinding binding = getValueBinding("width");
151:                if (binding != null) {
152:                    return (java.lang.String) binding
153:                            .getValue(getFacesContext());
154:                }
155:                return null;
156:            }
157:
158:            public void setWidth(String width) {
159:                this .width = width;
160:            }
161:
162:            public String getMouseHorizPos() {
163:                if (null != this .mouseHorizPos) {
164:                    return this .mouseHorizPos;
165:                }
166:                ValueBinding binding = getValueBinding("mouseRelHorizPos");
167:                if (binding != null) {
168:                    return (java.lang.String) binding
169:                            .getValue(getFacesContext());
170:                }
171:                return null;
172:            }
173:
174:            public void setMouseHorizPos(String mouseHorizPos) {
175:                this .mouseHorizPos = mouseHorizPos;
176:            }
177:
178:            public String getMouseVertPos() {
179:                if (null != this .mouseVertPos) {
180:                    return this .mouseVertPos;
181:                }
182:                ValueBinding binding = getValueBinding("mouseRelVertPos");
183:                if (binding != null) {
184:                    return (java.lang.String) binding
185:                            .getValue(getFacesContext());
186:                }
187:                return null;
188:            }
189:
190:            public void setMouseVertPos(String mouseVertPos) {
191:                this .mouseVertPos = mouseVertPos;
192:            }
193:
194:            public String getStyle() {
195:                if (null != this .style) {
196:                    return this .style;
197:                }
198:                ValueBinding binding = getValueBinding("style");
199:                if (binding != null) {
200:                    return (java.lang.String) binding
201:                            .getValue(getFacesContext());
202:                }
203:                return null;
204:            }
205:
206:            public void setStyle(String style) {
207:                this .style = style;
208:            }
209:
210:            public String getStyleClass() {
211:                if (null != this .styleClass) {
212:                    return this .styleClass;
213:                }
214:                ValueBinding binding = getValueBinding("styleClass");
215:                if (binding != null) {
216:                    return (java.lang.String) binding
217:                            .getValue(getFacesContext());
218:                }
219:                return null;
220:            }
221:
222:            public void setStyleClass(String styleClass) {
223:                this .styleClass = styleClass;
224:            }
225:
226:            public String getStyleFrame() {
227:                if (null != this .styleFrame) {
228:                    return this .styleFrame;
229:                }
230:                ValueBinding binding = getValueBinding("styleFrame");
231:                if (binding != null) {
232:                    return (java.lang.String) binding
233:                            .getValue(getFacesContext());
234:                }
235:                return null;
236:            }
237:
238:            public void setStyleFrame(String styleFrame) {
239:                this .styleFrame = styleFrame;
240:            }
241:
242:            public String getStyleClassFrame() {
243:                if (null != this .styleClassFrame) {
244:                    return this .styleClassFrame;
245:                }
246:                ValueBinding binding = getValueBinding("styleClassFrame");
247:                if (binding != null) {
248:                    return (java.lang.String) binding
249:                            .getValue(getFacesContext());
250:                }
251:                return null;
252:            }
253:
254:            public void setStyleClassFrame(String styleClassFrame) {
255:                this .styleClassFrame = styleClassFrame;
256:            }
257:
258:            public String getAbsolute() {
259:                if (null != this .absolute) {
260:                    return this .absolute;
261:                }
262:                ValueBinding binding = getValueBinding("absolute");
263:                if (binding != null) {
264:                    return (java.lang.String) binding
265:                            .getValue(getFacesContext());
266:                }
267:                return null;
268:            }
269:
270:            public void setAbsolute(String absolute) {
271:                this .absolute = absolute;
272:            }
273:
274:            public MethodBinding getActionClose() {
275:                return actionClose;
276:            }
277:
278:            public void setActionClose(MethodBinding actionClose) {
279:                this .actionClose = actionClose;
280:            }
281:
282:            public MethodBinding getActionOpen() {
283:                return actionOpen;
284:            }
285:
286:            public void setActionOpen(MethodBinding actionOpen) {
287:                this .actionOpen = actionOpen;
288:            }
289:
290:            public String getCenter() {
291:                if (null != this .center) {
292:                    return this .center;
293:                }
294:                ValueBinding binding = getValueBinding("center");
295:                if (binding != null) {
296:                    return (java.lang.String) binding
297:                            .getValue(getFacesContext());
298:                }
299:                return null;
300:            }
301:
302:            public void setCenter(String center) {
303:                this .center = center;
304:            }
305:
306:            public String getImmediate() {
307:                if (null != this .immediate) {
308:                    return this .immediate;
309:                }
310:                ValueBinding binding = getValueBinding("immediate");
311:                if (binding != null) {
312:                    return (java.lang.String) binding
313:                            .getValue(getFacesContext());
314:                }
315:                return null;
316:            }
317:
318:            public void setImmediate(String immediate) {
319:                this .immediate = immediate;
320:            }
321:
322:            public String getScrolling() {
323:                if (null != this .scrolling) {
324:                    return this .scrolling;
325:                }
326:                ValueBinding binding = getValueBinding("scrolling");
327:                if (binding != null) {
328:                    return (java.lang.String) binding
329:                            .getValue(getFacesContext());
330:                }
331:                return null;
332:            }
333:
334:            public void setScrolling(String disableScroll) {
335:                this .scrolling = disableScroll;
336:            }
337:
338:            public Object saveState(FacesContext _context) {
339:                Object[] _values = new Object[20];
340:                _values[0] = super .saveState(_context);
341:                _values[1] = accesskey;
342:                _values[2] = lang;
343:                _values[3] = dir;
344:                _values[4] = tabindex;
345:                _values[5] = title;
346:                _values[6] = mouseHorizPos;
347:                _values[7] = mouseVertPos;
348:                _values[8] = style;
349:                _values[9] = styleClass;
350:                _values[10] = styleFrame;
351:                _values[11] = styleClassFrame;
352:                _values[12] = saveAttachedState(_context, actionOpen);
353:                _values[13] = saveAttachedState(_context, actionClose);
354:                _values[14] = immediate;
355:                _values[15] = absolute;
356:                _values[16] = center;
357:                _values[17] = height;
358:                _values[18] = width;
359:                _values[19] = scrolling;
360:                return _values;
361:            }
362:
363:            public void restoreState(FacesContext _context, Object _state) {
364:                Object[] _values = (Object[]) _state;
365:                super .restoreState(_context, _values[0]);
366:                accesskey = (String) _values[1];
367:                lang = (String) _values[2];
368:                dir = (String) _values[3];
369:                tabindex = (String) _values[4];
370:                title = (String) _values[5];
371:                mouseHorizPos = (String) _values[6];
372:                mouseVertPos = (String) _values[7];
373:                style = (String) _values[8];
374:                styleClass = (String) _values[9];
375:                styleFrame = (String) _values[10];
376:                styleClassFrame = (String) _values[11];
377:                actionOpen = (MethodBinding) restoreAttachedState(_context,
378:                        _values[12]);
379:                actionClose = (MethodBinding) restoreAttachedState(_context,
380:                        _values[13]);
381:                immediate = (String) _values[14];
382:                absolute = (String) _values[15];
383:                center = (String) _values[16];
384:                height = (String) _values[17];
385:                width = (String) _values[18];
386:                scrolling = (String) _values[19];
387:            }
388:
389:            public void queueEventNormal(FacesEvent event) {
390:                if (event instanceof  ActionEvent) {
391:                    event.setPhaseId(PhaseId.INVOKE_APPLICATION);
392:                }
393:                if (event == null) {
394:                    throw new NullPointerException();
395:                }
396:                UIComponent parent = getParent();
397:                if (parent == null) {
398:                    throw new IllegalStateException();
399:                }
400:                parent.queueEvent(event);
401:            }
402:
403:            public void queueEventImmediate(FacesEvent event) {
404:                if (event instanceof  ActionEvent) {
405:                    event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
406:                }
407:                if (event == null) {
408:                    throw new NullPointerException();
409:                }
410:                UIComponent parent = getParent();
411:                if (parent == null) {
412:                    throw new IllegalStateException();
413:                }
414:                parent.queueEvent(event);
415:            }
416:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.