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 TypeMethodDescriptionbooleanerrorOcurred(ExceptionData error, boolean interrupted, BasePresenter.ERROR_SOURCE source) Called by the model whenever certain errors occur.voidmodelChanged(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:
trueif the user was notified,falseif 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.
-