net.ponec.jworksheet.report
Class ReportA

Package class diagram package ReportA
java.lang.Object
  extended by net.ponec.jworksheet.report.SuperReport
      extended by net.ponec.jworksheet.report.ReportA
All Implemented Interfaces:
Calculator
Direct Known Subclasses:
ReportB, TableReport

public class ReportA
extends SuperReport

Standard report


Field Summary
protected  GroupSet groupSet
          Group Set
 
Fields inherited from class net.ponec.jworksheet.report.SuperReport
applContext, dateFrom, dateTo, reportTitle, workDayCount
 
Constructor Summary
ReportA()
           
 
Method Summary
 void calculate(WorkDay workDay, Event event)
          Create report
protected  UjoComparator createUjoComparator()
          Create Comparator
protected  GroupSet getGroupSet()
          Vrací sadu skupin:
protected  void init()
          An Initializaton
 java.lang.String print()
          Print the data result
 int printDetail(java.lang.StringBuilder sb)
          Print the data result
protected  void printTotal(int total, boolean tasks, java.lang.StringBuilder sb)
          Print Total Time
 void setGroupSet(GroupSet groupSet)
           
 
Methods inherited from class net.ponec.jworksheet.report.SuperReport
escape, formatTime, formatTimeZero, getApplContext, getReport, getText, getWorkDayCount, init, isDayOff, printFilter, printTableBeg, printTableEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupSet

protected GroupSet groupSet
Group Set

Constructor Detail

ReportA

public ReportA()
Method Detail

init

protected void init()
An Initializaton

Overrides:
init in class SuperReport

createUjoComparator

protected UjoComparator createUjoComparator()
Create Comparator


calculate

public void calculate(WorkDay workDay,
                      Event event)
Create report


print

public java.lang.String print()
                       throws java.io.IOException
Print the data result

Throws:
java.io.IOException

printDetail

public int printDetail(java.lang.StringBuilder sb)
                throws java.io.IOException
Print the data result

Parameters:
sb -
Returns:
totalTime
Throws:
java.io.IOException

printTotal

protected void printTotal(int total,
                          boolean tasks,
                          java.lang.StringBuilder sb)
Print Total Time


getGroupSet

protected GroupSet getGroupSet()
Vrací sadu skupin:


setGroupSet

public void setGroupSet(GroupSet groupSet)


Copyright © 2007-2009 PPonec