|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ponec.jworksheet.report.SuperReport
public abstract class SuperReport
Standard report
Field Summary | |
---|---|
protected ApplContext |
applContext
An application context |
protected YearMonthDay |
dateFrom
|
protected YearMonthDay |
dateTo
|
protected java.lang.String |
reportTitle
|
protected int |
workDayCount
Work Day Count |
Constructor Summary | |
---|---|
SuperReport()
|
Method Summary | |
---|---|
protected java.lang.String |
escape(java.lang.Object aText)
Escape a text parameter |
protected java.lang.String |
formatTime(int minutes)
Format the time in minutes. |
protected java.lang.String |
formatTimeZero(int minutes)
Format the time in minutes. |
ApplContext |
getApplContext()
An application context |
java.lang.String |
getReport(java.lang.String body,
java.lang.String title)
Create HTML report |
protected java.lang.String |
getText(java.lang.CharSequence key)
Translate key pro UjoProperty |
int |
getWorkDayCount()
Get work day count. |
protected void |
init()
An initialization code, overwrite it by a child. |
void |
init(ApplContext applContext,
YearMonthDay dateFrom,
YearMonthDay dateTo,
java.lang.String reportTitle)
General initialization, calculate all report. |
protected boolean |
isDayOff(YearMonthDay aDay)
Is the day a DayOff? |
void |
printFilter(java.lang.StringBuilder sb)
Create HTML report |
protected void |
printTableBeg(java.lang.StringBuilder sb)
|
protected void |
printTableEnd(java.lang.StringBuilder sb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.ponec.jworksheet.core.Calculator |
---|
calculate, print |
Field Detail |
---|
protected ApplContext applContext
protected YearMonthDay dateFrom
protected YearMonthDay dateTo
protected java.lang.String reportTitle
protected int workDayCount
Constructor Detail |
---|
public SuperReport()
Method Detail |
---|
protected java.lang.String getText(java.lang.CharSequence key)
public void init(ApplContext applContext, YearMonthDay dateFrom, YearMonthDay dateTo, java.lang.String reportTitle)
init
in interface Calculator
protected void init()
public ApplContext getApplContext()
getApplContext
in interface Calculator
public int getWorkDayCount()
protected java.lang.String escape(java.lang.Object aText)
public void printFilter(java.lang.StringBuilder sb)
public java.lang.String getReport(java.lang.String body, java.lang.String title)
protected void printTableBeg(java.lang.StringBuilder sb) throws java.io.IOException
java.io.IOException
protected void printTableEnd(java.lang.StringBuilder sb) throws java.io.IOException
java.io.IOException
protected java.lang.String formatTime(int minutes)
protected java.lang.String formatTimeZero(int minutes)
protected boolean isDayOff(YearMonthDay aDay)
|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |