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
-
getDataColumns()
-
-
getDataSource()
-
-
handleDataAvailable(DataAvailableEvent)
- The data source calls this method when it has data
available for the target (such as when the current
row changes).
-
handleDataClose(DataCloseEvent)
- The data source calls this method when its data set
is no longer available.
-
handleDataOpen(DataOpenEvent)
- The data source calls this method when a new set of
data is available.
-
handleDataRequest(DataRequestEvent)
- The data source calls this method when it wishes
the target to send changed data back to the source.
-
setDataColumns(String)
-
-
setDataSource(DataSource)
-
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.
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.
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.
handleDataClose
public abstract void handleDataClose(DataCloseEvent event)
- The data source calls this method when its data set
is no longer available.
getDataSource
public abstract DataSource getDataSource()
setDataSource
public abstract void setDataSource(DataSource source)
getDataColumns
public abstract String getDataColumns()
setDataColumns
public abstract void setDataColumns(String str)
All Packages Class Hierarchy This Package Previous Next Index