org.opensha.refFaultParamDb.gui.addEdit.connections
Class ConnectionsTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.opensha.refFaultParamDb.gui.addEdit.connections.ConnectionsTableModel
All Implemented Interfaces:
Serializable, TableModel

public class ConnectionsTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ConnectionsTableModel(FaultSectionConnectionList connections, Map<Integer,FaultSectionData> datas)
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 void setConnections(FaultSectionConnectionList connections)
           
 void setFaultSectionData(Map<Integer,FaultSectionData> datas)
           
 
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
 

Constructor Detail

ConnectionsTableModel

public ConnectionsTableModel(FaultSectionConnectionList connections,
                             Map<Integer,FaultSectionData> datas)
Method Detail

setConnections

public void setConnections(FaultSectionConnectionList connections)

setFaultSectionData

public void setFaultSectionData(Map<Integer,FaultSectionData> datas)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getColumnName

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

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)