|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.views.jsp.ui.table.renderer.AbstractCellRenderer
com.opensymphony.webwork.views.jsp.ui.table.renderer.LinkCellRenderer
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
this is the actual renderer tha will be used to display the text |
protected String |
_link
this is the link we are setting (required) |
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. |
Fields inherited from class com.opensymphony.webwork.views.jsp.ui.table.renderer.AbstractCellRenderer |
_alignment |
Constructor Summary | |
LinkCellRenderer()
|
Method Summary | |
String |
getCellValue(WebTable table,
Object data,
int row,
int col)
should the link data be encodeed? |
void |
setCssClass(String cssClass)
|
void |
setCssId(String cssId)
|
void |
setLink(String link)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setParam(String param)
|
void |
setParamColumn(int paramColumn)
|
void |
setParamValue(String paramValue)
|
void |
setRenderer(CellRenderer delegateRenderer)
used to set the renderer to delgate to. |
void |
setTarget(String target)
|
void |
setTitle(String title)
|
void |
setTrailParams(String trailParams)
|
Methods inherited from class com.opensymphony.webwork.views.jsp.ui.table.renderer.AbstractCellRenderer |
getAlignment, isAligned, renderCell, setAlignment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CellRenderer _delegateRenderer
protected String _cssClass
protected String _cssId
protected String _link
protected String _onclick
protected String _ondblclick
protected String _onmouseout
protected String _onmouseover
protected String _param
protected String _paramValue
protected String _target
protected String _title
protected String _trailParams
protected int _paramColumn
Constructor Detail |
public LinkCellRenderer()
Method Detail |
public String getCellValue(WebTable table, Object data, int row, int col)
getCellValue
in class AbstractCellRenderer
public void setCssClass(String cssClass)
public void setCssId(String cssId)
public void setLink(String link)
public void setOnclick(String onclick)
public void setOndblclick(String ondblclick)
public void setOnmouseout(String onmouseout)
public void setOnmouseover(String onmouseover)
public void setParam(String param)
public void setParamColumn(int paramColumn)
public void setParamValue(String paramValue)
public void setRenderer(CellRenderer delegateRenderer)
public void setTarget(String target)
public void setTitle(String title)
public void setTrailParams(String trailParams)
|
WebWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |