@GenerateDto(dtoPackage="net.datenwerke.rs.base.client.reportengines.table.dto", generateDto2Poso=false) public class RSTableModel extends CompiledTableReport implements java.lang.Iterable<RSTableRow>, java.io.Serializable
Constructor and Description |
---|
RSTableModel() |
RSTableModel(TableDefinition tableDefinition) |
Modifier and Type | Method and Description |
---|---|
RSTableRow |
addDataRow(java.util.Collection<?> row) |
RSTableRow |
addDataRow(java.lang.Object... row) |
void |
addDataRow(RSTableRow row) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int columnIndex) |
java.lang.Class<?> |
getColumnType(int columnIndex) |
java.util.List<RSTableRow> |
getData() |
java.lang.String |
getFileExtension()
Returns a file extension for files of this type
|
java.lang.String |
getMimeType()
Returns the mime type of this report.
|
java.lang.Object |
getReport()
Returns the actual report.
|
int |
getRowCount() |
TableDefinition |
getTableDefinition() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isStringReport()
Returns true if the report is String based (in contrast to binary)
|
java.util.Iterator<RSTableRow> |
iterator() |
void |
removeTableModelListener(javax.swing.event.TableModelListener l) |
void |
setData(java.util.List<RSTableRow> data) |
void |
setTableDefinition(TableDefinition tableDefinition) |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int columnIndex) |
java.lang.String |
toString() |
hasData, setHasData
public RSTableModel()
public RSTableModel(TableDefinition tableDefinition)
public void setTableDefinition(TableDefinition tableDefinition)
public TableDefinition getTableDefinition()
public RSTableRow addDataRow(java.util.Collection<?> row)
public RSTableRow addDataRow(java.lang.Object... row)
public void addDataRow(RSTableRow row)
public java.util.List<RSTableRow> getData()
public void setData(java.util.List<RSTableRow> data)
public java.util.Iterator<RSTableRow> iterator()
iterator
in interface java.lang.Iterable<RSTableRow>
public java.lang.Class<?> getColumnType(int columnIndex)
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
public void removeTableModelListener(javax.swing.event.TableModelListener l)
public void setValueAt(java.lang.Object value, int rowIndex, int columnIndex)
public java.lang.Object getReport()
CompiledReport
getReport
in interface CompiledReport
public java.lang.String getFileExtension()
CompiledReport
getFileExtension
in interface CompiledReport
public java.lang.String getMimeType()
CompiledReport
getMimeType
in interface CompiledReport
public boolean isStringReport()
CompiledReport
isStringReport
in interface CompiledReport
isStringReport
in class CompiledTableReport
public java.lang.String toString()
toString
in class java.lang.Object