org.jopendocument.dom.spreadsheet
Class SheetTableModel<D extends ODDocument>

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.jopendocument.dom.spreadsheet.SheetTableModel<D>
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
SheetTableModel.MutableTableModel

public class SheetTableModel<D extends ODDocument>
extends AbstractTableModel

See Also:
Serialized Form

Nested Class Summary
static class SheetTableModel.MutableTableModel<D extends ODDocument>
           
 
Field Summary
protected  int column
           
protected  int lastCol
           
protected  int lastRow
           
protected  int row
           
protected  Table<D> table
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
protected  void check(int rowIndex, int columnIndex)
           
 boolean equals(Object obj)
           
 int getColumnCount()
           
 Cell<D> getImmutableCellAt(int rowIndex, int columnIndex)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 int hashCode()
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected final Table<D extends ODDocument> table

row

protected final int row

column

protected final int column

lastRow

protected final int lastRow

lastCol

protected final int lastCol
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

getImmutableCellAt

public Cell<D> getImmutableCellAt(int rowIndex,
                                  int columnIndex)

check

protected final void check(int rowIndex,
                           int columnIndex)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 jOpenDocument All Rights Reserved.