Java Doc for LinkCellRenderer.java in  » J2EE » webwork-2.2.6 » com » opensymphony » webwork » components » table » 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 » J2EE » webwork 2.2.6 » com.opensymphony.webwork.components.table.renderer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
      com.opensymphony.webwork.components.table.renderer.LinkCellRenderer

LinkCellRenderer
public class LinkCellRenderer extends AbstractCellRenderer (Code)

author:
   $author$
version:
   $Revision: 1282 $


Field Summary
protected  String_cssClass
     the CSS class this link belongs to.
protected  String_cssId
     the id attribute this link belongs to.
protected  CellRenderer_delegateRenderer
    
protected  String_link
    
protected  String_onclick
     the (Java)script/ function to execute when the link is clicked.
protected  String_ondblclick
     the (Java)script/ function to execute when the link is clicked twice.
protected  String_onmouseout
     the (Java)script/ function to execute when cursor is away from the link.
protected  String_onmouseover
     the (Java)script/ function to execute when cursor is over the link.
protected  String_param
     if set there will be a parameter attached to link.
protected  int_paramColumn
     if used the param value will be taken from another column in the table.
protected  String_paramValue
     directly set the value for the param.
protected  String_target
     the target frame to open in.
protected  String_title
     the title attribute this link belongs to.
protected  String_trailParams
     additional parameters after the above parameter is generated.

Constructor Summary
public  LinkCellRenderer()
    

Method Summary
public  StringgetCellValue(WebTable table, Object data, int row, int col)
    
public  voidsetCssClass(String cssClass)
    
public  voidsetCssId(String cssId)
    
public  voidsetLink(String link)
    
public  voidsetOnclick(String onclick)
    
public  voidsetOndblclick(String ondblclick)
    
public  voidsetOnmouseout(String onmouseout)
    
public  voidsetOnmouseover(String onmouseover)
    
public  voidsetParam(String param)
    
public  voidsetParamColumn(int paramColumn)
    
public  voidsetParamValue(String paramValue)
    
public  voidsetRenderer(CellRenderer delegateRenderer)
     used to set the renderer to delgate to.
public  voidsetTarget(String target)
    
public  voidsetTitle(String title)
    
public  voidsetTrailParams(String trailParams)
    

Field Detail
_cssClass
protected String _cssClass(Code)
the CSS class this link belongs to. Optional



_cssId
protected String _cssId(Code)
the id attribute this link belongs to. Optional



_delegateRenderer
protected CellRenderer _delegateRenderer(Code)
this is the actual renderer tha will be used to display the text



_link
protected String _link(Code)
this is the link we are setting (required)



_onclick
protected String _onclick(Code)
the (Java)script/ function to execute when the link is clicked. Optional



_ondblclick
protected String _ondblclick(Code)
the (Java)script/ function to execute when the link is clicked twice. Optional



_onmouseout
protected String _onmouseout(Code)
the (Java)script/ function to execute when cursor is away from the link. Optional



_onmouseover
protected String _onmouseover(Code)
the (Java)script/ function to execute when cursor is over the link. Optional



_param
protected String _param(Code)
if set there will be a parameter attached to link. (optional) This should be extended to allow multiple parameters



_paramColumn
protected int _paramColumn(Code)
if used the param value will be taken from another column in the table. Useful if each row needs a different paramter. The paramter can be taken from a hidden cell. if paramValue is also set it will overrid this. (option either this or paramValue must be set if param is used. Will be ignored if param not used



_paramValue
protected String _paramValue(Code)
directly set the value for the param. Will overide paramColumn if set. optional. Either this or paramColumn must be set if param is used. Will be ignored if param not used



_target
protected String _target(Code)
the target frame to open in. Optional



_title
protected String _title(Code)
the title attribute this link belongs to. Optional



_trailParams
protected String _trailParams(Code)
additional parameters after the above parameter is generated. Optional




Constructor Detail
LinkCellRenderer
public LinkCellRenderer()(Code)




Method Detail
getCellValue
public String getCellValue(WebTable table, Object data, int row, int col)(Code)
should the link data be encodeed?



setCssClass
public void setCssClass(String cssClass)(Code)



setCssId
public void setCssId(String cssId)(Code)



setLink
public void setLink(String link)(Code)



setOnclick
public void setOnclick(String onclick)(Code)



setOndblclick
public void setOndblclick(String ondblclick)(Code)



setOnmouseout
public void setOnmouseout(String onmouseout)(Code)



setOnmouseover
public void setOnmouseover(String onmouseover)(Code)



setParam
public void setParam(String param)(Code)



setParamColumn
public void setParamColumn(int paramColumn)(Code)



setParamValue
public void setParamValue(String paramValue)(Code)



setRenderer
public void setRenderer(CellRenderer delegateRenderer)(Code)
used to set the renderer to delgate to. if the render is an AbstractCellRenderer then it will take the alignment from the delegate renderer and set it that way.



setTarget
public void setTarget(String target)(Code)



setTitle
public void setTitle(String title)(Code)



setTrailParams
public void setTrailParams(String trailParams)(Code)



Fields inherited from com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
protected String _alignment(Code)(Java Doc)

Methods inherited from com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
public String getAlignment()(Code)(Java Doc)
abstract protected String getCellValue(WebTable table, Object data, int row, int col)(Code)(Java Doc)
protected boolean isAligned()(Code)(Java Doc)
public String renderCell(WebTable table, Object data, int row, int col)(Code)(Java Doc)
public void setAlignment(String alignment)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.