Class DefaultCellRenderer

  extended by org.apache.struts2.components.table.renderer.AbstractCellRenderer
      extended by org.apache.struts2.components.table.renderer.DefaultCellRenderer
All Implemented Interfaces:

public class DefaultCellRenderer
extends AbstractCellRenderer

Field Summary
Fields inherited from class org.apache.struts2.components.table.renderer.AbstractCellRenderer
Constructor Summary
Method Summary
 String getCellValue(WebTable table, Object data, int row, int col)
          this is the method that subclasses need to implement to set their value.
Methods inherited from class org.apache.struts2.components.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

Constructor Detail


public DefaultCellRenderer()
Method Detail


public String getCellValue(WebTable table,
                           Object data,
                           int row,
                           int col)
Description copied from class: AbstractCellRenderer
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

Specified by:
getCellValue in class AbstractCellRenderer

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.