|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaTableModel
A extension of the classic table-model. If the tablemodel returned by the data-factory implements this interface, the report engine can make use of the extended meta-data provided for each column.
The meta-data given here is presentation level meta-data, so it describes how data from the data-set should be formatted or styled.
Method Summary | |
---|---|
DataAttributes |
getCellDataAttributes(int row,
int column)
Returns the meta-attribute as Java-Object. |
DataAttributes |
getColumnAttributes(int column)
Returns the column-level attributes for the given column. |
DataAttributes |
getTableAttributes()
Returns table-wide attributes. |
boolean |
isCellDataAttributesSupported()
Checks, whether cell-data attributes are supported by this tablemodel implementation. |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
DataAttributes getCellDataAttributes(int row, int column)
row
- the row of the cell for which the meta-data is queried.column
- the index of the column for which the meta-data is queried.
boolean isCellDataAttributesSupported()
DataAttributes getColumnAttributes(int column)
column
- the column.
DataAttributes getTableAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |