Java Doc for SpanCell.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.AbstractCell
      org.apache.beehive.netui.tags.databinding.datagrid.AbstractHtmlTableCell
         org.apache.beehive.netui.tags.databinding.datagrid.SpanCell

SpanCell
public class SpanCell extends AbstractHtmlTableCell implements IFormattable,IHtmlCore,IHtmlEvents,IHtmlI18n(Code)

Data grid cell that renders an HTML <span> tag containing the tag's value attribute. The span cell is rendered inside of an HTML table <td>. The span cell supports various nested tags including those that provide formatting via the NetUI IFormattable interface and those that augment the available attribute set via the NetUI org.apache.beehive.netui.tags.IAttributeConsumer interface.

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

IFormattableorg.apache.beehive.netui.tags.IAttributeConsumerorg.apache.beehive.netui.databinding.datagrid.api.rendering.DataGridTagModelorg.apache.beehive.netui.script.common.IDataAccessProvider




Method Summary
public  StringgetTagName()
     The name of this tag; this value is used for error reporting.
protected  CellModelinternalGetCellModel()
     Implementation of AbstractHtmlTableCell.internalGetCellModel that exposes the org.apache.beehive.netui.databinding.datagrid.runtime.model.cell.SpanCellModel which is storing state for this tag.
protected  voidrenderDataCellContents(AbstractRenderAppender appender, String jspFragmentOutput)
     Render the cell's contents.
public  voidsetAttribute(String name, String value, String facet)
    

Implementation of org.apache.beehive.netui.tags.IAttributeConsumer interface.

public  voidsetDir(String dir)
     Sets the dir attribute for the HTML span.
public  voidsetLang(String lang)
     Sets the lang attribute for the HTML span.
public  voidsetOnClick(String onClick)
     Sets the onClick JavaScript event for the HTML span.
public  voidsetOnDblClick(String onDblClick)
     Sets the onDblClick JavaScript event for the HTML span.
public  voidsetOnKeyDown(String onKeyDown)
     Sets the onKeyDown JavaScript event for the HTML span.
public  voidsetOnKeyPress(String onKeyPress)
     Sets the onKeyPress JavaScript event for the HTML span.
public  voidsetOnKeyUp(String onKeyUp)
     Sets the onKeyUp JavaScript event for the HTML span.
public  voidsetOnMouseDown(String onMouseDown)
     Sets the onMouseDown JavaScript event for the HTML span.
public  voidsetOnMouseMove(String onMouseMove)
     Sets the onMouseMove JavaScript event for the HTML span.
public  voidsetOnMouseOut(String onMouseOut)
     Sets the onMouseOut JavaScript event for the HTML span.
public  voidsetOnMouseOver(String onMouseOver)
     Sets the onMouseOver JavaScript event for the HTML span.
public  voidsetOnMouseUp(String onMouseUp)
     Sets the onMouseUp JavaScript event for the HTML span.
public  voidsetStyle(String style)
     Sets the style for the HTML span.
public  voidsetStyleClass(String styleClass)
     Sets the style class for the HTML span.
public  voidsetTagId(String tagId)
    

Set the name of the tagId for the HTML span.

public  voidsetTitle(String title)
     Sets the value of the title attribute for the HTML span.
public  voidsetValue(Object value)
    

Set the value rendered inside of the HTML span.




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



internalGetCellModel
protected CellModel internalGetCellModel()(Code)
Implementation of AbstractHtmlTableCell.internalGetCellModel that exposes the org.apache.beehive.netui.databinding.datagrid.runtime.model.cell.SpanCellModel which is storing state for this tag. this tag's span cell model



renderDataCellContents
protected void renderDataCellContents(AbstractRenderAppender appender, String jspFragmentOutput)(Code)
Render the cell's contents. This method implements support for executing the span cell's decorator.
Parameters:
  appender - the AbstractRenderAppender used to collect the rendered output
Parameters:
  jspFragmentOutput - the String result of having evaluated the span cell's javax.servlet.jsp.tagext.JspFragment



setAttribute
public void setAttribute(String name, String value, String facet) throws JspException(Code)

Implementation of org.apache.beehive.netui.tags.IAttributeConsumer interface. This allows a page author to add additional attributes to the HTML rendered by this tag. The attribute facets which can be consumed include:

  • span -- attributes set using this facet will be rendered as HTML attributes on the rendered HTML <span> tag.

This tag also accepts facets supported by AbstractHtmlTableCell.setAttribute(StringStringString)


Parameters:
  name - the name of the attribute
