|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.sf.dc.export.TableToFileExporter
public class TableToFileExporter
Creates a PDF or HTML document / report based on a set of data crow objects. Hidden and empty fields are not reported on. The format and layout of the document is simple and straight forward. iText is used to created the actual report
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
_HTML
|
static int |
_PDF
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
TableToFileExporter(ExportToPdfDialog ui,
DCObject[] objects,
int reportType,
java.io.File target)
Starts the report creation for a set of data crow objects. |
Method Summary | |
---|---|
void |
cancel()
|
void |
run()
Actual reporting thread. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _PDF
public static final int _HTML
Constructor Detail |
---|
public TableToFileExporter(ExportToPdfDialog ui, DCObject[] objects, int reportType, java.io.File target)
ui
- the dialog listening in on this processobjects
- data crow objects to report onreportType
- HTML or PDF document typetarget
- the target PDF or HTM fileMethod Detail |
---|
public void cancel()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |