Skip to main content

How to get all registered Animations on a Form?

4 replies [Last post]
kawaiimomo
Offline
Joined: 2008-07-10
Points: 0

Hi all,

Is there any way to get the current registered Components with Animation placed in a Form?

I'm registering an animated Component and then deregistering it. But somehow the Component is still receiving Animation events. So I want a way to see if it's still registered or what's happening.

Thanks a lot.

Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kawaiimomo
Offline
Joined: 2008-07-10
Points: 0

The problem was i were pausing MIDlet, then resuming, and startApp() was called again and registering the animated Component again.

Anyway, is there a way to obtain the registered animated Components associated to a Form?

Thanks again :-)

chen

Hi,
There is no API to get the animated elements, I'm not convinced this is
something we should add though.

Regards,
Chen

lwuit-users@mobileandembedded.org wrote:
> The problem was i were pausing MIDlet, then resuming, and startApp() was called again and registering the animated Component again.
>
> Anyway, is there a way to obtain the registered animated Components associated to a Form?
>
> Thanks again :-)
> [Message sent by forum member 'kawaiimomo' (kawaiimomo)]
>
> http://forums.java.net/jive/thread.jspa?messageID=287010
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

chen

B.T.W - You can see the registered animations by using the debugger,
check out the Form animatableComponents object.

Chen

chen wrote:
> Hi,
> There is no API to get the animated elements, I'm not convinced this
> is something we should add though.
>
> Regards,
> Chen
>
>
> lwuit-users@mobileandembedded.org wrote:
>> The problem was i were pausing MIDlet, then resuming, and startApp()
>> was called again and registering the animated Component again.
>>
>> Anyway, is there a way to obtain the registered animated Components
>> associated to a Form?
>>
>> Thanks again :-)
>> [Message sent by forum member 'kawaiimomo' (kawaiimomo)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=287010
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

kawaiimomo
Offline
Joined: 2008-07-10
Points: 0

Thanks Chen

Keep up the good work ;-)