| java.lang.Object com.opensymphony.webwork.components.table.renderer.AbstractCellRenderer
All known Subclasses: com.opensymphony.webwork.components.table.renderer.FixedTextCellRenderer, com.opensymphony.webwork.components.table.renderer.LinkCellRenderer, com.opensymphony.webwork.components.table.renderer.DefaultCellRenderer, com.opensymphony.webwork.components.table.renderer.NumericCellRenderer, com.opensymphony.webwork.components.table.renderer.DateCellRenderer, com.opensymphony.webwork.components.table.renderer.BooleanCellRenderer,
AbstractCellRenderer | abstract public class AbstractCellRenderer implements CellRenderer(Code) | | this is the base class that most renderers will be derived from.
It allows setting the alignment. Subclasses should set there actuall
content by implementing getCellValue
|
_alignment | protected String _alignment(Code) | | used for horizontal cell alignmnet
|
getCellValue | abstract protected String getCellValue(WebTable table, Object data, int row, int col)(Code) | | this is the method that subclasses need to implement to set their value.
they should not override renderCell unless they want to change the alignmnent
renderering
|
isAligned | protected boolean isAligned()(Code) | | |
renderCell | public String renderCell(WebTable table, Object data, int row, int col)(Code) | | implememnts CellRenderer renderCell. It sets the alignment. gets the actual
data from getCellValue
|
setAlignment | public void setAlignment(String alignment)(Code) | | |
|
|