Home » displaytag-1.1.1-src » org » displaytag » sample » decorators » [javadoc | source]
org.displaytag.sample.decorators
public class: ItextTotalWrapper [javadoc | source]
java.lang.Object
   org.displaytag.decorator.Decorator
      org.displaytag.decorator.TableDecorator
         org.displaytag.sample.decorators.TotalWrapperTemplate
            org.displaytag.sample.decorators.ItextTotalWrapper

All Implemented Interfaces:
    ItextDecorator

Same idea implemented in ItextTableWriter applied to decorators.
Fields inherited from org.displaytag.decorator.Decorator:
tableModel
Method from org.displaytag.sample.decorators.ItextTotalWrapper Summary:
setFont,   setTable,   startRow,   writeCityTotal,   writeGrandTotal
Methods from org.displaytag.sample.decorators.TotalWrapperTemplate:
finishRow,   getStringBuffer,   writeCityTotal,   writeGrandTotal
Methods from org.displaytag.decorator.TableDecorator:
addRowClass,   addRowId,   displayGroupedValue,   endOfGroup,   evaluate,   finish,   finishRow,   getCurrentRowObject,   getListIndex,   getViewIndex,   initRow,   isLastRow,   startOfGroup,   startRow
Methods from org.displaytag.decorator.Decorator:
finish,   getDecoratedObject,   getPageContext,   hasGetterFor,   init,   init,   searchGetterFor
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.sample.decorators.ItextTotalWrapper Detail:
 public  void setFont(Font font) 
    Set the font required to render the totals line.
 public  void setTable(Table table) 
    Set the table required to render the totals line.
 public String startRow() 
    Writes cell border at bottom of cell.
 protected  void writeCityTotal(String city,
    double total) 
    Writes the city total line.
 protected  void writeGrandTotal(double total) 
    Writes the table grand total