public class CategoriesTableModel extends ListTableModel<IDecisionCategory> implements Observer
AbstractTableModel descendant used in CategoriesPanel| Modifier and Type | Field and Description |
|---|---|
protected int |
columnsno |
aClass, listlistenerList| Constructor and Description |
|---|
CategoriesTableModel(IDecisionCategories data) |
CategoriesTableModel(IDecisionCategories data,
int columns) |
| Modifier and Type | Method and Description |
|---|---|
IDecisionCategory |
getCategory(int index) |
int |
getColumnCount() |
String |
getColumnName(int column) |
IDecisionCategories |
getData() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isSelected(int row) |
void |
update(Observable o,
Object arg) |
getList, getRowCount, setListaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAtpublic CategoriesTableModel(IDecisionCategories data, int columns)
public CategoriesTableModel(IDecisionCategories data)
public int getColumnCount()
getColumnCount in interface TableModelgetColumnCount in class ListTableModel<IDecisionCategory>public Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelgetValueAt in class ListTableModel<IDecisionCategory>public void update(Observable o, Object arg)
update in interface Observerupdate in class ListTableModel<IDecisionCategory>public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class ListTableModel<IDecisionCategory>public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic IDecisionCategories getData()
public boolean isSelected(int row)
public IDecisionCategory getCategory(int index)
Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.