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 onChildRowRecordContentsChanged(String sExpandedRowSubject, int nChildRowIndex, Map mChildRowUpdates)

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

void onExpandedSubjectSizeChanged(String sExpandedRowSubject, 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.

Constructor Detail

caplin.grid.dataprovider.expandable.ChildRowDataProviderListener()

Method Detail

void onChildRowRecordContentsChanged(String sExpandedRowSubject, int nChildRowIndex, Map mChildRowUpdates)

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

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

void onExpandedSubjectSizeChanged(String sExpandedRowSubject, 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 sExpandedRowSubject 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.