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.
Attributes
- Graph
-
- Supertypes
- Self type
-
View.type
Members list
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).
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.
Attributes
- Companion
- trait
- Supertypes
- Self type
-
RefreshPolicy.type
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.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Value members
Concrete fields
The number of clock ticks (24) that a View
aims to generate per clock tick, unless otherwise specified.
The number of clock ticks (24) that a View
aims to generate per clock tick, unless otherwise specified.