ukacgla_2inputKMap
Class Ex02_Frame.KMapTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--ukacgla_KMap.KMap_Frame.MyTableModel
              |
              +--ukacgla_2inputKMap.Ex02_Frame.KMapTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
Ex02_Frame

protected class Ex02_Frame.KMapTableModel
extends KMap_Frame.MyTableModel

See Also:
Serialized Form

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
Ex02_Frame.KMapTableModel(java.lang.String[] c)
          An array of random numbers is generated using the Ex02_Random object.
 
Method Summary
 void proofReadTable()
          Ensures that the table will not be made exclusively of ones or zeros Check each cell in turn.
 
Methods inherited from class ukacgla_KMap.KMap_Frame.MyTableModel
getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ex02_Frame.KMapTableModel

public Ex02_Frame.KMapTableModel(java.lang.String[] c)
An array of random numbers is generated using the Ex02_Random object. This array is used to fill the 2D table model with 0's or 1's.
Method Detail

proofReadTable

public void proofReadTable()
Ensures that the table will not be made exclusively of ones or zeros Check each cell in turn. Increment counter for each 0 or 1 found.
Overrides:
proofReadTable in class KMap_Frame.MyTableModel