Interface IModelListener<M extends IModel>

    • Method Detail

      • notifyReplaced

        void notifyReplaced​(M oldModel,
                            M newModel)
        Is called to notify that oldModel is replaced by newModel. The listener registrations for oldModel will be adjusted accordingly.
        Do not modify the the listeners of oldModel or newModel during this method.
        Parameters:
        oldModel - the old model being replaced
        newModel - the new model (the replacement)