qnx.fuse.ui.skins.animation.ITransition

ITransition

Methods


Packageqnx.fuse.ui.skins.animation
Interfacepublic interface ITransition extends flash.events.IEventDispatcher
Implementors CrossfadeTransition, FadeInOverTransition

The ITransition interface must be implemented by classes used to transition between states over time. They should be passed to the UISkin.setTransition method to define how transitions between various states should occur.

Class information:
BlackBerry 10 Version:   10.0.0

See also

UISkin.setTransition
CrossfadeTransition



Public Methods

 MethodDefined By
  
complete():void
Completes an executing transition immediately.
ITransition
  
execute(currentSkin:DisplayObject, nextSkin:DisplayObject):void
Executes the transition between the two skins.
ITransition

Method Detail

complete()


public function complete():void

Completes an executing transition immediately.

The affected skins should have their visual state set to what it would be just after a Event.COMPLETE event was dispatched. However, no COMPLETE event should be fired.

execute()


public function execute(currentSkin:DisplayObject, nextSkin:DisplayObject):void

Executes the transition between the two skins.

This gets called automatically by the UISkin when its state changes.

Parameters

currentSkin:DisplayObject — The skin to transition from.
nextSkin:DisplayObject — The new skin to transition to.





comments powered by Disqus