Class WhatIfPanel.ClassTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
jmva.panels.WhatIfPanel.ClassTableModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
WhatIfPanel

protected class WhatIfPanel.ClassTableModel extends AbstractTableModel
Table model for ClasTable
Author:
Bertoli Marco Date: 26-mag-2006 Time: 13.48.45
See Also:
  • Constructor Details

    • ClassTableModel

      protected ClassTableModel()
  • Method Details

    • getColumnCount

      public int getColumnCount()
      Returns the number of columns in the model. A JTable uses this method to determine how many columns it should create and display by default.
      Returns:
      the number of columns in the model
      See Also:
    • getRowCount

      public int getRowCount()
      Returns the number of rows in the model. A JTable uses this method to determine how many rows it should display. This method should be quick, as it is called frequently during rendering.
      Returns:
      the number of rows in the model
      See Also:
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
      Returns:
      the object at (rowIndex, columnIndex)
    • getColumnName

      public String getColumnName(int index)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel