Java Doc for Header.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » tags » databinding » datagrid » 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 » Apache beehive 1.0.2 src » org.apache.beehive.netui.tags.databinding.datagrid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.netui.tags.databinding.datagrid.AbstractDataGridHtmlTag
   org.apache.beehive.netui.tags.databinding.datagrid.Header

Header
public class Header extends AbstractDataGridHtmlTag implements IHtmlEvents,IHtmlI18n(Code)

The Header tag is used to render a table row(s) before the data grid has rendered data rows as demarcated by the Rows tag. The header can also optionally render a <thead> HTML tag if the data grid is rendering HTML table row groups. To enable this functionality, set the DataGrid.setRenderRowGroups(boolean) attribute. The location of this tag inside of a data grid does not affect when its content renders. Table cells containing header describing columns of data along with sort and filter state / UI is commonly placed inside of a data grid's header.

The attribute setters for the footer tag are used to add HTML attributes to the ≶thead> HTML tag. When row group rendering is disabled, attributes set here do not render.

Because this tag renders inside of an HTML table, it by default renders an HTML <tr> tag to represent a table row. Table row tag rendering can be disabled using the Header.setRenderRow(boolean) attribute. When this is disabled, the page author is responsible for maintaining the integrity of the HTML table by writing <tr> tags manually or by using the Row tag. When this tag is rendering it does not produce table cells; the contents of the table row in the footer is entirely left to the page author. With row rendering disabled, it is also possible to add multiple table rows to the end of a data grid.

The set of JSP implicit objects available to the body include:

RowsDataGrid.setRenderRowGroups(boolean)Header.setRenderRow(boolean)Roworg.apache.beehive.netui.databinding.datagrid.api.rendering.DataGridTagModel




Method Summary
public  voiddoTag()
     Render this tag.
public  StringgetTagName()
     The name of this tag; this value is used for error reporting.
public  voidsetAlign(String align)
     Sets the value of the horizontal align attribute rendered by the HTML thead tag.
public  voidsetChar(String alignChar)
     Sets the value of the horizontal alignment character attribute rendered by the HTML thead tag.
public  voidsetCharoff(String alignCharOff)
     Sets the value of the horizontal alignment character offset attribute rendered by the HTML thead tag.
public  voidsetDir(String dir)
     Sets the value of the text direction attribute rendered by the HTML thead tag.
public  voidsetLang(String lang)
    
public  voidsetOnClick(String onClick)
     Sets the onClick JavaScript event for the HTML thead tag.
public  voidsetOnDblClick(String onDblClick)
     Sets the onDblClick JavaScript event for the HTML thead tag.
public  voidsetOnKeyDown(String onKeyDown)
     Sets the onKeyDown JavaScript event for the HTML thead tag.
public  voidsetOnKeyPress(String onKeyPress)
     Sets the onKeyPress JavaScript event for the HTML thead tag.
public  voidsetOnKeyUp(String onKeyUp)
     Sets the onKeyUp JavaScript event for the HTML thead tag.
public  voidsetOnMouseDown(String onMouseDown)
     Sets the onMouseDown JavaScript event for the HTML thead tag.
public  voidsetOnMouseMove(String onMouseMove)
     Sets the onMouseMove JavaScript event for the HTML thead tag.
public  voidsetOnMouseOut(String onMouseOut)
     Sets the onMouseOut JavaScript event for the HTML thead tag.
public  voidsetOnMouseOver(String onMouseOver)
     Sets the onMouseOver JavaScript event for the HTML thead tag.
public  voidsetOnMouseUp(String onMouseUp)
     Sets the onMouseUp JavaScript event for the HTML thead tag.
public  voidsetRenderRow(boolean renderRow)
     Set a boolean that enables / disables rendering HTML table rows by this tag.
public  voidsetStyle(String style)
     Sets the style rendered by the HTML thead tag.
public  voidsetStyleClass(String styleClass)
     Sets the style class of the rendered by the HTML thead tag.
public  voidsetTagId(String tagId)
     Set the name of the tagId for the HTML thead tag.
public  voidsetTitle(String title)
     Sets the value of the title attribute rendered by the HTML thead tag.
public  voidsetValign(String valign)
     Sets the value of the vertical alignment attribute rendered by the HTML thead tag.



Method Detail
doTag
public void doTag() throws JspException, IOException(Code)
Render this tag. This method renders during the data grid's DataGridTagModel.RENDER_STATE_HEADER state in order to add table rows to the beginning of a data grid's HTML table. If the data grid is rendering HTML row groups, this tag will output an HTML <thead> tag. Then, if this tag is rendering a table row, it will produce an HTML <tr> tag. Then the content of the body will be rendered. If table row rendering is disabled, the page author is responsible for rendering the appropriate HTML table row tags as this tag renders inside of the HTML table opened by the data grid.
throws:
  IOException -
