Diamond Control Suite 3.0

diamondedge.swing.grid
Class AbstractGridRowModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by 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
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AbstractGridRowModel()
           
 
Method Summary
 void addGridRowListener(GridRowListener l)
          Adds a listener to the list that's notified each time a change to the data model occurs.
protected  void fireRowChanged(int eventType)
           
 int getRowPosition()
          Returns the current record number for the database cursor.
 void removeGridRowListener(GridRowListener l)
          Removes a listener from the list that's notified each time a change to the data model occurs.
 void setRowPosition(int rowNumber)
          Sets the current record number for the database cursor.
 
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
 
Methods inherited from interface javax.swing.table.TableModel
getColumnCount, getRowCount, getValueAt
 

Field Detail

curRow

protected int curRow
Constructor Detail

AbstractGridRowModel

public AbstractGridRowModel()
Method Detail

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 Control Suite 3.0

Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.