View
This object holds miscellaneous utilities (traits, constants, etc.) that can be
used in combinations with View
s. These utilities are generic to the o1.gui.mutable
and o1.gui.immutable View
variants.
Note to students: You’re unlikely to need this for anything in O1.
Type members
Classlikes
Add this trait on a View
to give it a pause toggle. You’ll still need to call togglePause
on whichever event you want to pause the view (e.g., user hitting space bar).
Add this trait on a View
to give it a pause toggle. You’ll still need to call togglePause
on whichever event you want to pause the view (e.g., user hitting space bar).
This companion object provides predefines instances of class RefreshPolicy.
This companion object provides predefines instances of class RefreshPolicy.
Note to students: You’re unlikely to need this for anything in O1.
- Companion:
- class
A supertype for the different policies for updating the image visible in a View
in
response to a change in the model.
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