Package tethys.reporter
Class TethysReporter
java.lang.Object
tethys.reporter.TethysReporter
Set of functions to provide mesage reports on Tethys output. This 
 will work with the existing WarnOnce type pop-up, the primary purpose
 of the functions here being to collate information, possibly from 
 several document writes, before issuing an overall report.
- Author:
 - dg50
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddReport(TethysReport report) Add a report after attempting to write a documentvoidclear()Clear all reportsintGet a count of failed document writesGet a summary string of all reported writes using html to separate each ont a separat elineintgetSize()Get the current number of reportsstatic final TethysReporterGet the reporter.voidshowReport(boolean clear) Show a report in a popup windowvoidshowReport(Window window, boolean clear) Show a report on a popup window 
- 
Method Details
- 
getTethysReporter
Get the reporter.- Returns:
 
 - 
clear
public void clear()Clear all reports - 
addReport
Add a report after attempting to write a document- Parameters:
 report-
 - 
getSize
public int getSize()Get the current number of reports- Returns:
 - number of reports
 
 - 
getReportString
Get a summary string of all reported writes using html to separate each ont a separat eline- Returns:
 
 - 
countFails
public int countFails()Get a count of failed document writes- Returns:
 - failure count
 
 - 
showReport
public void showReport(boolean clear) Show a report in a popup window- Parameters:
 clear- clear the list of reports afterwards
 - 
showReport
Show a report on a popup window- Parameters:
 window- parent frameclear- clear the list of reports afterwards
 
 -