info.monitorenter.cpdetector.util.collections.ui
Class StreamTableRenderer
java.lang.Object
info.monitorenter.cpdetector.util.collections.ui.StreamTableRenderer
- All Implemented Interfaces:
- ITableRenderer
- Direct Known Subclasses:
- TableRendererHTML
public abstract class StreamTableRenderer
- extends Object
- implements ITableRenderer
- Author:
- Achim Westermann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_out
protected Writer m_out
StreamTableRenderer
public StreamTableRenderer(Writer out)
renderHeader
protected final void renderHeader(TableModel model)
throws IOException
- Throws:
IOException
HeadRowStartTag
protected abstract String HeadRowStartTag()
HeadRowStopTag
protected abstract String HeadRowStopTag()
HeadCellStopTag
protected abstract String HeadCellStopTag(boolean firstOrLast)
HeadCellStartTag
protected abstract String HeadCellStartTag(boolean firstOrLast)
renderRow
protected final void renderRow(TableModel model,
int row)
throws IOException
- Throws:
IOException
RowStartTag
protected abstract String RowStartTag()
RowStopTag
protected abstract String RowStopTag()
renderCell
protected final void renderCell(Object content,
int firstOrLast)
throws IOException
- Throws:
IOException
CellStartTag
protected abstract String CellStartTag(boolean rowstart)
CellStopTag
protected abstract String CellStopTag(boolean rowend)
render
public final void render(TableModel model)
throws IOException
- Description copied from interface:
ITableRenderer
- Render in any way: write to a stream, a file, display as widget...
- Specified by:
render in interface ITableRenderer
- Throws:
IOException
TableStartTag
protected abstract String TableStartTag()
TableStopTag
protected abstract String TableStopTag()
Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.