Class/Object

scalafx.animation

Timeline

Related Docs: object Timeline | package animation

Permalink

class Timeline extends Animation with SFXDelegate[javafx.animation.Timeline]

Wraps a Timeline.

Source
Timeline.scala
Linear Supertypes
Animation, SFXDelegate[javafx.animation.Timeline], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Timeline
  2. Animation
  3. SFXDelegate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Timeline(targetFramerate: Double, keyFrames: Seq[_ <: KeyFrame])

    Permalink

    The constructor of Timeline

    The constructor of Timeline

    targetFramerate

    The custom target frame rate for this Timeline

    keyFrames

    The scalafx.animation.KeyFrames of this Timeline.

  2. new Timeline(targetFramerate: Double)

    Permalink

    The constructor of Timeline

    The constructor of Timeline

    targetFramerate

    The custom target frame rate for this Timeline

  3. new Timeline(delegate: javafx.animation.Timeline = new jfxa.Timeline())

    Permalink

    Creates a new ScalaFX Timeline from a JavaFX Timeline.

    Creates a new ScalaFX Timeline from a JavaFX Timeline.

    delegate

    JavaFX Timeline to be delegated.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def autoReverse: BooleanProperty

    Permalink

    Defines whether this Animation reverses direction on alternating cycles.

    Defines whether this Animation reverses direction on alternating cycles. Default value: false.

    Definition Classes
    Animation
  6. def autoReverse_=(ar: Boolean): Unit

    Permalink
    Definition Classes
    Animation
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def currentRate: ReadOnlyDoubleProperty

    Permalink

    Read-only variable to indicate current direction/speed at which the Animation is being played.

    Read-only variable to indicate current direction/speed at which the Animation is being played. Default value: 0.0.

    Definition Classes
    Animation
  9. def currentTime: ReadOnlyObjectProperty[Duration]

    Permalink

    Defines the Animation's play head position.

    Defines the Animation's play head position. Default value: 0ms.

    Definition Classes
    Animation
  10. def cycleCount: IntegerProperty

    Permalink

    Defines the number of cycles in this Animation.

    Defines the number of cycles in this Animation. Default value: 0ms

    Definition Classes
    Animation
  11. def cycleCount_=(r: Int): Unit

    Permalink
    Definition Classes
    Animation
  12. def cycleDuration: ReadOnlyObjectProperty[Duration]

    Permalink

    Read-only variable to indicate the duration of one cycle of this Animation: the time it takes to play from time 0 to the KeyFrame with the largest time.

    Read-only variable to indicate the duration of one cycle of this Animation: the time it takes to play from time 0 to the KeyFrame with the largest time. Default value: 1.0

    Definition Classes
    Animation
  13. def delay: ObjectProperty[Duration]

    Permalink

    Delays the start of an Animation.

    Delays the start of an Animation. Default value: 0ms.

    Definition Classes
    Animation
  14. def delay_=(d: Duration): Unit

    Permalink
    Definition Classes
    Animation
  15. val delegate: javafx.animation.Timeline

    Permalink

    JavaFX Timeline to be delegated.

    JavaFX Timeline to be delegated.

    Definition Classes
    TimelineAnimationSFXDelegate
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(ref: Any): Boolean

    Permalink

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def jumpTo(cuePoint: String): Unit

    Permalink

    Jumps to a predefined position in this Animation.

    Jumps to a predefined position in this Animation.

    cuePoint

    the name of the cue point

    Definition Classes
    Animation
  23. def jumpTo(time: Duration): Unit

    Permalink

    Jumps to a given position in this Animation.

    Jumps to a given position in this Animation.

    time

    the new position

    Definition Classes
    Animation
  24. def keyFrames: ObservableList[javafx.animation.KeyFrame]

    Permalink

    The scalafx.animation.KeyFrames of this Timeline.

  25. def keyFrames_=(kfs: Seq[_ <: KeyFrame]): Unit

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def onFinished: ObjectProperty[EventHandler[ActionEvent]]

    Permalink

    The action to be executed at the conclusion of this Animation.

    The action to be executed at the conclusion of this Animation.

    Definition Classes
    Animation
  30. def onFinished_=(handler: EventHandler[ActionEvent]): Unit

    Permalink
    Definition Classes
    Animation
  31. def pause(): Unit

    Permalink

    Pauses the Animation.

    Pauses the Animation.

    Definition Classes
    Animation
  32. def play(): Unit

    Permalink

    Plays Animation from current position in the direction indicated by rate.

    Plays Animation from current position in the direction indicated by rate.

    Definition Classes
    Animation
  33. def playFrom(cuePoint: String): Unit

    Permalink

    A convenience method to play this Animation from a predefined position.

    A convenience method to play this Animation from a predefined position.

    cuePoint

    name of the cue point

    Definition Classes
    Animation
  34. def playFrom(time: Duration): Unit

    Permalink

    A convenience method to play this Animation from a specific position.

    A convenience method to play this Animation from a specific position.

    time

    position where to play from

    Definition Classes
    Animation
  35. def playFromStart(): Unit

    Permalink

    Plays an Animation from initial position in forward direction.

    Plays an Animation from initial position in forward direction.

    Definition Classes
    Animation
  36. def rate: DoubleProperty

    Permalink

    Defines the direction/speed at which the Animation is expected to be played.

    Defines the direction/speed at which the Animation is expected to be played. Default value: 1.0

    Definition Classes
    Animation
  37. def rate_=(r: Double): Unit

    Permalink
    Definition Classes
    Animation
  38. def status: ReadOnlyObjectProperty[Status]

    Permalink

    The status of the Animation.

    The status of the Animation.

    Definition Classes
    Animation
  39. def stop(): Unit

    Permalink

    Stops the Animation and resets the play head to its initial position.

    Stops the Animation and resets the play head to its initial position.

    Definition Classes
    Animation
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def targetFramerate: Double

    Permalink

    The target framerate is the maximum framerate at which this Animation will run, in frames per second.

    The target framerate is the maximum framerate at which this Animation will run, in frames per second.

    Definition Classes
    Animation
  42. def toString(): String

    Permalink

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  43. def totalDuration: ReadOnlyObjectProperty[Duration]

    Permalink

    Read-only variable to indicate the total duration of this Animation, including repeats.

    Read-only variable to indicate the total duration of this Animation, including repeats. Default value: 0ms

    Definition Classes
    Animation
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Animation

Inherited from SFXDelegate[javafx.animation.Timeline]

Inherited from AnyRef

Inherited from Any

Ungrouped