KeyValue

scalafx.animation.KeyValue
See theKeyValue companion object
class KeyValue[T, J](val delegate: KeyValue) extends SFXDelegate[KeyValue]

Wraps a $KV. 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 $KV s. $KV is an immutable class.

Type parameters

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 parameters

delegate

JavaFX $KV to be delegated.

Attributes

Constructor

Creates a new ScalaFX $KV from a JavaFX $KV.

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

Members list

Value members

Concrete methods

def endValue: J

Returns the end value of this KeyValue.

Returns the end value of this KeyValue.

Attributes

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.

Attributes

def target: WritableValue[T]

Returns the target of this KeyValue.

Returns the target of this KeyValue.

Attributes

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: KeyValue

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes