|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.willuhn.jameica.hbci.io.Reporter
public class Reporter
Kapselt den Export von Daten im PDF-Format.
| Constructor Summary | |
|---|---|
Reporter(java.io.OutputStream out,
de.willuhn.util.ProgressMonitor monitor,
java.lang.String title,
java.lang.String subtitle,
int maxRecords)
ct. |
|
| Method Summary | |
|---|---|
void |
add(com.lowagie.text.Paragraph p)
Fuegt einen neuen Absatz hinzu. |
void |
addColumn(com.lowagie.text.pdf.PdfPCell cell)
Fuegt eine neue Spalte hinzu. |
void |
addHeaderColumn(java.lang.String text,
int align,
int width,
java.awt.Color color)
Fuegt der Tabelle einen neuen Spaltenkopf hinzu. |
void |
close()
Schliesst den Report. |
void |
createHeader()
Erzeugt den Tabellen-Header. |
com.lowagie.text.pdf.PdfPCell |
getDetailCell(double value)
Erzeugt eine Zelle fuer die uebergebene Zahl. |
com.lowagie.text.pdf.PdfPCell |
getDetailCell(java.lang.Double value)
Erzeugt eine Zelle der Tabelle. |
com.lowagie.text.pdf.PdfPCell |
getDetailCell(java.lang.String text,
int align)
Erzeugt eine Zelle der Tabelle. |
com.lowagie.text.pdf.PdfPCell |
getDetailCell(java.lang.String text,
int align,
java.awt.Color backgroundcolor)
Erzeugt eine Zelle der Tabelle. |
java.lang.String |
notNull(java.lang.String text)
Gibt einen Leerstring aus, falls der Text null ist. |
void |
setNextRecord()
Rueckt den Monitor weiter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Reporter(java.io.OutputStream out,
de.willuhn.util.ProgressMonitor monitor,
java.lang.String title,
java.lang.String subtitle,
int maxRecords)
throws com.lowagie.text.DocumentException
out - monitor - title - subtitle - maxRecords -
com.lowagie.text.DocumentException| Method Detail |
|---|
public void add(com.lowagie.text.Paragraph p)
throws com.lowagie.text.DocumentException
p -
com.lowagie.text.DocumentException
public void addHeaderColumn(java.lang.String text,
int align,
int width,
java.awt.Color color)
text - align - width - color - public void addColumn(com.lowagie.text.pdf.PdfPCell cell)
cell - public void setNextRecord()
public void createHeader()
throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
public void close()
throws java.io.IOException,
com.lowagie.text.DocumentException
java.io.IOException
com.lowagie.text.DocumentException
public com.lowagie.text.pdf.PdfPCell getDetailCell(java.lang.String text,
int align,
java.awt.Color backgroundcolor)
text - der anzuzeigende Text.align - die Ausrichtung.backgroundcolor - die Hintergundfarbe.
public com.lowagie.text.pdf.PdfPCell getDetailCell(java.lang.String text,
int align)
text - der anzuzeigende Text.align - die Ausrichtung.
public com.lowagie.text.pdf.PdfPCell getDetailCell(java.lang.Double value)
value - die Zahl.
public com.lowagie.text.pdf.PdfPCell getDetailCell(double value)
value - die Zahl.
public java.lang.String notNull(java.lang.String text)
text - der Text.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||