Class TorusTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
convex.gui.components.models.TorusTableModel
All Implemented Interfaces:
Serializable, TableModel

public class TorusTableModel extends AbstractTableModel
See Also:
  • Field Details

    • state

      protected convex.core.State state
    • torus

      protected convex.core.data.Address torus
    • asset

      protected convex.core.data.Address asset
  • Constructor Details

    • TorusTableModel

      public TorusTableModel(convex.core.State state)
  • Method Details

    • getColumnName

      public String getColumnName(int col)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getRowCount

      public int getRowCount()
    • getMarkets

      public convex.core.data.AMap<convex.core.data.ACell,convex.core.data.ACell> getMarkets()
    • getColumnCount

      public int getColumnCount()
    • isCellEditable

      public boolean isCellEditable(int row, int col)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class AbstractTableModel
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
    • setState

      public void setState(convex.core.State newState)
    • getEntry

      public convex.core.data.AccountStatus getEntry(long ix)