public class SimpleStateListTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
List |
data
A list of state : byte[]
|
listenerList
Constructor and Description |
---|
SimpleStateListTableModel(RegulatoryGraph g) |
SimpleStateListTableModel(RegulatoryGraph g,
boolean isEditable) |
SimpleStateListTableModel(RegulatoryGraph g,
boolean isEditable,
List data) |
SimpleStateListTableModel(RegulatoryGraph g,
List data) |
Modifier and Type | Method and Description |
---|---|
void |
addState(byte[] value) |
int |
getColumnCount() |
String |
getColumnName(int col) |
byte[] |
getMaxValues() |
int |
getRowCount() |
byte[] |
getState(int row) |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int row,
int col) |
void |
setValueAt(Object value,
int row,
int col) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
public List data
public SimpleStateListTableModel(RegulatoryGraph g)
public SimpleStateListTableModel(RegulatoryGraph g, List data)
public SimpleStateListTableModel(RegulatoryGraph g, boolean isEditable)
public SimpleStateListTableModel(RegulatoryGraph g, boolean isEditable, List data)
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object value, int row, int col)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
value
- must be a Stringpublic void addState(byte[] value)
public byte[] getState(int row)
public byte[] getMaxValues()
Copyright © 2005–2020. All rights reserved.