Interface
caplin.grid.dataprovider.expandable

ChildRowDataProviderListener

ChildRowDataProviderListener defines the interface caplin.grid.dataprovider.expandable.ChildRowDataProviders should call when child row data changes. This interface is implemented by the caplin.grid.dataprovider.expandable.ExpandableRowGridDataProvider class.

Constructor Summary

Attributes Name and Description
caplin.grid.dataprovider.expandable.ChildRowDataProviderListener()

Method Summary

Attributes Name and Description
void onChildContainerSizeChanged(String sParentSubject, int nNewSize, int nOldSize)

Called to notify the ChildRowDataProviderListener that there has been a change in the number of child rows in the child row container.

void onChildRowContentsChanged(String sParentSubject, int nChildIndex, Map mChildUpdates)

Used to push new child row record data from the child row data provider to the ChildRowDataProviderListener.

Constructor Detail

caplin.grid.dataprovider.expandable.ChildRowDataProviderListener()

Method Detail

void onChildContainerSizeChanged(String sParentSubject, int nNewSize, int nOldSize)

Called to notify the ChildRowDataProviderListener that there has been a change in the number of child rows in the child row container.

Parameters
String sParentSubject The subject of the row that this child data relates to.
int nNewSize The new size of the child row container.
int nOldSize The old size of the child row container.

void onChildRowContentsChanged(String sParentSubject, int nChildIndex, Map mChildUpdates)

Used to push new child row record data from the child row data provider to the ChildRowDataProviderListener.

Parameters
String sParentSubject The subject of the row that this child data relates to.
int nChildIndex The row index that this data relates to, this is relative to the child row data container not the overall grid view.
Map mChildUpdates The map of updated data.