Move

A double behaviour that moves linearly from a starting value to an ending value over a fixed time period. An AnimationEvent is announced when the behaviour completes.

Features

XML Element XML Type Java Class Activity
behaviour move uk.ac.ic.doc.scenebeans.behaviour.Move finite

Properties

Name Type Default Value Getter Method Setter Method Description
from double 0.0 getFrom setFrom The initial value.
to double 0.0 getTo setTo The final value.
duration double 1.0 getDuration setDuration The duration of the behaviour.
value double 0.0 getValue read only The current value of the behaviour.
activityName double 0.0 getActivityName setActivityName The name of the behaviour, as announced in AnimationEvents when the behaviour completes. In XML documents, this property is usually specified by the name attribute of the <behaviour> element.
finite boolean true isFinite read only Returns whether the activity is finite. It is, so this always returns true.

Behaviour Facets

Name Behaviour Type Getter Method Description
n/a double n/a This behaviour is not facetted.