net.ponec.jworksheet.core
Interface Calculator

Package class diagram package Calculator
All Known Implementing Classes:
ReportA, ReportAttendance, ReportB, ReportC, ReportTab, ReportTabProj, SuperReport, TableReport

public interface Calculator

Calculate all events.


Method Summary
 void calculate(WorkDay workDay, Event event)
          Calculate required times.
 ApplContext getApplContext()
          An application context
 void init(ApplContext applContext, YearMonthDay dateFrom, YearMonthDay dateTo, java.lang.String reportTitle)
          An general initializaton
 java.lang.String print()
          Print the result in HTML report.
 

Method Detail

calculate

void calculate(WorkDay workDay,
               Event event)
Calculate required times.


getApplContext

ApplContext getApplContext()
An application context


init

void init(ApplContext applContext,
          YearMonthDay dateFrom,
          YearMonthDay dateTo,
          java.lang.String reportTitle)
An general initializaton


print

java.lang.String print()
                       throws java.io.IOException
Print the result in HTML report.

Throws:
java.io.IOException


Copyright © 2007-2009 PPonec