KeyValue

class KeyValue[T, J](val delegate: KeyValue) extends SFXDelegate[KeyValue]

Wraps a `KeyValue`. Defines a key value to be interpolated for a particular interval along the animation. A KeyFrame, which defines a specific point on a timeline, can hold multiple KeyValue s. KeyValue is an immutable class.

Wraps a `KeyValue`. Defines a key value to be interpolated for a particular interval along the animation. A KeyFrame, which defines a specific point on a timeline, can hold multiple KeyValue s. KeyValue is an immutable class.

Type Params
J

Indicates Java type to be wrapped by T. Eventually T and J could be the same.

T

Indicates Scala type that will be returned for this property.

Value Params
delegate

JavaFX KeyValue to be delegated.

Constructor

Creates a new ScalaFX KeyValue from a JavaFX KeyValue.

Companion
object
trait SFXDelegate[KeyValue]
class Object
trait Matchable
class Any

Value members

Concrete methods

def endValue: J

Returns the end value of this KeyValue.

Returns the end value of this KeyValue.

def interpolator: Interpolator

Interpolator to be used for calculating the key value along the particular interval.

Interpolator to be used for calculating the key value along the particular interval.

def target: WritableValue[T]

Returns the target of this KeyValue.

Returns the target of this KeyValue.

Inherited methods

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
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: KeyValue