public interface ChangeTracker
| Modifier and Type | Method and Description |
|---|---|
int |
getChangeCount()
Determines number of detected changes
|
Set<String> |
getChangedProperties()
Returns a set of changed property names.
|
boolean |
isChanged()
Determines whether any change has happened so far.
|
void |
markChange()
Marks a change without specific binding to a named property.
|
void |
markChange(String propertyName)
Marks a change in a named property.
|
void |
resetChanges()
Reset the tracker to initial state, where there are no changes
recorded.
|
boolean isChanged()
true if a change was recordedint getChangeCount()
Set<String> getChangedProperties()
void markChange()
void markChange(String propertyName)
propertyName - name of changed propertyvoid resetChanges()
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.