|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceListener
Method Summary | |
---|---|
void |
DataSourceIndexRangeChanged(DataSource ds,
long startIndex,
long lastIndex)
Called when the range of valid index changed |
void |
DataSourceInfoChanged(DataSource ds,
DataInfo newInfo)
Called when the information about the data source changed |
void |
DataSourceOrderChanged(DataSource ds,
int newOrder)
If defined, called when the order of the source changed. |
void |
DataSourceReplaced(DataSource oldData,
DataSource newData)
Called when a data source is replaced by another one |
void |
DataSourceValueChanged(DataSource ds,
long minIndex,
long maxIndex)
Called when at least a value changed in the data source. |
void |
DataSourceValueRangeChanged(DataSource ds)
Called when the range of possible values changed, if defined. |
Method Detail |
---|
void DataSourceValueChanged(DataSource ds, long minIndex, long maxIndex)
ds
- The data source that changedminIndex
- Lower bound of the range where values changedmaxIndex
- Higher bound of the range where values changedvoid DataSourceIndexRangeChanged(DataSource ds, long startIndex, long lastIndex)
ds
- The data source that changedstartIndex
- The new start IndexlastIndex
- The new last indexvoid DataSourceInfoChanged(DataSource ds, DataInfo newInfo)
ds
- The data source that changednewInfo
- void DataSourceValueRangeChanged(DataSource ds)
ds
- The data source that changedminValue
- The new minimum value taken by this data source elements.maxValue
- The new maximum value taken by this data source elements.void DataSourceOrderChanged(DataSource ds, int newOrder)
ds
- The data source that changednewOrder
- void DataSourceReplaced(DataSource oldData, DataSource newData)
oldData
- newdata
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |