Package com.inet.pdfc.results
Interface ResultModel.ResultModelChangeListener
-
- Enclosing class:
- ResultModel
public static interface ResultModel.ResultModelChangeListenerDefines a listener for the result model
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanerrorOcurred(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 Detail
-
errorOcurred
boolean errorOcurred(ExceptionData error, boolean interrupted, BasePresenter.ERROR_SOURCE source)
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
void modelChanged(ResultModel.ChangeInfo change)
Called by the model whenever the date in the model is changed.- Parameters:
change- this object describes the regions where the data was changed.
-
-