com.mekmaker.common.totalwarfare.mech
Class InternalStructureTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.mekmaker.common.totalwarfare.mech.InternalStructureTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class InternalStructureTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
static int COL_MAXARMORFACTOR_BIPED
           
static int COL_MAXARMORFACTOR_QUAD
           
static int COL_POINTS_CT
           
static int COL_POINTS_HD
           
static int COL_POINTS_LRA
           
static int COL_POINTS_LRL
           
static int COL_POINTS_LRT
           
static int COL_STRUCTURE_WEIGHT_ENDO
           
static int COL_STRUCTURE_WEIGHT_STANDARD
           
static int COL_TONNAGE
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
InternalStructureTableModel()
          Creates a new instance of MechInternalStructureTableModel
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 int getRowForTonnage(int tonnage)
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COL_TONNAGE

public static final int COL_TONNAGE
See Also:
Constant Field Values

COL_STRUCTURE_WEIGHT_STANDARD

public static final int COL_STRUCTURE_WEIGHT_STANDARD
See Also:
Constant Field Values

COL_STRUCTURE_WEIGHT_ENDO

public static final int COL_STRUCTURE_WEIGHT_ENDO
See Also:
Constant Field Values

COL_POINTS_HD

public static final int COL_POINTS_HD
See Also:
Constant Field Values

COL_POINTS_CT

public static final int COL_POINTS_CT
See Also:
Constant Field Values

COL_POINTS_LRT

public static final int COL_POINTS_LRT
See Also:
Constant Field Values

COL_POINTS_LRA

public static final int COL_POINTS_LRA
See Also:
Constant Field Values

COL_POINTS_LRL

public static final int COL_POINTS_LRL
See Also:
Constant Field Values

COL_MAXARMORFACTOR_BIPED

public static final int COL_MAXARMORFACTOR_BIPED
See Also:
Constant Field Values

COL_MAXARMORFACTOR_QUAD

public static final int COL_MAXARMORFACTOR_QUAD
See Also:
Constant Field Values
Constructor Detail

InternalStructureTableModel

public InternalStructureTableModel()
Creates a new instance of MechInternalStructureTableModel

Method Detail

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getRowForTonnage

public int getRowForTonnage(int tonnage)

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel