Package convex.gui.components.models
Class AccountsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
convex.gui.components.models.AccountsTableModel
- All Implemented Interfaces:
Serializable
,TableModel
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getColumnName(int col)
convex.core.data.AccountStatus
getEntry(long ix)
int
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int row, int col)
void
setState(convex.core.State newState)
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, removeTableModelListener, setValueAt
-
Constructor Details
-
AccountsTableModel
public AccountsTableModel(convex.core.State state)
-
-
Method Details
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col)- Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
getValueAt
- Specified by:
getValueAt
in interfaceTableModel
-
setState
public void setState(convex.core.State newState) -
getEntry
public convex.core.data.AccountStatus getEntry(long ix)
-