Animation Item (PRIM_ANIM.AnimationItem)

Component piece of an animation

Ancestors - Object (PRIM_OBJT)

Details

An AnimationItem is the base class for all animation classes such as Prim_anim.Move or Prim_anim.Opacity.
 
All animations are made up of one or more animation items.

Example

Simple animation that moves a button to a left position of 300 and then back to a left of 0.
Define_Com Class(#PRIM_ANIM) Name(#Animation)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step1) Left(300) Manage(#Button) Parent(#Animation) Duration(500)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step2) Manage(#Button) Parent(#Animation) Starttime(500) Duration(500)

Properties

Name Description
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
Duration Number of milliseconds to take to complete the animation
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent Reference to the animation of which this item is a part
StartTime Number of milliseconds to wait before starting the animation

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Animation Item (PRIM_ANIM.AnimationItem)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Animation Item (PRIM_ANIM.AnimationItem)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020