Class
caplin.presenter.property

Snapshot

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.

Constructor Summary

Attributes Name and Description
caplin.presenter.property.Snapshot(Array pProperties)

Create a new Snapshot instance containing the current state of the given properties.

Method Summary

Attributes Name and Description
void apply()

Revert the properties within the snapshot back to their state when the snapshot was originally taken.

Constructor Detail

caplin.presenter.property.Snapshot(Array pProperties)

Create a new Snapshot instance containing the current state of the given properties.

Parameters
Array pProperties The list of properties to be snapshot.

Method Detail

void apply()

Revert the properties within the snapshot back to their state when the snapshot was originally taken.