Java Doc for TableRowGroupRenderer.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » renderer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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


com.sun.rave.web.ui.renderer.TableRowGroupRenderer

TableRowGroupRenderer
public class TableRowGroupRenderer extends Renderer (Code)
This class renders TableRowGroup components.

The TableRowGroup component provides a layout mechanism for displaying rows of data. UI guidelines describe specific behavior that can applied to the rows and columns of data such as sorting, filtering, pagination, selection, and custom user actions. In addition, UI guidelines also define sections of the table that can be used for titles, row group headers, and placement of pre-defined and user defined actions.

Note: Column headers and footers are rendered by TableRowGroupRenderer. Table column footers are rendered by TableRenderer.

Note: To see the messages logged by this class, set the following global defaults in your JDK's "jre/lib/logging.properties" file.

 java.util.logging.ConsoleHandler.level = FINE
 com.sun.rave.web.ui.renderer.TableRowGroupRenderer.level = FINE
 

See TLD docs for more information.





Method Summary
public  voidencodeBegin(FacesContext context, UIComponent component)
     Render the beginning of the specified UIComponent to the output stream or writer associated with the response we are creating.
public  voidencodeChildren(FacesContext context, UIComponent component)
     Render the children of the specified UIComponent to the output stream or writer associated with the response we are creating.
public  voidencodeEnd(FacesContext context, UIComponent component)
     Render the ending of the specified UIComponent to the output stream or writer associated with the response we are creating.
public  booleangetRendersChildren()
     Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render.
protected  voidrenderColumnFooters(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render column footers for TableRowGroup components.

Note: Although not currently a requirement, nested TableColumn children could render column footers that look like:

 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 | A |   B   | C |       D       | E |
 

In this case, components would be rendered on separate rows.

protected  voidrenderColumnHeaders(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render column headers for TableRowGroup components.

Note: Although not typical, nested TableColumn children may render column headers that look like:

 | A |   B   | C |       D       | E |
 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 

In this case, components would be rendered on separate rows.

protected  voidrenderEmptyDataColumn(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render empty data message for TableRowGroup components.
protected  voidrenderEnclosingTagEnd(ResponseWriter writer)
     Render enclosing tag for TableRowGroup components.
protected  voidrenderEnclosingTagStart(FacesContext context, TableRowGroup component, ResponseWriter writer, int index)
     Render enclosing tag for TableRowGroup components.
protected  voidrenderGroupFooter(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render group footer for TableRowGroup components.
protected  voidrenderGroupHeader(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render group header for TableRowGroup components.
protected  voidrenderTableColumnFooters(FacesContext context, TableRowGroup component, ResponseWriter writer)
     Render table column footers for TableRowGroup components.

Note: Although not currently a requirement, nested TableColumn children could render column footers that look like:

 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 | A |   B   | C |       D       | E |
 

In this case, components would be rendered on separate rows.




Method Detail
encodeBegin
public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code)
Render the beginning of the specified UIComponent to the output stream or writer associated with the response we are creating.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - UIComponent to be rendered.
exception:
  IOException - if an input/output error occurs.
exception:
  NullPointerException - if context or component is null.



encodeChildren
public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)
Render the children of the specified UIComponent to the output stream or writer associated with the response we are creating.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - UIComponent to be decoded.
exception:
  IOException - if an input/output error occurs.
exception:
  NullPointerException - if context or component is null.



encodeEnd
public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code)
Render the ending of the specified UIComponent to the output stream or writer associated with the response we are creating.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - UIComponent to be rendered.
exception:
  IOException - if an input/output error occurs.
exception:
  NullPointerException - if context or component is null.



getRendersChildren
public boolean getRendersChildren()(Code)
Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.



renderColumnFooters
protected void renderColumnFooters(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render column footers for TableRowGroup components.

Note: Although not currently a requirement, nested TableColumn children could render column footers that look like:

 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 | A |   B   | C |       D       | E |
 

In this case, components would be rendered on separate rows. For example, the HTML would look like:

 
A 1 2 C 3 4 5 6 E
B D

However, the current implementation will render only the first row, which would look like:

 | A | 1 | 2 | C | 3 | 4 | 5 | 6 | E |
 

Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderColumnHeaders
protected void renderColumnHeaders(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render column headers for TableRowGroup components.

Note: Although not typical, nested TableColumn children may render column headers that look like:

 | A |   B   | C |       D       | E |
 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 

In this case, components would be rendered on separate rows. For example, the HTML would look like:

 
A B C D E
1 2 3 4 5 6

Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderEmptyDataColumn
protected void renderEmptyDataColumn(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render empty data message for TableRowGroup components.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderEnclosingTagEnd
protected void renderEnclosingTagEnd(ResponseWriter writer) throws IOException(Code)
Render enclosing tag for TableRowGroup components.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderEnclosingTagStart
protected void renderEnclosingTagStart(FacesContext context, TableRowGroup component, ResponseWriter writer, int index) throws IOException(Code)
Render enclosing tag for TableRowGroup components.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
Parameters:
  index - The current row index.
exception:
  IOException - if an input/output error occurs.



renderGroupFooter
protected void renderGroupFooter(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render group footer for TableRowGroup components.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderGroupHeader
protected void renderGroupHeader(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render group header for TableRowGroup components.
Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



renderTableColumnFooters
protected void renderTableColumnFooters(FacesContext context, TableRowGroup component, ResponseWriter writer) throws IOException(Code)
Render table column footers for TableRowGroup components.

Note: Although not currently a requirement, nested TableColumn children could render column footers that look like:

 |   | 1 | 2 |   | 3 | 4 | 5 | 6 |   |
 | A |   B   | C |       D       | E |
 

In this case, components would be rendered on separate rows. For example, the HTML would look like:

 
A 1 2 C 3 4 5 6 E
B D

However, the current implementation will render only the first row, which would look like:

 | A | 1 | 2 | C | 3 | 4 | 5 | 6 | E |
 

Parameters:
  context - FacesContext for the current request.
Parameters:
  component - TableRowGroup to be rendered.
Parameters:
  writer - ResponseWriter to which the component should be rendered.
exception:
  IOException - if an input/output error occurs.



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