Class
caplin.grid

DummyGridDataProvider

A DummyGridDataProvider defines provider for grids that wish to connect to RTTP containers. this interface.

Constructor Summary

Attributes Name and Description
caplin.grid.DummyGridDataProvider( mFields, nSize)

Constructs a caplin.grid.DummyGridDataProvider.

Method Summary

Attributes Name and Description
void addDataProviderListener(caplin.grid.GridDataProviderListener oDataProviderListener)

Adds a GridDataProviderListener to wishes to listen to data updates.

void removeDataProviderListener()

Removes a GridDataProviderListener that no longer wishes to listen to data updates.

void setRequiredFields(int nStartIndex, int nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.

void setRowRange(int nStartIndex, int nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.

Methods implemented from class caplin.grid.GridDataProvider:
clearFilterExpression, clearGroupByField, clearSortRule, configureDataProvider, getAllFilterExpressions, getFilterExpression, getGroupByField, getPermissionKey, getSerializedState, getSortRule, getStartIndex, getSubjectIdentifiers, getTransformMode, injectData, pauseUpdates, requestAllData, resumeUpdates, setFilterExpression, setFilters, setGridView, setGroupByField, setRowData, setSortRule, setTransformMode, supportsFeature, terminateUpdates

Constructor Detail

caplin.grid.DummyGridDataProvider( mFields, nSize)

Constructs a caplin.grid.DummyGridDataProvider.

Parameters
mFields
nSize

Method Detail

void addDataProviderListener(caplin.grid.GridDataProviderListener oDataProviderListener)

Adds a GridDataProviderListener to wishes to listen to data updates.

Parameters
caplin.grid.GridDataProviderListener oDataProviderListener The listener to add.
See
#removeDataProviderListener

void removeDataProviderListener()

Removes a GridDataProviderListener that no longer wishes to listen to data updates.

Parameters
caplin.grid.GridDataProviderListener oDataProviderListener The listener to remove.
See
#addDataProviderListener

void setRequiredFields(int nStartIndex, int nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.

Parameters
int nStartIndex The start index of the first row within the range.
int nSize The number of rows within the range.

void setRowRange(int nStartIndex, int nSize)

Sets the start index and total number of rows that this DummyGridDataProvider should use when notifying listeners of row updates.

Parameters
int nStartIndex The start index of the first row within the range.
int nSize The number of rows within the range.