Press on the image to return to the main documentation page.
|
TweenEngine
List of types:
Tween
TweenCallback
TweenConstants
TweenManager
TweenPath
TweenTimeline
Events:
None
Members:
Callback As aurelienribon.tweenengine.TweenCallback [write only]
CallbackTriggers As Int [write only]
CurrentTime As Float [read only]
Delay As Float
Duration As Float [read only]
Ease (easeEquation As aurelienribon.tweenengine.TweenEquation)
FullDuration As Float [read only]
ImageCall (callback As aurelienribon.tweenengine.TweenCallback)
ImageFrom (target As ImageViewWrapper, tweenType As Int, duration As Float)
ImageSet (target As ImageViewWrapper, tweenType As Int)
ImageTo (target As ImageViewWrapper, tweenType As Int, duration As Float)
Initialize (EventName As String)
isFinished As Boolean
isInitialized As Boolean
isPaused As Boolean
isStarted As Boolean
isYoyo As Boolean
LabelCall (callback As aurelienribon.tweenengine.TweenCallback)
LabelFrom (target As LabelWrapper, tweenType As Int, duration As Float)
LabelSet (target As LabelWrapper, tweenType As Int)
LabelTo (target As LabelWrapper, tweenType As Int, duration As Float)
PanelCall (callback As aurelienribon.tweenengine.TweenCallback)
PanelFrom (target As PanelWrapper, tweenType As Int, duration As Float)
PanelSet (target As PanelWrapper, tweenType As Int)
PanelTo (target As PanelWrapper, tweenType As Int, duration As Float)
Path (path As aurelienribon.tweenengine.TweenPath)
Pause
registerImageAccessor
registerLabelAccessor
registerPanelAccessor
Repeat (count As Int, delay As Float)
RepeatCount As Int [read only]
RepeatDelay As Float [read only]
RepeatYoyo (count As Int, delay As Float)
Resume
setTarget (targetValue1 As Float, targetValue2 As Float)
Start
Step As Int [read only]
Target As Object [read only]
TargetValues() As Float [read only]
Tween As aurelienribon.tweenengine.Tween
Update (delta As Float)
UserData As Object [write only]
Waypoint (targetValue1 As Float, targetValue2 As Float)
X As Float
Y As Float
Members description:
Callback As aurelienribon.tweenengine.TweenCallback [write only]
Sets a callback of the tween.
This is used to receive events of the tween.
onevent (event as int) is called
CallbackTriggers As Int [write only]
Changes the triggers of the callback. The available triggers, listed as
members of the {@link TweenCallback} interface, are:
BEGIN: right after the delay (if any)
START: at each iteration beginning
END: at each iteration ending, before the repeat delay
COMPLETE: at last END event
BACK_BEGIN: at the beginning of the first backward iteration
BACK_START: at each backward iteration beginning, after the repeat delay
BACK_END: at each backward iteration ending
BACK_COMPLETE: at last BACK_END event
{@code
forward : BEGIN COMPLETE
forward : START END START END START END
|--------------[XXXXXXXXXX]------[XXXXXXXXXX]------[XXXXXXXXXX]
backward: bEND bSTART bEND bSTART bEND bSTART
backward: bCOMPLETE bBEGIN
}
CurrentTime As Float [read only]
Gets the current time of the tween.
Delay As Float
Gets the tween's delay.
Duration As Float [read only]
Gets the tween's duration.
Ease (easeEquation As aurelienribon.tweenengine.TweenEquation)
Sets an easeEquation.
Use one of the Elastic constants
FullDuration As Float [read only]
Gets the tween's full duration.
ImageCall (callback As aurelienribon.tweenengine.TweenCallback)
Calls a method (useful with a delay)
One of the four Tween initializers.
callback: - not available yet
ImageFrom (target As ImageViewWrapper, tweenType As Int, duration As Float)
Interpolates from the given values to the current ones
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
ImageSet (target As ImageViewWrapper, tweenType As Int)
Apply the target values without animation (useful with a delay)
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
ImageTo (target As ImageViewWrapper, tweenType As Int, duration As Float)
Interpolates from the current values to the targets
One of the four Tween initializers.
target: - The Object to work with
type: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
Initialize (EventName As String)
Initializes the Universal Tween Engine
EventName - Events subs prefix.
isFinished As Boolean
Returns if the tween is finished.
Return type: @return:
isInitialized As Boolean
Returns if the tween is initialized.
Return type: @return:
isPaused As Boolean
Returns if the tween is paused.
Return type: @return:
isStarted As Boolean
Returns if the tween is started.
Return type: @return:
isYoyo As Boolean
Returns if the tween is yoyo.
Return type: @return:
LabelCall (callback As aurelienribon.tweenengine.TweenCallback)
Calls a method (useful with a delay)
One of the four Tween initializers.
callback: - not available yet
LabelFrom (target As LabelWrapper, tweenType As Int, duration As Float)
Interpolates from the given values to the current ones
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
LabelSet (target As LabelWrapper, tweenType As Int)
Apply the target values without animation (useful with a delay)
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
LabelTo (target As LabelWrapper, tweenType As Int, duration As Float)
Interpolates from the current values to the targets
One of the four Tween initializers.
target: - The Object to work with
type: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
PanelCall (callback As aurelienribon.tweenengine.TweenCallback)
Calls a method (useful with a delay)
One of the four Tween initializers.
callback: - not available yet
PanelFrom (target As PanelWrapper, tweenType As Int, duration As Float)
Interpolates from the given values to the current ones
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
PanelSet (target As PanelWrapper, tweenType As Int)
Apply the target values without animation (useful with a delay)
One of the four Tween initializers.
target: - The Object to work with
tweenType: - One of the constants
PanelTo (target As PanelWrapper, tweenType As Int, duration As Float)
Interpolates from the current values to the targets
One of the four Tween initializers.
target: - The Object to work with
type: - The Object to work with
tweenType: - One of the constants
duration: - Duration in seconds.
Path (path As aurelienribon.tweenengine.TweenPath)
Sets a path for the tween to follow3.
Pause
Pauses a tween.
registerImageAccessor
Registers an ImageView to the TweenAccessor
registerLabelAccessor
Registers an ImageView to the TweenAccessor
registerPanelAccessor
Registers an ImageView to the TweenAccessor
Repeat (count As Int, delay As Float)
Repeat a tween.
RepeatCount As Int [read only]
Gets the times the tween repeats.
RepeatDelay As Float [read only]
Gets the tween's repeat delay.
RepeatYoyo (count As Int, delay As Float)
RepeatYoyo a tween.
Resume
Resumes a tween.
setTarget (targetValue1 As Float, targetValue2 As Float)
Targets a tween to a position
Start
Starts a tween.
Step As Int [read only]
Gets the tween's step.
Target As Object [read only]
Gets the target.
TargetValues() As Float [read only]
Gets the target's values.
Tween As aurelienribon.tweenengine.Tween
Gets or sets a tween.
Update (delta As Float)
Moreover, slow-motion, fast-motion and reverse play is easy,
you just need to change the speed of the update:
delta: - delta * speed
UserData As Object [write only]
Attaches an object to this tween or timeline. It can be useful in order
to retrieve some data from a TweenCallback.
Waypoint (targetValue1 As Float, targetValue2 As Float)
Let the tween follow a waypoint.
Return type: @return:
X As Float
Y As Float
Events:
OnEvent (Event as int)
Members:
Initialize (EventName As String)
Listener As Boolean [write only]
TweenCallback As aurelienribon.tweenengine.TweenCallback
Members description:
Initialize (EventName As String)
Initializes the Universal Tween Engine
EventName - Events subs prefix.
Listener As Boolean [write only]
Sets a callback listener.
Make sure to call it before you set the callback!
TweenCallback As aurelienribon.tweenengine.TweenCallback
Gets or sets the tween callback.
Events:
None
Members:
ALPHA As Int
BACK_IN As aurelienribon.tweenengine.equations.Back
BACK_INOUT As aurelienribon.tweenengine.equations.Back
BACK_OUT As aurelienribon.tweenengine.equations.Back
BOUNCE_IN As aurelienribon.tweenengine.equations.Bounce
BOUNCE_INOUT As aurelienribon.tweenengine.equations.Bounce
BOUNCE_OUT As aurelienribon.tweenengine.equations.Bounce
CALLBACK_ANY As Int
CALLBACK_ANY_BACKWARD As Int
CALLBACK_ANY_FORWARD As Int
CALLBACK_BACK_BEGIN As Int
CALLBACK_BACK_COMPLETE As Int
CALLBACK_BACK_END As Int
CALLBACK_BACK_START As Int
CALLBACK_BEGIN As Int
CALLBACK_COMPLETE As Int
CALLBACK_END As Int
CALLBACK_START As Int
CIRC_IN As aurelienribon.tweenengine.equations.Circ
CIRC_INOUT As aurelienribon.tweenengine.equations.Circ
CIRC_OUT As aurelienribon.tweenengine.equations.Circ
CUBIC_IN As aurelienribon.tweenengine.equations.Cubic
CUBIC_INOUT As aurelienribon.tweenengine.equations.Cubic
CUBIC_OUT As aurelienribon.tweenengine.equations.Cubic
ELASTIC_IN As aurelienribon.tweenengine.equations.Elastic
ELASTIC_INOUT As aurelienribon.tweenengine.equations.Elastic
ELASTIC_OUT As aurelienribon.tweenengine.equations.Elastic
EXPO_IN As aurelienribon.tweenengine.equations.Expo
EXPO_INOUT As aurelienribon.tweenengine.equations.Expo
EXPO_OUT As aurelienribon.tweenengine.equations.Expo
LINEAR_INOUT As aurelienribon.tweenengine.equations.Linear
POSITION_X As Int
POSITION_XY As Int
POSITION_Y As Int
QUAD_IN As aurelienribon.tweenengine.equations.Quad
QUAD_INOUT As aurelienribon.tweenengine.equations.Quad
QUAD_OUT As aurelienribon.tweenengine.equations.Quad
QUART_IN As aurelienribon.tweenengine.equations.Quart
QUART_INOUT As aurelienribon.tweenengine.equations.Quart
QUART_OUT As aurelienribon.tweenengine.equations.Quart
QUINT_IN As aurelienribon.tweenengine.equations.Quint
QUINT_INOUT As aurelienribon.tweenengine.equations.Quint
QUINT_OUT As aurelienribon.tweenengine.equations.Quint
ROT_X As Int
ROT_Y As Int
ROT_Z As Int
SCALE_X As Int
SCALE_XY As Int
SCALE_Y As Int
SINE_IN As aurelienribon.tweenengine.equations.Sine
SINE_INOUT As aurelienribon.tweenengine.equations.Sine
SINE_OUT As aurelienribon.tweenengine.equations.Sine
Members description:
ALPHA As Int
BACK_IN As aurelienribon.tweenengine.equations.Back
BACK_INOUT As aurelienribon.tweenengine.equations.Back
BACK_OUT As aurelienribon.tweenengine.equations.Back
BOUNCE_IN As aurelienribon.tweenengine.equations.Bounce
BOUNCE_INOUT As aurelienribon.tweenengine.equations.Bounce
BOUNCE_OUT As aurelienribon.tweenengine.equations.Bounce
CALLBACK_ANY As Int
CALLBACK_ANY_BACKWARD As Int
CALLBACK_ANY_FORWARD As Int
CALLBACK_BACK_BEGIN As Int
CALLBACK_BACK_COMPLETE As Int
CALLBACK_BACK_END As Int
CALLBACK_BACK_START As Int
CALLBACK_BEGIN As Int
CALLBACK_COMPLETE As Int
CALLBACK_END As Int
CALLBACK_START As Int
CIRC_IN As aurelienribon.tweenengine.equations.Circ
CIRC_INOUT As aurelienribon.tweenengine.equations.Circ
CIRC_OUT As aurelienribon.tweenengine.equations.Circ
CUBIC_IN As aurelienribon.tweenengine.equations.Cubic
CUBIC_INOUT As aurelienribon.tweenengine.equations.Cubic
CUBIC_OUT As aurelienribon.tweenengine.equations.Cubic
ELASTIC_IN As aurelienribon.tweenengine.equations.Elastic
ELASTIC_INOUT As aurelienribon.tweenengine.equations.Elastic
ELASTIC_OUT As aurelienribon.tweenengine.equations.Elastic
EXPO_IN As aurelienribon.tweenengine.equations.Expo
EXPO_INOUT As aurelienribon.tweenengine.equations.Expo
EXPO_OUT As aurelienribon.tweenengine.equations.Expo
LINEAR_INOUT As aurelienribon.tweenengine.equations.Linear
POSITION_X As Int
POSITION_XY As Int
POSITION_Y As Int
QUAD_IN As aurelienribon.tweenengine.equations.Quad
QUAD_INOUT As aurelienribon.tweenengine.equations.Quad
QUAD_OUT As aurelienribon.tweenengine.equations.Quad
QUART_IN As aurelienribon.tweenengine.equations.Quart
QUART_INOUT As aurelienribon.tweenengine.equations.Quart
QUART_OUT As aurelienribon.tweenengine.equations.Quart
QUINT_IN As aurelienribon.tweenengine.equations.Quint
QUINT_INOUT As aurelienribon.tweenengine.equations.Quint
QUINT_OUT As aurelienribon.tweenengine.equations.Quint
ROT_X As Int
ROT_Y As Int
ROT_Z As Int
SCALE_X As Int
SCALE_XY As Int
SCALE_Y As Int
SINE_IN As aurelienribon.tweenengine.equations.Sine
SINE_INOUT As aurelienribon.tweenengine.equations.Sine
SINE_OUT As aurelienribon.tweenengine.equations.Sine
Events:
None
Members:
addTimeLine (tl As aurelienribon.tweenengine.Timeline)
addTween (tween As aurelienribon.tweenengine.Tween)
containsTarget (target As Object) As Boolean
Initialize
killAllTweens
killTarget (Target As Object)
Object As java.util.List [read only]
Pause
Resume
RunningTweensCount As Int [read only]
Size As Int
StartTimeline
StartTween
Update (arg0 As Float)
Members description:
addTimeLine (tl As aurelienribon.tweenengine.Timeline)
Adds a timeline to the TweenManager.
You should always use tween.start(manager).
A manager handles the lifecycles of the tweens and timelines.
Calling update() on a manager lets you updates all the tweens associated to the manager at once, and when they are finished,
the manager will remove them and pool them.
Only use tween.start() without manager if you really now what you're doing (that's only useful in some very specific conditions).
tl:
addTween (tween As aurelienribon.tweenengine.Tween)
Adds a tween to the TweenManager.
You should always use tween.start(manager).
A manager handles the lifecycles of the tweens and timelines.
Calling update() on a manager lets you updates all the tweens associated to the manager at once, and when they are finished,
the manager will remove them and pool them.
Only use tween.start() without manager if you really now what you're doing (that's only useful in some very specific conditions).
tween:
containsTarget (target As Object) As Boolean
Checks if the tweens has a target.
Return type: @return:
Initialize
Initializes the Universal Tween Engine
EventName - Events subs prefix.
killAllTweens
Kill all tweens associated with the manager.
killTarget (Target As Object)
Kill all tweens associated with the manager.
Object As java.util.List [read only]
Returns a java list with all the tweens.
Pause
Pauses a tween.
Resume
Resumes a tween.
RunningTweensCount As Int [read only]
Returns all tweens currently running.
Size As Int
Returns the size
Return type: @return:
StartTimeline
Starts the tween manager.
StartTween
Starts the tween manager.
Update (arg0 As Float)
Moreover, slow-motion, fast-motion and reverse play is easy,
you just need to change the speed of the update:
arg0: - delta * speed
Events:
None
Members:
compute (arg0 As Float, arg1() As Float, arg2 As Int)
TweenPath As aurelienribon.tweenengine.TweenPath
Members description:
compute (arg0 As Float, arg1() As Float, arg2 As Int)
Computes a path
arg0:
arg1:
arg2:
TweenPath As aurelienribon.tweenengine.TweenPath
Gets or sets the tween path
Events:
None
Members:
BeginParallel
BeginSequence
Callback As aurelienribon.tweenengine.TweenCallback [write only]
CallbackTriggers As Int [write only]
CreateParallel
CreateSequence
CurrentTime As Float [read only]
Delay As Float
Duration As Float [read only]
End
FullDuration As Float [read only]
Initialize (EventName As String)
isFinished As Boolean
isInitialized As Boolean
isPaused As Boolean
isStarted As Boolean
isYoyo As Boolean
Pause
Push (tween As aurelienribon.tweenengine.Tween)
PushPause (time As Float)
Repeat (count As Int, delay As Float)
RepeatCount As Int [read only]
RepeatDelay As Float [read only]
RepeatYoyo (count As Int, delay As Float)
Resume
Start
Step As Int [read only]
TimeLine As aurelienribon.tweenengine.Timeline
Update (delta As Float)
UserData As Object [write only]
Members description:
BeginParallel
Begins a parallel timeline.
BeginSequence
Begins a sequence timeline.
Callback As aurelienribon.tweenengine.TweenCallback [write only]
Sets a callback of the tl.
This is used to receive events of the tl.
onevent (event as int) is called
CallbackTriggers As Int [write only]
Sets the callback flags
CreateParallel
Creates a parallell timeline.
One of the main constructors for the Timeline.
CreateSequence
Creates a sequence timeline.
One of the main constructors for the Timeline.
CurrentTime As Float [read only]
Gets the current time of the timeline.
Delay As Float
Gets the timeline's delay.
Duration As Float [read only]
Gets the timeline's duration.
End
Ends the timeline.
FullDuration As Float [read only]
Gets the tl's full duration.
Initialize (EventName As String)
Initializes the Universal Tween Engine
EventName - Events subs prefix.
isFinished As Boolean
Returns if the tl is finished.
Return type: @return:
isInitialized As Boolean
Returns if the tl is initialized.
Return type: @return:
isPaused As Boolean
Returns if the tl is paused.
Return type: @return:
isStarted As Boolean
Returns if the tl is started.
Return type: @return:
isYoyo As Boolean
Returns if the tl is yoyo.
Return type: @return:
Pause
Pauses a timeline
Push (tween As aurelienribon.tweenengine.Tween)
Set all objects to their initial positions.
e.g: push(Tween.set(...))
do a pause
and then push(tween.to(...)) will move the objects after each other.
next you can begin a parallel, etc
tween:
PushPause (time As Float)
Push a pause between the tweens.
time:
Repeat (count As Int, delay As Float)
Repeat a timeline
RepeatCount As Int [read only]
Gets the times the timeline repeats.
RepeatDelay As Float [read only]
Gets the tl's repeat delay.
RepeatYoyo (count As Int, delay As Float)
RepeatYoyo a timeline.
Resume
Resumes a timeline.
Start
Starts a timeline.
Step As Int [read only]
Gets the tl's step.
TimeLine As aurelienribon.tweenengine.Timeline
Gets or sets a timeline.
Update (delta As Float)
Moreover, slow-motion, fast-motion and reverse play is easy,
you just need to change the speed of the update:
delta: - delta * speed
UserData As Object [write only]
Sets the user data.
Top