The snapshot class allows the state of a collection of properties to be preserved, so that it becomes possible to roll the properties back to a known state at a future point in time. The caplin.presenter.property.Properties class may be helpful in composing the list of properties to be snapshot, when those properties are distributed throughout the presentation model.
Attributes | Name and Description |
---|---|
|
caplin.presenter.property.Snapshot(Array pProperties)
Create a new |
Attributes | Name and Description |
---|---|
|
void
apply()
Revert the properties within the snapshot back to their state when the snapshot was originally taken. |
►
caplin.presenter.property.Snapshot(Array pProperties)
Create a new Snapshot
instance containing the current state
of the given properties.
Array | pProperties | The list of properties to be snapshot. |
►
void
apply()
Revert the properties within the snapshot back to their state when the snapshot was originally taken.