| threaddemo.util.TwoWayListener
TwoWayListener | public interface TwoWayListener extends EventListener(Code) | | Listener for changes in the status of a two-way support.
author: Jesse Glick See Also: TwoWaySupport |
Method Summary | |
void | broken(TwoWayEvent.Broken<DM, UMD, DMD> evt) Called when an attempted derivation failed with an exception. | void | clobbered(TwoWayEvent.Clobbered<DM, UMD, DMD> evt) Called when changes in the underlying model were clobbered by changes to
the derived model. | void | derived(TwoWayEvent.Derived<DM, UMD, DMD> evt) Called when a new derived value has been produced. | void | forgotten(TwoWayEvent.Forgotten<DM, UMD, DMD> evt) Called when the reference to the derived model was garbage collected. | void | invalidated(TwoWayEvent.Invalidated<DM, UMD, DMD> evt) Called when a derived model has been invalidated. | void | recreated(TwoWayEvent.Recreated<DM, UMD, DMD> evt) Called when the derived model was changed and the underlying model recreated. |
broken | void broken(TwoWayEvent.Broken<DM, UMD, DMD> evt)(Code) | | Called when an attempted derivation failed with an exception.
The underlying model is thus considered to be in an inconsistent state.
Parameters: evt - the associated event with more information |
clobbered | void clobbered(TwoWayEvent.Clobbered<DM, UMD, DMD> evt)(Code) | | Called when changes in the underlying model were clobbered by changes to
the derived model.
Parameters: evt - the associated event with more information |
derived | void derived(TwoWayEvent.Derived<DM, UMD, DMD> evt)(Code) | | Called when a new derived value has been produced.
May have been a result of a synchronous or asynchronous derivation.
Parameters: evt - the associated event with more information |
forgotten | void forgotten(TwoWayEvent.Forgotten<DM, UMD, DMD> evt)(Code) | | Called when the reference to the derived model was garbage collected.
Parameters: evt - the associated event |
invalidated | void invalidated(TwoWayEvent.Invalidated<DM, UMD, DMD> evt)(Code) | | Called when a derived model has been invalidated.
Parameters: evt - the associated event with more information |
recreated | void recreated(TwoWayEvent.Recreated<DM, UMD, DMD> evt)(Code) | | Called when the derived model was changed and the underlying model recreated.
Parameters: evt - the associated event with more information |
|
|