public interface PreferenceModelListener
PreferenceModel
, gets informed about changes in the model.Modifier and Type | Method and Description |
---|---|
void |
preferenceAdded(PreferenceModel model,
int beginIndex,
int endIndex)
Called when new preferences have been added to
model . |
void |
preferenceChanged(PreferenceModel model,
int beginIndex,
int endIndex)
Called when some preferences have been changed.
|
void |
preferenceRemoved(PreferenceModel model,
int beginIndex,
int endIndex)
Called when some preferences have been removed from
model . |
void preferenceAdded(PreferenceModel model, int beginIndex, int endIndex)
model
.model
- the model that changedbeginIndex
- the index of the first new preferenceendIndex
- the index of the last new preferencevoid preferenceRemoved(PreferenceModel model, int beginIndex, int endIndex)
model
.model
- the model that changedbeginIndex
- the old index of the first preference that was removedendIndex
- the old index of the last preference that was removedvoid preferenceChanged(PreferenceModel model, int beginIndex, int endIndex)
PreferenceOperation
s.model
- the source of the eventbeginIndex
- the index of the first preference that changedendIndex
- the index of the last preference that changeds