RefreshPolicy

A supertype for the different policies for updating the image visible in a View in response to a change in the model.

Note to students: You’re unlikely to need this for anything in O1.

Companion:
object
class Object
trait Matchable
class Any
object Always.type
object UnlessIdentical.type

Value members

Abstract methods

Returns a Boolean that indicates whether the View should try to update itself after observing a given state of the model.

Returns a Boolean that indicates whether the View should try to update itself after observing a given state of the model.

Value parameters:
from

the model object at the previous update

to

the current model object (possibly the same object; possibly identical)