Package com.inet.pdfc.results
Interface ResultModel.ResultModelChangeListener
- Enclosing class:
- ResultModel
public static interface ResultModel.ResultModelChangeListener
Defines a listener for the result model
-
Method Summary
Modifier and TypeMethodDescriptionboolean
errorOcurred
(ExceptionData error, boolean interrupted, BasePresenter.ERROR_SOURCE source) Called by the model whenever certain errors occur.void
modelChanged
(ResultModel.ChangeInfo change) Called by the model whenever the date in the model is changed.
-
Method Details
-
errorOcurred
Called by the model whenever certain errors occur.- Parameters:
error
- the Error which occurredinterrupted
- true if the comparison was interrupted by this errorsource
- the Source of the error- Returns:
true
if the user was notified,false
if the listener is not meant for user feedback (e.G. a PDF export)
-
modelChanged
Called by the model whenever the date in the model is changed.- Parameters:
change
- this object describes the regions where the data was changed.
-