scalafx.animation

Timeline

class Timeline extends Animation with SFXDelegate[Timeline]

Wraps a Timeline.

Linear Supertypes
Animation, SFXDelegate[Timeline], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Timeline
  2. Animation
  3. SFXDelegate
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

    The constructor of Timeline

    The constructor of Timeline

    targetFramerate

    The custom target frame rate for this Timeline

    keyFrames

    The KeyFrames of this Timeline.

  2. new Timeline(targetFramerate: Double)

    The constructor of Timeline

    The constructor of Timeline

    targetFramerate

    The custom target frame rate for this Timeline

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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def autoReverse: BooleanProperty

    Defines whether this Animation reverses direction on alternating cycles.

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

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

    Definition Classes
    Animation
  9. def clone(): AnyRef

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

    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
  11. def currentTime: ReadOnlyObjectProperty[Duration]

    Defines the Animation's play head position.

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

    Definition Classes
    Animation
  12. def cycleCount: IntegerProperty

    Defines the number of cycles in this Animation.

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

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

    Definition Classes
    Animation
  14. def cycleDuration: ReadOnlyObjectProperty[Duration]

    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
  15. def delay: ObjectProperty[Duration]

    Delays the start of an Animation.

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

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

    Definition Classes
    Animation
  17. val delegate: Timeline

    JavaFX Timeline to be delegated.

    JavaFX Timeline to be delegated.

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

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

    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
  20. def finalize(): Unit

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

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

    returns

    The delegate hashcode

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

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

    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
  25. def jumpTo(time: Duration): Unit

    Jumps to a given position in this Animation.

    Jumps to a given position in this Animation.

    time

    the new position

    Definition Classes
    Animation
  26. def keyFrames: ObservableList[KeyFrame]

    The KeyFrames of this Timeline.

  27. def keyFrames_=(kfs: Seq[_ <: scalafx.animation.KeyFrame]): Unit

  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

    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
  32. def onFinished_=(handler: EventHandler[ActionEvent]): Unit

    Definition Classes
    Animation
  33. def pause(): Unit

    Pauses the Animation.

    Pauses the Animation.

    Definition Classes
    Animation
  34. def play(): Unit

    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
  35. def playFrom(cuePoint: String): Unit

    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
  36. def playFrom(time: Duration): Unit

    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
  37. def playFromStart(): Unit

    Plays an Animation from initial position in forward direction.

    Plays an Animation from initial position in forward direction.

    Definition Classes
    Animation
  38. def rate: DoubleProperty

    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
  39. def rate_=(r: Double): Unit

    Definition Classes
    Animation
  40. def status: ReadOnlyObjectProperty[Status]

    The status of the Animation.

    The status of the Animation.

    Definition Classes
    Animation
  41. def stop(): Unit

    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
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def targetFramerate: Double

    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
  44. def toString(): String

    returns

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

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

    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
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Animation

Inherited from SFXDelegate[Timeline]

Inherited from AnyRef

Inherited from Any