throws:
  JspException - when the DataGridTagModel can not be found in the JspContext



getTagName
public String getTagName()(Code)
The name of this tag; this value is used for error reporting. the String name of this tag



setAlign
public void setAlign(String align)(Code)
Sets the value of the horizontal align attribute rendered by the HTML thead tag.
Parameters:
  align - the alignment



setChar
public void setChar(String alignChar)(Code)
Sets the value of the horizontal alignment character attribute rendered by the HTML thead tag.
Parameters:
  alignChar - the alignment character



setCharoff
public void setCharoff(String alignCharOff)(Code)
Sets the value of the horizontal alignment character offset attribute rendered by the HTML thead tag.
Parameters:
  alignCharOff - the alignment character offset



setDir
public void setDir(String dir)(Code)
Sets the value of the text direction attribute rendered by the HTML thead tag.
Parameters:
  dir - the dir attribute



setLang
public void setLang(String lang)(Code)
Sets the value of the language attribute rendered by the HTML thead tag
Parameters:
  lang - the language



setOnClick
public void setOnClick(String onClick)(Code)
Sets the onClick JavaScript event for the HTML thead tag.
Parameters:
  onClick - the onClick event.



setOnDblClick
public void setOnDblClick(String onDblClick)(Code)
Sets the onDblClick JavaScript event for the HTML thead tag.
Parameters:
  onDblClick - the onDblClick event.



setOnKeyDown
public void setOnKeyDown(String onKeyDown)(Code)
Sets the onKeyDown JavaScript event for the HTML thead tag.
Parameters:
  onKeyDown - the onKeyDown event.



setOnKeyPress
public void setOnKeyPress(String onKeyPress)(Code)
Sets the onKeyPress JavaScript event for the HTML thead tag.
Parameters:
  onKeyPress - the onKeyPress event.



setOnKeyUp
public void setOnKeyUp(String onKeyUp)(Code)
Sets the onKeyUp JavaScript event for the HTML thead tag.
Parameters:
  onKeyUp - the onKeyUp event.



setOnMouseDown
public void setOnMouseDown(String onMouseDown)(Code)
Sets the onMouseDown JavaScript event for the HTML thead tag.
Parameters:
  onMouseDown - the onMouseDown event.



setOnMouseMove
public void setOnMouseMove(String onMouseMove)(Code)
Sets the onMouseMove JavaScript event for the HTML thead tag.
Parameters:
  onMouseMove - the onMouseMove event.



setOnMouseOut
public void setOnMouseOut(String onMouseOut)(Code)
Sets the onMouseOut JavaScript event for the HTML thead tag.
Parameters:
  onMouseOut - the onMouseOut event.



setOnMouseOver
public void setOnMouseOver(String onMouseOver)(Code)
Sets the onMouseOver JavaScript event for the HTML thead tag.
Parameters:
  onMouseOver - the onMouseOver event.



setOnMouseUp
public void setOnMouseUp(String onMouseUp)(Code)
Sets the onMouseUp JavaScript event for the HTML thead tag.
Parameters:
  onMouseUp - the onMouseUp event.



setRenderRow
public void setRenderRow(boolean renderRow)(Code)
Set a boolean that enables / disables rendering HTML table rows by this tag. If the value is enabled, an HTML <tr> will be rendered when this tag renders its body. If the value is disabled, no <tr> tags will be rendered and the page author is responsible for maintaining the integrity of the HTML table.



setStyle
public void setStyle(String style)(Code)
Sets the style rendered by the HTML thead tag.
Parameters:
  style - the style



setStyleClass
public void setStyleClass(String styleClass)(Code)
Sets the style class of the rendered by the HTML thead tag.
Parameters:
  styleClass - the style class



setTagId
public void setTagId(String tagId) throws JspException(Code)
Set the name of the tagId for the HTML thead tag.
Parameters:
  tagId - the the name of the tagId for the thead tag.



setTitle
public void setTitle(String title)(Code)
Sets the value of the title attribute rendered by the HTML thead tag.
Parameters:
  title - the title



setValign
public void setValign(String valign)(Code)
Sets the value of the vertical alignment attribute rendered by the HTML thead tag.
Parameters:
  valign - the vertical alignment



Methods inherited from org.apache.beehive.netui.tags.databinding.datagrid.AbstractDataGridHtmlTag
final protected void applyIndexedTagId(AbstractHtmlState state, String tagId) throws JspException(Code)(Java Doc)
final protected void applyTagId(AbstractHtmlState state, String tagId) throws JspException(Code)(Java Doc)
final protected DataGridTagModel lookupDataGridTagModel()(Code)(Java Doc)
protected String renderDefaultNameAndId(HttpServletRequest request, AbstractHtmlState state, String id, String name)(Code)(Java Doc)
final protected String renderNameAndId(HttpServletRequest request, AbstractHtmlState state, Form parentForm)(Code)(Java Doc)

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