class Animation extends AnyRef
An Animation
object has an iterable sequence of Pics which it can show in a
separate window (a simple View).
- Self Type
- Animation
- Alphabetic
- By Inheritance
- Animation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Animation(frames: Iterable[Pic], frameRate: Double, terminateOnClose: Boolean, atEnd: AtEnd)
- frames
the Pics that the animation consists of, in order; they should be identical in size
- frameRate
a target speed (in Pics per second), which the
Animation
will roughly observe if possible- terminateOnClose
whether the entire application should exit when the animation window is closed
- atEnd
what should happen once the animation reaches the final Pic
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val atEnd: AtEnd
- 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
- val frameRate: Double
- def frameStream: LazyList[Pic]
Returns the frames of this animation as a
LazyList
.Returns the frames of this animation as a
LazyList
. If atEnd is set to Animation.Loop, this will be a repeating, infinite list. Otherwise, it just contains each frame once, as set by the constructor parameter. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hide(): Unit
Closes the view that displays the animation.
Closes the view that displays the animation.
- See also
- 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()
- def show(): Unit
Starts a view that displays the animation.
Starts a view that displays the animation.
- See also
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val terminateOnClose: Boolean
- 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])
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.