Class netscape.peas.TableChangeEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.peas.TableChangeEvent

netscape.peas.NotifyEvent
   |
   +----netscape.peas.TableChangeEvent

public class TableChangeEvent
extends NotifyEvent
The TableChangeEvent, along with the TableChangeListener allow components to be wired together and transfer entire database like tables of data to and from one another. The TableChangeEvent sends notifications to listeners about changes affecting the table itself (e.g. new row added, query re-executed, etc). Note that much of the acutal data transfer is accomplished using the RowChangeEvent and the PropertyChangeEvent, which are also fired in any "Table" connection.

Variable Index

 o ALL_CHANGED
 o COLUMN_INFO_CHANGED
 o CURRENT_ROW_CHANGED
 o CURRENT_ROW_NUMBER_CHANGED
 o NON_CURRENT_ROW_CHANGED
 o NUM_FETCHED
 o ROW_DELETED
 o ROW_INSERTED
 o ROWS_INSERTED
 o TABLE_EMPTY
 o UNKNOWN_TYPE
 o VALUE_CHANGED

Method Index

 o getChangeType()
 o getColumnAffected()
 o getNewValue()
 o getRowAffected()
 o getTableProvider()

Variables

 o UNKNOWN_TYPE
  public final static int UNKNOWN_TYPE
 o COLUMN_INFO_CHANGED
  public final static int COLUMN_INFO_CHANGED
 o VALUE_CHANGED
  public final static int VALUE_CHANGED
 o CURRENT_ROW_NUMBER_CHANGED
  public final static int CURRENT_ROW_NUMBER_CHANGED
 o CURRENT_ROW_CHANGED
  public final static int CURRENT_ROW_CHANGED
 o NON_CURRENT_ROW_CHANGED
  public final static int NON_CURRENT_ROW_CHANGED
 o ROWS_INSERTED
  public final static int ROWS_INSERTED
 o ROW_INSERTED
  public final static int ROW_INSERTED
 o ROW_DELETED
  public final static int ROW_DELETED
 o TABLE_EMPTY
  public final static int TABLE_EMPTY
 o ALL_CHANGED
  public final static int ALL_CHANGED
 o NUM_FETCHED
  public final static int NUM_FETCHED

Methods

 o getChangeType
  public int getChangeType()
 o getRowAffected
  public int getRowAffected()
 o getColumnAffected
  public int getColumnAffected()
 o getNewValue
  public Object getNewValue()
 o getTableProvider
  public TableProvider getTableProvider()

All Packages  Class Hierarchy  This Package  Previous  Next  Index