Home » displaytag-1.1.1-src » org » displaytag » sample » decorators » [javadoc | source]
org.displaytag.sample.decorators
public class: HtmlTotalWrapper [javadoc | source]
java.lang.Object
   org.displaytag.decorator.Decorator
      org.displaytag.decorator.TableDecorator
         org.displaytag.sample.decorators.TotalWrapperTemplate
            org.displaytag.sample.decorators.HtmlTotalWrapper
Same idea implemented in HtmlTableWriter applied to decorators.
Fields inherited from org.displaytag.decorator.Decorator:
tableModel
Method from org.displaytag.sample.decorators.HtmlTotalWrapper Summary:
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.HtmlTotalWrapper Detail:
 protected  void writeCityTotal(String city,
    double total) 
    Write the city in HTML.
 protected  void writeGrandTotal(double total) 
    Write the table grand total in HTML.