Parameters:
  value - the value of the attribute
Parameters:
  facet - the facet for the attribute; this value must be match one of the facets supported by the JSP tags
throws:
  JspException - thrown when the given facet String is not recognized as a valid facet name



setDir
public void setDir(String dir)(Code)
Sets the dir attribute for the HTML span.
Parameters:
  dir -



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



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



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



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



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



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



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



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



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



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



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



setStyle
public void setStyle(String style)(Code)
Sets the style for the HTML span.
Parameters:
  style - the html style.



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



setTagId
public void setTagId(String tagId) throws JspException(Code)

Set the name of the tagId for the HTML span. This value will have the index of the current data item in the data set appended to the tagId so that the identifiers are unique in the rendered JSP.

For example, if a data set contains {"foo", "bar", "baz"} rendered using a spanCell with a tagId "theTagId", the resulting tagId values will be {"theTagId0", "theTagId1", "theTagId2"}.
Parameters:
  tagId - the the name of the tagId for the HTML span.




setTitle
public void setTitle(String title)(Code)
Sets the value of the title attribute for the HTML span.
Parameters:
  title -



setValue
public void setValue(Object value)(Code)

Set the value rendered inside of the HTML span. This is the visible text that is displayed in the HTML rendered by this tag.




Methods inherited from org.apache.beehive.netui.tags.databinding.datagrid.AbstractHtmlTableCell
protected void renderCell(AbstractRenderAppender appender) throws IOException, JspException(Code)(Java Doc)
abstract protected void renderDataCellContents(AbstractRenderAppender appender, String output) throws IOException, JspException(Code)(Java Doc)
public void setAttribute(String name, String value, String facet) throws JspException(Code)(Java Doc)
public void setBehavior(String name, Object value, String facet) throws JspException(Code)(Java Doc)
public void setCellAbbr(String abbr)(Code)(Java Doc)
public void setCellAlign(String align)(Code)(Java Doc)
public void setCellAxis(String axis)(Code)(Java Doc)
public void setCellChar(String alignChar)(Code)(Java Doc)
public void setCellCharoff(String alignCharOff)(Code)(Java Doc)
public void setCellColspan(int colSpan)(Code)(Java Doc)
public void setCellDir(String dir)(Code)(Java Doc)
public void setCellHeaders(String headers)(Code)(Java Doc)
public void setCellLang(String lang)(Code)(Java Doc)
public void setCellOnClick(String onClick)(Code)(Java Doc)
public void setCellOnDblClick(String onDblClick)(Code)(Java Doc)
public void setCellOnKeyDown(String onKeyDown)(Code)(Java Doc)
public void setCellOnKeyPress(String onKeyPress)(Code)(Java Doc)
public void setCellOnKeyUp(String onKeyUp)(Code)(Java Doc)
public void setCellOnMouseDown(String onMouseDown)(Code)(Java Doc)
public void setCellOnMouseMove(String onMouseMove)(Code)(Java Doc)
public void setCellOnMouseOut(String onMouseOut)(Code)(Java Doc)
public void setCellOnMouseOver(String onMouseOver)(Code)(Java Doc)
public void setCellOnMouseUp(String onMouseUp)(Code)(Java Doc)
public void setCellRowspan(int rowSpan)(Code)(Java Doc)
public void setCellScope(String scope)(Code)(Java Doc)
public void setCellStyle(String style)(Code)(Java Doc)
public void setCellStyleClass(String styleClass)(Code)(Java Doc)
public void setCellTagId(String tagId) throws JspException(Code)(Java Doc)
public void setCellTitle(String title)(Code)(Java Doc)
public void setCellValign(String align)(Code)(Java Doc)
public void setFilterExpression(String filterExpression)(Code)(Java Doc)
public void setSortExpression(String sortExpression)(Code)(Java Doc)

Methods inherited from org.apache.beehive.netui.tags.databinding.datagrid.AbstractCell
public void addFormatter(Formatter formatter)(Code)(Java Doc)
final protected void addStateAttribute(AbstractHtmlState state, String name, String value) throws JspException(Code)(Java Doc)
protected void applyAttributes() throws JspException(Code)(Java Doc)
public void doTag() throws JspException, IOException(Code)(Java Doc)
public void formatterHasError()(Code)(Java Doc)
abstract protected CellModel internalGetCellModel()(Code)(Java Doc)
abstract protected void renderCell(AbstractRenderAppender appender) throws IOException, JspException(Code)(Java Doc)
protected void renderEmptyCell(AbstractRenderAppender appender)(Code)(Java Doc)

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.