Java Doc for Component.java in  » Library » Tapestry » org » apache » tapestry » runtime » 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 » Library » Tapestry » org.apache.tapestry.runtime 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tapestry.runtime.Component

Component
public interface Component extends ComponentResourcesAware,PageLifecycleListener(Code)
Interface that defining the lifecycle of a component, within a page, allowing for callbacks into the component for many different events. This interface is part of the public API for Tapestry, but is not expected to be directly implemented by component classes; it should only be implemented as part of the component class transformation process.

Most of the methods are related to render phases; see the corresponding annotations and component rendering documentation to see how they relate to each other.

This interface is likely to change without notice.





Method Summary
 voidafterRender(MarkupWriter writer, Event event)
     Generally used to write the close tag matching any open tag written by Component.beginRender(MarkupWriter,LifecycleEvent) .
 voidafterRenderBody(MarkupWriter writer, Event event)
     Invoked just after rendering the body of the component.
 voidafterRenderTemplate(MarkupWriter writer, Event event)
     Invoked after rendering the template for a component (only for components with a template).
 voidbeforeRenderBody(MarkupWriter writer, Event event)
     Invoked just before rendering the body of component.
 voidbeforeRenderTemplate(MarkupWriter writer, Event event)
     This phase is only invoked for components with templates.
 voidbeginRender(MarkupWriter writer, Event event)
     Invoked to allow a component to render its tag (start tag and attributes).
 voidcleanupRender(MarkupWriter writer, Event event)
     Generally used to perform final cleanup of the component after rendering.
 booleanhandleComponentEvent(ComponentEvent event)
     Invoked to handle a component event.
 voidpostRenderCleanup()
     Lifecycle method invoked at the end of the org.apache.tapestry.annotations.CleanupRender render phase.
 voidsetupRender(MarkupWriter writer, Event event)
     Invoked before rendering a component (or its template).



Method Detail
afterRender
void afterRender(MarkupWriter writer, Event event)(Code)
Generally used to write the close tag matching any open tag written by Component.beginRender(MarkupWriter,LifecycleEvent) .



afterRenderBody
void afterRenderBody(MarkupWriter writer, Event event)(Code)
Invoked just after rendering the body of the component.



afterRenderTemplate
void afterRenderTemplate(MarkupWriter writer, Event event)(Code)
Invoked after rendering the template for a component (only for components with a template).



beforeRenderBody
void beforeRenderBody(MarkupWriter writer, Event event)(Code)
Invoked just before rendering the body of component.



beforeRenderTemplate
void beforeRenderTemplate(MarkupWriter writer, Event event)(Code)
This phase is only invoked for components with templates.



beginRender
void beginRender(MarkupWriter writer, Event event)(Code)
Invoked to allow a component to render its tag (start tag and attributes).



cleanupRender
void cleanupRender(MarkupWriter writer, Event event)(Code)
Generally used to perform final cleanup of the component after rendering.



handleComponentEvent
boolean handleComponentEvent(ComponentEvent event)(Code)
Invoked to handle a component event. Methods with the OnEvent annotation will be invoked until one returns a non-null value.
Parameters:
  event - true if any handler was found (and invoked), false otherwise



postRenderCleanup
void postRenderCleanup()(Code)
Lifecycle method invoked at the end of the org.apache.tapestry.annotations.CleanupRender render phase. There is no annotation for this method, it is part of CleanupRender, but is always invoked. Its specific use is to allow components to clean up cached parameter values.



setupRender
void setupRender(MarkupWriter writer, Event event)(Code)
Invoked before rendering a component (or its template).



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.