org.apache.poi.hssf.contrib.view
Class SVTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.apache.poi.hssf.contrib.view.SVTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
public class SVTableModel
- extends javax.swing.table.AbstractTableModel
Sheet Viewer Table Model - The model for the Sheet Viewer just overrides things.
- Author:
- Andrew C. Oliver
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVTableModel
public SVTableModel(HSSFSheet st,
int maxcol)
SVTableModel
public SVTableModel(HSSFSheet st)
getColumnCount
public int getColumnCount()
getValueAt
public java.lang.Object getValueAt(int row,
int col)
getRowCount
public int getRowCount()
getColumnClass
public java.lang.Class getColumnClass(int c)
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel
setValueAt
public void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class javax.swing.table.AbstractTableModel
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.