public class MetaNormalizedTableModel extends Object implements MetaTableModel
Constructor and Description |
---|
MetaNormalizedTableModel(TableModel model) |
Modifier and Type | Method and Description |
---|---|
void |
addTableModelListener(TableModelListener l) |
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.
|
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
DataAttributes |
getTableAttributes()
Returns table-wide attributes.
|
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellDataAttributesSupported()
Checks, whether cell-data attributes are supported by this tablemodel implementation.
|
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener l) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
public MetaNormalizedTableModel(TableModel model)
public DataAttributes getCellDataAttributes(int row, int column)
MetaTableModel
getCellDataAttributes
in interface MetaTableModel
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.public boolean isCellDataAttributesSupported()
MetaTableModel
isCellDataAttributesSupported
in interface MetaTableModel
public DataAttributes getColumnAttributes(int column)
MetaTableModel
getColumnAttributes
in interface MetaTableModel
column
- the column.public DataAttributes getTableAttributes()
MetaTableModel
getTableAttributes
in interface MetaTableModel
public int getRowCount()
getRowCount
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
public void addTableModelListener(TableModelListener l)
addTableModelListener
in interface TableModel
public void removeTableModelListener(TableModelListener l)
removeTableModelListener
in interface TableModel
Copyright © 2017 Hitachi Vantara. All rights reserved.