protected final class ClassFilterEditor.FilterTableModel extends javax.swing.table.AbstractTableModel implements ItemRemovable
Modifier and Type | Field and Description |
---|---|
static int |
CHECK_MARK |
static int |
FILTER |
Modifier | Constructor and Description |
---|---|
protected |
FilterTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addRow(ClassFilter filter) |
java.lang.Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
ClassFilter |
getFilterAt(int index) |
int |
getFilterIndex(ClassFilter filter) |
ClassFilter[] |
getFilters() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeRow(int idx)
Remove row with index
idx and fire DELETE event (e.g. |
void |
setFilters(ClassFilter[] filters) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public static final int CHECK_MARK
public static final int FILTER
public final void setFilters(ClassFilter[] filters)
public ClassFilter[] getFilters()
public ClassFilter getFilterAt(int index)
public int getFilterIndex(ClassFilter filter)
public void addRow(ClassFilter filter)
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void removeRow(int idx)
ItemRemovable
idx
and fire DELETE
event (e.g. by calling
AbstractTableModel.fireTableRowsDeleted(int, int)
)removeRow
in interface ItemRemovable