o1.gui.View$.RefreshPolicy
See theRefreshPolicy companion object
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.
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
-
Known subtypes
-
Members list
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.
Parameters
-
from
-
the model object at the previous update
-
to
-
the current model object (possibly the same object; possibly identical)
Attributes