Home » struts-2.1.8.1-src » org.apache » struts2 » components » table » renderer » [javadoc | source]
org.apache.struts2.components.table.renderer
public class: FixedTextCellRenderer [javadoc | source]
java.lang.Object
   org.apache.struts2.components.table.renderer.AbstractCellRenderer
      org.apache.struts2.components.table.renderer.FixedTextCellRenderer

All Implemented Interfaces:
    CellRenderer

usefull if a column has an embeded ID number needed for a link but you want it to say something else.
Field Summary
protected  String _text    this is the text that will be shown in the column 
Fields inherited from org.apache.struts2.components.table.renderer.AbstractCellRenderer:
_alignment
Method from org.apache.struts2.components.table.renderer.FixedTextCellRenderer Summary:
getCellValue,   getText,   setText
Methods from org.apache.struts2.components.table.renderer.AbstractCellRenderer:
getAlignment,   getCellValue,   isAligned,   renderCell,   setAlignment
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.components.table.renderer.FixedTextCellRenderer Detail:
 public String getCellValue(WebTable table,
    Object data,
    int row,
    int col) 
 public String getText() 
 public  void setText(String text)