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

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

Data grid cell that renders an HTML <image> tag containing the tag's source attribute. The span cell is rendered inside of an HTML table <td>. The image cell supports various nested tags including 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:

org.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.ImageCellModel which is storing state for this tag.
protected  voidrenderDataCellContents(AbstractRenderAppender appender, String jspFragmentOutput)
     Render the cell's contents.
public  voidsetAlign(String align)
     Sets the property to specify where to align the image.
public  voidsetAlt(String alt)
     Sets the property to specify the alt text of the image tag.
public  voidsetAttribute(String name, String value, String facet)
    

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

public  voidsetBorder(String border)
     Set the border attribute for the image.
public  voidsetDir(String dir)
     Sets the dir attribute for the HTML image tag.
public  voidsetHeight(String height)
     Set the height of the image to display.
public  voidsetHspace(String hspace)
     Sets the the horizontal spacing around the image.
public  voidsetLang(String lang)
     Sets the lang attribute for the HTML element.
public  voidsetLongdesc(String longdesc)
     Sets the property to specify the longdesc of the image tag.
public  voidsetOnClick(String onClick)
     Sets the onClick JavaScript event on the image tag.
public  voidsetOnDblClick(String onDblClick)
     Sets the onDblClick JavaScript event on the image tag.
public  voidsetOnKeyDown(String onKeyDown)
     Sets the onKeyDown JavaScript event on the image tag.
public  voidsetOnKeyPress(String onKeyPress)
     Sets the onKeyPress JavaScript event on the image tag.
public  voidsetOnKeyUp(String onKeyUp)
     Sets the onKeyUp JavaScript event on the image tag.
public  voidsetOnMouseDown(String onMouseDown)
     Sets the onMouseDown JavaScript event on the image tag.
public  voidsetOnMouseMove(String onMouseMove)
     Sets the onMouseMove JavaScript event on the image tag.
public  voidsetOnMouseOut(String onMouseOut)
     Sets the onMouseOut JavaScript event on the image tag.
public  voidsetOnMouseOver(String onMouseOver)
     Sets the onMouseOver JavaScript event on the image tag.
public  voidsetOnMouseUp(String onMouseUp)
     Sets the onMouseUp JavaScript event on the image tag.
public  voidsetSrc(String src)
     Set the image source to render on the HTML image tag.
public  voidsetStyle(String style)
     Sets the style of the rendered html tag.
public  voidsetStyleClass(String styleClass)
     Sets the style class of the rendered html tag.
public  voidsetTagId(String tagId)
     Set the name of the tagId for the image tag.
public  voidsetTitle(String title)
     Sets the value of the title attribute.
public  voidsetVspace(String vspace)
     Set the vertical spacing around the image.
public  voidsetWidth(String width)
     Set the width of the image to display.



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.ImageCellModel which is storing state for this tag. this tag's image cell model



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



setAlign
public void setAlign(String align)(Code)
Sets the property to specify where to align the image.
Parameters:
  align - the image alignment.



setAlt
public void setAlt(String alt)(Code)
Sets the property to specify the alt text of the image tag.
Parameters:
  alt - the image alignment.



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:

  • image -- attributes set using this facet will be rendered as HTML attributes on the rendered HTML <image> 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



setBorder
public void setBorder(String border)(Code)
Set the border attribute for the image.



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



setHeight
public void setHeight(String height)(Code)
Set the height of the image to display.



setHspace
public void setHspace(String hspace)(Code)
Sets the the horizontal spacing around the image.
Parameters:
  hspace - the horizontal spacing.



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



setLongdesc
public void setLongdesc(String longdesc)(Code)
Sets the property to specify the longdesc of the image tag.
Parameters:
  longdesc - the longdesc attribute



setOnClick
public void setOnClick(String onClick)(Code)
Sets the onClick JavaScript event on the image tag.
Parameters:
  onClick - the onClick event.



setOnDblClick
public void setOnDblClick(String onDblClick)(Code)
Sets the onDblClick JavaScript event on the image tag.
Parameters:
  onDblClick - the onDblClick event.



setOnKeyDown
public void setOnKeyDown(String onKeyDown)(Code)
Sets the onKeyDown JavaScript event on the image tag.
Parameters:
  onKeyDown - the onKeyDown event.



setOnKeyPress
public void setOnKeyPress(String onKeyPress)(Code)
Sets the onKeyPress JavaScript event on the image tag.
Parameters:
  onKeyPress - the onKeyPress event.



setOnKeyUp
public void setOnKeyUp(String onKeyUp)(Code)
Sets the onKeyUp JavaScript event on the image tag.
Parameters:
  onKeyUp - the onKeyUp event.



setOnMouseDown
public void setOnMouseDown(String onMouseDown)(Code)
Sets the onMouseDown JavaScript event on the image tag.
Parameters:
  onMouseDown - the onMouseDown event.



setOnMouseMove
public void setOnMouseMove(String onMouseMove)(Code)
Sets the onMouseMove JavaScript event on the image tag.
Parameters:
  onMouseMove - the onMouseMove event.



setOnMouseOut
public void setOnMouseOut(String onMouseOut)(Code)
Sets the onMouseOut JavaScript event on the image tag.
Parameters:
  onMouseOut - the onMouseOut event.



setOnMouseOver
public void setOnMouseOver(String onMouseOver)(Code)
Sets the onMouseOver JavaScript event on the image tag.
Parameters:
  onMouseOver - the onMouseOver event.



setOnMouseUp
public void setOnMouseUp(String onMouseUp)(Code)
Sets the onMouseUp JavaScript event on the image tag.
Parameters:
  onMouseUp - the onMouseUp event.



setSrc
public void setSrc(String src)(Code)
Set the image source to render on the HTML image tag.



setStyle
public void setStyle(String style)(Code)
Sets the style of the rendered html tag.
Parameters:
  style - the html style.



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



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



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



setVspace
public void setVspace(String vspace)(Code)
Set the vertical spacing around the image.



setWidth
public void setWidth(String width)(Code)
Set the width of the image to display.



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.