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 TypeMethodDescriptionintgetColumnName(int col)convex.core.data.AccountStatusgetEntry(long ix)intgetValueAt(int rowIndex, int columnIndex)booleanisCellEditable(int row, int col)voidsetState(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, setValueAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col)- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setState
public void setState(convex.core.State newState) -
getEntry
public convex.core.data.AccountStatus getEntry(long ix)
-