net.sf.dc.reporting
Class Report
java.lang.Object
java.lang.Thread
net.sf.dc.reporting.Report
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- CardReport, ListReport
- public abstract class Report
- extends java.lang.Thread
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary |
void |
cancel()
|
void |
compile()
|
abstract void |
create()
|
protected Font |
getFont(java.awt.Font f,
java.awt.Color color)
|
protected Cell |
getImageCell(javax.swing.ImageIcon icon,
ReportFieldDefinition definition,
int width,
int height,
boolean inRow)
|
protected Cell |
getLabelCell(java.lang.String label,
ReportFieldDefinition definition)
|
protected Cell |
getRatingCell(java.lang.Object value,
ReportFieldDefinition definition)
|
protected Table |
getTable(int columnCount)
|
protected Cell |
getTextCell(java.lang.String text,
ReportFieldDefinition definition)
|
protected void |
initialize()
|
void |
run()
|
protected void |
setWidths(Table table,
DCObject dco,
ReportFieldDefinitions definitions)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
textColor
protected final java.awt.Color textColor
textColorBg
protected final java.awt.Color textColorBg
textFont
protected final Font textFont
textBorderColor
protected final java.awt.Color textBorderColor
labelBorderColor
protected final java.awt.Color labelBorderColor
labelColor
protected final java.awt.Color labelColor
labelColorBg
protected final java.awt.Color labelColorBg
labelFont
protected final Font labelFont
textBorderBottom
protected final int textBorderBottom
textBorderTop
protected final int textBorderTop
textBorderLeft
protected final int textBorderLeft
textBorderRight
protected final int textBorderRight
labelBorderBottom
protected final int labelBorderBottom
labelBorderTop
protected final int labelBorderTop
labelBorderLeft
protected final int labelBorderLeft
labelBorderRight
protected final int labelBorderRight
definitions
protected ReportFieldDefinitions definitions
data
protected DCObject[] data
target
protected java.io.File target
dialog
protected ReportingDialog dialog
document
protected Document document
keepOnRunning
protected boolean keepOnRunning
Report
public Report()
run
public void run()
cancel
public void cancel()
compile
public void compile()
create
public abstract void create()
throws java.lang.Exception
- Throws:
java.lang.Exception
initialize
protected void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFont
protected Font getFont(java.awt.Font f,
java.awt.Color color)
getTable
protected Table getTable(int columnCount)
throws BadElementException
- Throws:
BadElementException
getLabelCell
protected Cell getLabelCell(java.lang.String label,
ReportFieldDefinition definition)
throws BadElementException
- Throws:
BadElementException
getTextCell
protected Cell getTextCell(java.lang.String text,
ReportFieldDefinition definition)
throws BadElementException
- Throws:
BadElementException
getRatingCell
protected Cell getRatingCell(java.lang.Object value,
ReportFieldDefinition definition)
throws java.lang.Exception
- Throws:
java.lang.Exception
getImageCell
protected Cell getImageCell(javax.swing.ImageIcon icon,
ReportFieldDefinition definition,
int width,
int height,
boolean inRow)
throws java.lang.Exception
- Throws:
java.lang.Exception
setWidths
protected void setWidths(Table table,
DCObject dco,
ReportFieldDefinitions definitions)