|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uifextras.printing.HTMLTableWriter
public class HTMLTableWriter
Renders a TableModel as HTML. You can specify the column alignments.
Constructor Summary | |
---|---|
HTMLTableWriter()
Constructs a HTMLTableWriter. |
Method Summary | |
---|---|
boolean |
checkError()
Flushes the stream and checks its error state. |
int |
getColumnAlignment(int col)
Returns the aligment of the column with the given column index. |
protected void |
print(String str)
|
protected void |
println(String str)
|
void |
setColumnAlignments(int[] alignments)
Sets the aligment of the column with the given column index. |
protected void |
writeFontEndTag()
|
protected void |
writeFontStartTag()
|
void |
writePage(Writer newOut,
TableModel newModel)
Writes the page to the specified Writer using the given
table model. |
void |
writeTable(Writer newOut,
TableModel newModel)
Writes the table to the specified Writer using the given
table model. |
void |
writeTableCellHTML(Object value,
int column)
Writes a table cell. |
void |
writeTableHeaderCellHTML(Object value)
Writes a table header cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLTableWriter()
Method Detail |
---|
public int getColumnAlignment(int col)
public void setColumnAlignments(int[] alignments)
public boolean checkError()
protected void print(String str)
protected void println(String str)
protected void writeFontEndTag()
protected void writeFontStartTag()
public void writePage(Writer newOut, TableModel newModel)
Writer
using the given
table model.
public void writeTable(Writer newOut, TableModel newModel)
Writer
using the given
table model.
public void writeTableCellHTML(Object value, int column)
public void writeTableHeaderCellHTML(Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |