Java Doc for Row.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.Row

Row
public class Row extends AbstractDataGridHtmlTag (Code)

This tag is optionally used to render HTML table roe tags inside of one of the data grid tags that are used to denote data grid row rendering boundaries. When the Header , Rows , or Footer have their renderRow attribute set to false, no HTML table row element will render before starting to render the body of one of these tags. This tag should be used when renderRows is false in order to render an HTML table row. The Row tag is used this way in order to allow a page author to set JSP tag attributes that can configure each rendered table row differently. For example:

 <netui-data:rows renderRows="false">
 <netui-data:row styleClass="rowStyle${container.index}">
 <netui-data:spanCell value="${container.item}"/>
 </netui-data:row>
 </netui-data:rows>
 
and a data set containing ["foo", "bar", "baz"] will render:
 <tr class="rowStyle0">foo</tr>
 <tr class="rowStyle1">bar</tr>
 <tr class="rowStyle2">baz</tr>
 
If the <netui-data:row$gt; were omitted, none of the <tr> elements would be rendered in the output. Note, this tag should not be used inside of the Header, Rows, or Footer tags unless their renderRow attribute is set to false

HeaderRowsFooter




Method Summary
public  voiddoTag()
    

Render this tag.

final public  StringgetTagName()
     The name of this tag; this value is used for error reporting.
public  voidsetDir(String dir)
     Sets the lang attribute for the HTML element tr tag.
public  voidsetLang(String lang)
     Sets the lang attribute for the HTML tr tag.
public  voidsetOnClick(String onClick)
     Sets the onClick JavaScript for the HTML tr tag.
public  voidsetOnDblClick(String onDblClick)
     Sets the onDblClick JavaScript for the HTML tr tag.
public  voidsetOnKeyDown(String onKeyDown)
     Sets the onKeyDown JavaScript for the HTML tr tag.
public  voidsetOnKeyPress(String onKeyPress)
     Sets the onKeyPress JavaScript for the HTML tr tag.
public  voidsetOnKeyUp(String onKeyUp)
     Sets the onKeyUp JavaScript for the HTML tr tag.
public  voidsetOnMouseDown(String onMouseDown)
     Sets the onMouseDown JavaScript for the HTML tr tag.
public  voidsetOnMouseMove(String onMouseMove)
     Sets the onMouseMove JavaScript for the HTML tr tag.
public  voidsetOnMouseOut(String onMouseOut)
     Sets the onMouseOut JavaScript for the HTML tr tag.
public  voidsetOnMouseOver(String onMouseOver)
     Sets the onMouseOver JavaScript for the HTML tr tag.
public  voidsetOnMouseUp(String onMouseUp)
     Sets the onMouseUp JavaScript for the HTML tr tag.
public  voidsetStyle(String style)
     Sets the style attribute for the HTML tr tag.
public  voidsetStyleClass(String styleClass)
     Sets the style class for the HTML tr tag.
public  voidsetTagId(String tagId)
     Set the name of the tagId for the HTML tr tag.
public  voidsetTitle(String title)
     Sets the title attribute for the HTML tr tag.



Method Detail
doTag
public void doTag() throws JspException, IOException(Code)

Render this tag. This tag renders during the data grid's DataGridTagModel.RENDER_STATE_HEADER , DataGridTagModel.RENDER_STATE_GRID , and the DataGridTagModel.RENDER_STATE_FOOTER render states. This tag will always render the an HTML table row tag and its body. The result is added to the output stream.

Unless the Row.setStyleClass(String) attribute has been set and is non-null, the following style classes are used during the various supported rendering states:
Render StateStyle Class
DataGridTagModel.RENDER_STATE_HEADER org.apache.beehive.netui.databinding.datagrid.api.rendering.StyleModel.getHeaderRowClass
DataGridTagModel.RENDER_STATE_GRID org.apache.beehive.netui.databinding.datagrid.api.rendering.StyleModel.getRowClass for an even row org.apache.beehive.netui.databinding.datagrid.api.rendering.StyleModel.getAltRowClass for odd rows.
DataGridTagModel.RENDER_STATE_FOOTER org.apache.beehive.netui.databinding.datagrid.api.rendering.StyleModel.getFooterRowClass


throws:
  JspException - when the DataGridTagModel can not be found in the JspContext
throws:
  IOException -



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



setDir
public void setDir(String dir)(Code)
Sets the lang attribute for the HTML element tr tag.
Parameters:
  dir - the dir



setLang
public void setLang(String lang)(Code)
Sets the lang attribute for the HTML tr tag.
Parameters:
  lang - the lang



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



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



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



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



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



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



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



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



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



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



setStyle
public void setStyle(String style)(Code)
Sets the style attribute for the HTML tr tag.
Parameters:
  style - the style



setStyleClass
public void setStyleClass(String styleClass)(Code)
Sets the style class for the HTML tr tag.
Parameters:
  styleClass - the style class.



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



setTitle
public void setTitle(String title)(Code)
Sets the title attribute for the HTML tr tag.
Parameters:
  title - the title



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.