public abstract class StreamTableRenderer extends Object implements ITableRenderer
| 构造器和说明 |
|---|
StreamTableRenderer(Writer out) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract String |
CellStartTag(boolean rowstart) |
protected abstract String |
CellStopTag(boolean rowend) |
protected abstract String |
HeadCellStartTag(boolean firstOrLast) |
protected abstract String |
HeadCellStopTag(boolean firstOrLast) |
protected abstract String |
HeadRowStartTag() |
protected abstract String |
HeadRowStopTag() |
void |
render(TableModel model)
Render in any way: write to a stream, a file, display as widget...
|
protected void |
renderCell(Object content,
int firstOrLast) |
protected void |
renderHeader(TableModel model) |
protected void |
renderRow(TableModel model,
int row) |
protected abstract String |
RowStartTag() |
protected abstract String |
RowStopTag() |
protected abstract String |
TableStartTag() |
protected abstract String |
TableStopTag() |
protected Writer m_out
public StreamTableRenderer(Writer out)
protected final void renderHeader(TableModel model) throws IOException
IOExceptionprotected abstract String HeadRowStartTag()
protected abstract String HeadRowStopTag()
protected abstract String HeadCellStopTag(boolean firstOrLast)
protected abstract String HeadCellStartTag(boolean firstOrLast)
protected final void renderRow(TableModel model, int row) throws IOException
IOExceptionprotected abstract String RowStartTag()
protected abstract String RowStopTag()
protected final void renderCell(Object content, int firstOrLast) throws IOException
IOExceptionprotected abstract String CellStartTag(boolean rowstart)
protected abstract String CellStopTag(boolean rowend)
public final void render(TableModel model) throws IOException
ITableRendererrender 在接口中 ITableRendererIOExceptionprotected abstract String TableStartTag()
protected abstract String TableStopTag()
Copyright © 2016. All rights reserved.