public class TextTable extends ReaderWriterDataSource
JTable
implementation.CHARSET
APPLICATION_OCTET_STREAM, APPLICATION_XML, CONTENT_TYPE, TEXT_HTML, TEXT_PLAIN
Constructor and Description |
---|
TextTable(TableModel model,
int... tabs)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
TableModel |
getModel()
|
protected void |
render()
Method to render the
TextTable . |
getBufferedReader, getCharset, getPrintStream, getPrintWriter, getReader, getWriter, nameOf, toString, writeTo
getContentType, getDataSource, getName, getOutputStream, setContentType, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, getInputStream, getOutputStream, length, wrap, wrap, writeTo
public TextTable(TableModel model, int... tabs)
model
- The TextTable
's TableModel
.tabs
- The preferred tab stops.public TableModel getModel()
TableModel
.public InputStream getInputStream() throws IOException
getInputStream
in interface DataSourceDefaultMethods
getInputStream
in interface DataSource
getInputStream
in class FilterDataSource
IOException
Copyright © 2015–2020 Allen D. Ball. All rights reserved.