    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class netscape.peas.TableChangeEvent

    java.lang.Object
       |
       +----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.

##

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

##

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

##

UNKNOWN_TYPE

     public static final int UNKNOWN_TYPE

COLUMN_INFO_CHANGED

     public static final int COLUMN_INFO_CHANGED

VALUE_CHANGED

     public static final int VALUE_CHANGED

CURRENT_ROW_NUMBER_CHANGED

     public static final int CURRENT_ROW_NUMBER_CHANGED

CURRENT_ROW_CHANGED

     public static final int CURRENT_ROW_CHANGED

NON_CURRENT_ROW_CHANGED

     public static final int NON_CURRENT_ROW_CHANGED

ROWS_INSERTED

     public static final int ROWS_INSERTED

ROW_INSERTED

     public static final int ROW_INSERTED

ROW_DELETED

     public static final int ROW_DELETED

TABLE_EMPTY

     public static final int TABLE_EMPTY

ALL_CHANGED

     public static final int ALL_CHANGED

NUM_FETCHED

     public static final int NUM_FETCHED

##

getChangeType

     public int getChangeType()

getRowAffected

     public int getRowAffected()

getColumnAffected

     public int getColumnAffected()

getNewValue

     public Object getNewValue()

getTableProvider

     public TableProvider getTableProvider()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index