    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface netscape.peas.RowReceiver

public interface RowReceiver
extends RowChangeListener

The RowReceiver receiver interface is implemented by objects which support the receiving of a "record" of data data is received through individual calls to oNCurrentRowsColumnChanged. One of the two objects is considered the "server" in the relationship. The "server" is responsible for defining column names, which is done with a call to initializeColumnNames on or after the registration of this interface as the listner interface for the "server"'s property change event.

##

initializeColumnInfo(RowProvider)
  This method can be called by the data provider to inform us (the client) of its column names
setValueByName(String, Object)
  Given a column's name, set its value to be this new value.
setValueByName(String, Object, NotifyList)
setValueByNumber(int, Object, NotifyList)
  Different flavor "dynamic-setter".

##

setValueByName

     public abstract void setValueByName(String sColumnName,
                                         Object oNewValue)

  Given a column's name, set its value to be this new value. This is a "dymanic-setter". See @RowReceiver.getValueByName

setValueByName

     public abstract void setValueByName(String sColumnName,
                                         Object oNewValue,
                                         NotifyList oNotify)

setValueByNumber

     public abstract void setValueByNumber(int iColumnNumber,
                                           Object oNewValue,
                                           NotifyList oNotify)

  Different flavor "dynamic-setter". See @setValueByName.

initializeColumnInfo

     public abstract boolean initializeColumnInfo(RowProvider oRowProvider)

  This method can be called by the data provider to inform us (the client) of its column names

    All Packages  Class Hierarchy  This Package  Previous  Next  Index