Property Detail

node

It is not possible to change the target node of a running
ScaleTransition. If the value of node is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

duration

It is not possible to change the duration of a running
ScaleTransition. If the value of duration is changed for
a running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Note: While the unit of duration is a millisecond, the
granularity depends on the underlying operating system and will in
general be larger. For example animations on desktop systems usually run
with a maximum of 60fps which gives a granularity of ~17 ms.
Setting duration to value lower than Duration.ZERO will result
in IllegalArgumentException.

fromX

It is not possible to change fromX of a running
ScaleTransition. If the value of fromX is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

fromY

It is not possible to change fromY of a running
ScaleTransition. If the value of fromY is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

fromZ

It is not possible to change fromZ of a running
ScaleTransition. If the value of fromZ is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Method Detail

setNode

It is not possible to change the target node of a running
ScaleTransition. If the value of node is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

getNode

It is not possible to change the target node of a running
ScaleTransition. If the value of node is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

nodeProperty

It is not possible to change the target node of a running
ScaleTransition. If the value of node is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

setDuration

It is not possible to change the duration of a running
ScaleTransition. If the value of duration is changed for
a running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Note: While the unit of duration is a millisecond, the
granularity depends on the underlying operating system and will in
general be larger. For example animations on desktop systems usually run
with a maximum of 60fps which gives a granularity of ~17 ms.
Setting duration to value lower than Duration.ZERO will result
in IllegalArgumentException.

Default value:

400ms

getDuration

It is not possible to change the duration of a running
ScaleTransition. If the value of duration is changed for
a running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Note: While the unit of duration is a millisecond, the
granularity depends on the underlying operating system and will in
general be larger. For example animations on desktop systems usually run
with a maximum of 60fps which gives a granularity of ~17 ms.
Setting duration to value lower than Duration.ZERO will result
in IllegalArgumentException.

Default value:

400ms

durationProperty

It is not possible to change the duration of a running
ScaleTransition. If the value of duration is changed for
a running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Note: While the unit of duration is a millisecond, the
granularity depends on the underlying operating system and will in
general be larger. For example animations on desktop systems usually run
with a maximum of 60fps which gives a granularity of ~17 ms.
Setting duration to value lower than Duration.ZERO will result
in IllegalArgumentException.

setFromX

public final void setFromX(double value)

Sets the value of the property fromX.

Property description:

Specifies the start X scale value of this ScaleTransition.

It is not possible to change fromX of a running
ScaleTransition. If the value of fromX is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

getFromX

public final double getFromX()

Gets the value of the property fromX.

Property description:

Specifies the start X scale value of this ScaleTransition.

It is not possible to change fromX of a running
ScaleTransition. If the value of fromX is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

fromXProperty

It is not possible to change fromX of a running
ScaleTransition. If the value of fromX is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

setFromY

public final void setFromY(double value)

Sets the value of the property fromY.

Property description:

Specifies the start Y scale value of this ScaleTransition.

It is not possible to change fromY of a running
ScaleTransition. If the value of fromY is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

getFromY

public final double getFromY()

Gets the value of the property fromY.

Property description:

Specifies the start Y scale value of this ScaleTransition.

It is not possible to change fromY of a running
ScaleTransition. If the value of fromY is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

fromYProperty

It is not possible to change fromY of a running
ScaleTransition. If the value of fromY is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

setFromZ

public final void setFromZ(double value)

Sets the value of the property fromZ.

Property description:

Specifies the start Z scale value of this ScaleTransition.

It is not possible to change fromZ of a running
ScaleTransition. If the value of fromZ is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

getFromZ

public final double getFromZ()

Gets the value of the property fromZ.

Property description:

Specifies the start Z scale value of this ScaleTransition.

It is not possible to change fromZ of a running
ScaleTransition. If the value of fromZ is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

Default value:

Double.NaN

fromZProperty

It is not possible to change fromZ of a running
ScaleTransition. If the value of fromZ is changed for a
running ScaleTransition, the animation has to be stopped and
started again to pick up the new value.

interpolate

public void interpolate(double frac)

The method interpolate() has to be provided by implementations of
Transition. While a Transition is running, this method is
called in every frame.
The parameter defines the current position with the animation. At the
start, the fraction will be 0.0 and at the end it will be
1.0. How the parameter increases, depends on the
interpolator, e.g. if the
interpolator is Interpolator.LINEAR, the fraction will
increase linear.
This method must not be called by the user directly.