FillTransition

class FillTransition(val delegate: FillTransition) extends Transition with SFXDelegate[FillTransition]
Value Params
delegate

JavaFX FillTransition to be delegated.

Constructor

Creates a new ScalaFX FillTransition from a JavaFX FillTransition.

Companion
object
class Animation
trait SFXDelegate[FillTransition]
class Object
trait Matchable
class Any

Value members

Constructors

def this(duration: Duration, shape: Shape, fromValue: Color, toValue: Color)

The constructor of FillTransition

The constructor of FillTransition

Value Params
duration

The duration of the FillTransition

fromValue

The start value of the color-animation

shape

The shape which filling will be animated

toValue

The end value of the color-animation

def this(duration: Duration, fromValue: Color, toValue: Color)

The constructor of FillTransition

The constructor of FillTransition

Value Params
duration

The duration of the FillTransition

fromValue

The start value of the color-animation

toValue

The end value of the color-animation

def this(duration: Duration, shape: Shape)

The constructor of FillTransition

The constructor of FillTransition

Value Params
duration

The duration of the FillTransition

shape

The shape which filling will be animated

def this(duration: Duration)

The constructor of FillTransition

The constructor of FillTransition

Value Params
duration

The duration of the FillTransition

Concrete methods

def duration: ObjectProperty[Duration]

The duration of this FillTransition. Default value: 400ms

The duration of this FillTransition. Default value: 400ms

def duration_=(d: Duration): Unit

Specifies the start color value for this FillTransition. Default value: null

Specifies the start color value for this FillTransition. Default value: null

def fromValue_=(from: Color): Unit
def shape: ObjectProperty[Shape]

The target shape of this FillTransition.

The target shape of this FillTransition.

def shape_=(s: Shape): Unit
def toValue: ObjectProperty[Color]

Specifies the stop color value for this FillTransition. Default value: null.

Specifies the stop color value for this FillTransition. Default value: null.

def toValue_=(to: Color): Unit

Inherited methods

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

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

Inherited from
Animation
def autoReverse_=(ar: Boolean): Unit
Inherited from
Animation

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

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

Inherited from
Animation

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

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

Inherited from
Animation

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

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

Inherited from
Animation
def cycleCount_=(r: Int): Unit
Inherited from
Animation

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

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

Inherited from
Animation
def delay: ObjectProperty[Duration]

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

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

Inherited from
Animation
def delay_=(d: Duration): Unit
Inherited from
Animation
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
def interpolator: ObjectProperty[Interpolator]

Controls the timing for acceleration and deceleration at each Transition cycle. Default Value: Interpolator.EASE_BOTH.

Controls the timing for acceleration and deceleration at each Transition cycle. Default Value: Interpolator.EASE_BOTH.

Inherited from
Transition
def interpolator_=(i: Interpolator): Unit
Inherited from
Transition
def jumpTo(cuePoint: String): Unit

Jumps to a predefined position in this Animation.

Jumps to a predefined position in this Animation.

Value Params
cuePoint

the name of the cue point

Inherited from
Animation
def jumpTo(time: Duration): Unit

Jumps to a given position in this Animation.

Jumps to a given position in this Animation.

Value Params
time

the new position

Inherited from
Animation
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.

Inherited from
Animation
def onFinished_=(handler: EventHandler[ActionEvent]): Unit
Inherited from
Animation
def pause(): Unit

Pauses the Animation.

Pauses the Animation.

Inherited from
Animation
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.

Inherited from
Animation
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.

Value Params
cuePoint

name of the cue point

Inherited from
Animation
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.

Value Params
time

position where to play from

Inherited from
Animation
def playFromStart(): Unit

Plays an Animation from initial position in forward direction.

Plays an Animation from initial position in forward direction.

Inherited from
Animation

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

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

Inherited from
Animation
def rate_=(r: Double): Unit
Inherited from
Animation

The status of the Animation.

The status of the Animation.

Inherited from
Animation
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.

Inherited from
Animation
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.

Inherited from
Animation
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

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

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

Inherited from
Animation

Concrete fields

override val delegate: FillTransition