public abstract class MultChoiceModel extends javax.swing.table.AbstractTableModel implements ModifiedInformer
Modifier and Type | Field and Description |
---|---|
protected int |
columns |
protected java.lang.Object[][] |
data |
protected boolean[] |
oriSelected |
protected int |
rows |
Constructor and Description |
---|
MultChoiceModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getColumnClass(int c) |
int |
getColumnCount() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int row,
int col) |
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
boolean |
isRowModified(int row)
Returns true if the specified row has changed.
|
void |
setValueAt(java.lang.Object value,
int row,
int col) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
protected int rows
protected int columns
protected java.lang.Object[][] data
protected boolean[] oriSelected
public boolean isModified()
ModifiedInformer
isModified
in interface ModifiedInformer
public boolean isRowModified(int row)
row
- the row to checkpublic int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
public java.lang.Class<?> getColumnClass(int c)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de