object View
- Alphabetic
- By Inheritance
- View
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Aborted[TraceData](message: String, partialTrace: Seq[(TraceData, TraceEvent)]) extends RuntimeException with Product with Serializable
Represents situations where a
View
hasn’t reached its done state in the allotted number of ticks.Represents situations where a
View
hasn’t reached its done state in the allotted number of ticks.- TraceData
the type of the model-state descriptions in the trace
- partialTrace
the trace collected until the view was aborted.
- trait HasPauseToggle extends AnyRef
Add this trait on a
View
to give it a pause toggle.Add this trait on a
View
to give it a pause toggle. You’ll still need to calltogglePause
on whichever event you want to pause the view (e.g., user hitting space bar). - abstract class RefreshPolicy extends AnyRef
A superclass for the different policies for updating the image visible in a
View
in response to a change in the model.A superclass 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.
- sealed abstract class TraceEvent extends AnyRef
Describes a single tick or GUI event recorded while tracing a
View
.Describes a single tick or GUI event recorded while tracing a
View
. See theTraceEvent
companion object for specific subtypes.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val TicksPerSecondDefault: Int
The number of clock ticks (24) that a
View
aims to generate per clock tick, unless otherwise specified. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString: String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Always extends RefreshPolicy with Product with Serializable
The RefreshPolicy of seeking to update the image visible in a
View
as often as possible.The RefreshPolicy of seeking to update the image visible in a
View
as often as possible. (Time-consuming but always safe.)Note to students: You’re unlikely to need this for anything in O1.
- object TraceEvent
This companion object of the sealed
TraceEvent
class provides subtypes of the class, which can be used for tracing different kinds of events. - object UnlessIdentical extends RefreshPolicy with Product with Serializable
The RefreshPolicy of seeking to update the image visible in a
View
only when the current model object is non-identical in terms ofequals
than the previous one shown.The RefreshPolicy of seeking to update the image visible in a
View
only when the current model object is non-identical in terms ofequals
than the previous one shown.Note to students: You’re unlikely to need this for anything in O1.
- object UnlessSameReference extends RefreshPolicy with Product with Serializable
The RefreshPolicy of seeking to update the image visible in a
View
only when the current model object is different in identity than the previous one shown.The RefreshPolicy of seeking to update the image visible in a
View
only when the current model object is different in identity than the previous one shown.Note to students: You’re unlikely to need this for anything in O1.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.