diamondedge.swing.grid
Class AbstractGridRowModel
java.lang.Object
javax.swing.table.AbstractTableModel
diamondedge.swing.grid.AbstractGridRowModel
- All Implemented Interfaces:
- Serializable, TableModel
- Direct Known Subclasses:
- ResultSetTableModel
public abstract class AbstractGridRowModel
- extends AbstractTableModel
- See Also:
- Serialized Form
Field Summary |
protected int |
curRow
|
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
curRow
protected int curRow
AbstractGridRowModel
public AbstractGridRowModel()
getRowPosition
public int getRowPosition()
- Returns the current record number for the database cursor.
setRowPosition
public void setRowPosition(int rowNumber)
- Sets the current record number for the database cursor.
addGridRowListener
public void addGridRowListener(GridRowListener l)
- Adds a listener to the list that's notified each time a change
to the data model occurs.
- Parameters:
l
- the TableModelListener
removeGridRowListener
public void removeGridRowListener(GridRowListener l)
- Removes a listener from the list that's notified each time a
change to the data model occurs.
- Parameters:
l
- the TableModelListener
fireRowChanged
protected void fireRowChanged(int eventType)
Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.