Interface powersoft.jcm.db.DataTarget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface powersoft.jcm.db.DataTarget

public interface DataTarget
extends Object
An interface exposed by a bound object. This interface is what the data source uses to communicate with the object.
See Also:
DataTargetBase, DataSource

Method Index

 o getDataColumns()
 o getDataSource()
 o handleDataAvailable(DataAvailableEvent)
The data source calls this method when it has data available for the target (such as when the current row changes).
 o handleDataClose(DataCloseEvent)
The data source calls this method when its data set is no longer available.
 o handleDataOpen(DataOpenEvent)
The data source calls this method when a new set of data is available.
 o handleDataRequest(DataRequestEvent)
The data source calls this method when it wishes the target to send changed data back to the source.
 o setDataColumns(String)
 o setDataSource(DataSource)

Methods

 o handleDataOpen
  public abstract void handleDataOpen(DataOpenEvent event)
The data source calls this method when a new set of data is available. The target can prepare itself and can also make calls back on the source to bind columns, etc.
 o handleDataAvailable
  public abstract void handleDataAvailable(DataAvailableEvent event)
The data source calls this method when it has data available for the target (such as when the current row changes). The default implementation is to simply call the DataAvailable event on the event object.
 o handleDataRequest
  public abstract void handleDataRequest(DataRequestEvent event)
The data source calls this method when it wishes the target to send changed data back to the source. The default implementation is to simply call the DataRequest event on the event object.
 o handleDataClose
  public abstract void handleDataClose(DataCloseEvent event)
The data source calls this method when its data set is no longer available.
 o getDataSource
  public abstract DataSource getDataSource()
 o setDataSource
  public abstract void setDataSource(DataSource source)
 o getDataColumns
  public abstract String getDataColumns()
 o setDataColumns
  public abstract void setDataColumns(String str)

All Packages  Class Hierarchy  This Package  Previous  Next  Index