KeyFrame

scalafx.animation.KeyFrame
See theKeyFrame companion class
object KeyFrame

Companion Object for scalafx.animation.KeyFrame.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
KeyFrame.type

Members list

Value members

Concrete methods

def apply(time: Duration, name: String, onFinished: EventHandler[ActionEvent], values: Set[_ <: KeyValue[_, _]]): KeyFrame

Creates a new KeyFrame instance

Creates a new KeyFrame instance

Value parameters

name

the Name. Default Value: null.

onFinished

the onFinished-handler. Default Value: null.

time

the time

values

a Set of scalafx.animation.KeyValue instances. Default Value: empty Set.

Attributes

Returns

A new KeyFrame

Implicits

Implicits

implicit def sfxKeyFrame2jfx(v: KeyFrame): KeyFrame

Converts a ScalaFX KeyFrame to a JavaFX `KeyFrame`, extracting its delegate.

Converts a ScalaFX KeyFrame to a JavaFX `KeyFrame`, extracting its delegate.

Value parameters

v

ScalaFX KeyFrame

Attributes

Returns

JavaFX KeyFrame extracted from v.