logbook.table
Class LogBookTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by logbook.table.LogBookTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class LogBookTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
LogBookTableModel()
          Creates a new instance of LogBookTableModel
 
Method Summary
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
          Important overiden method!
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
          Important overiden method!
 void setLogBook(LogBook logBook)
           
 
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

LogBookTableModel

public LogBookTableModel()
Creates a new instance of LogBookTableModel

Method Detail

setLogBook

public void setLogBook(LogBook logBook)
Parameters:
logBook -

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

public java.lang.String getColumnName(int col)
Important overiden method!

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Important overiden method!



Copyright © JFlightLog GNU