gzz.diff
Interface DeltaDim

gzz.Dim gzz.diff.DeltaDim gzz.impl.AbstractDim gzz.impl.SimpleDim gzz.impl.NormalDim ../../../Gzz_Backend.gen.html#impldims impldims_small
All Known Implementing Classes:
NormalDim

public interface DeltaDim

A dimension whose changes can be controlled.


Method Summary
 void applyDelta(DimDelta m)
          Apply a delta to this dimension.
 DimDelta checkpointDelta()
          Get the set of changes.
 DimDelta getDeltaFromZero()
          Get the set of changes needed to take a dimension from zero to the current state of this dimension.
 

Method Detail

checkpointDelta

public DimDelta checkpointDelta()
Get the set of changes. Returns the changes since a previous getDelta in a DimDelta object.


getDeltaFromZero

public DimDelta getDeltaFromZero()
Get the set of changes needed to take a dimension from zero to the current state of this dimension.


applyDelta

public void applyDelta(DimDelta m)
Apply a delta to this dimension. Also triggers observers. However, a change applied by applyDelta is NOT visible in the next getDelta().