BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 02-18-2010, 05:17 PM   #1 (permalink)
New Member
Join Date: Feb 2010
Model: 9000
Carrier: Movistar
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to perform animation transition on fields when gaining focus?

Please Login to Remove!

Well first of all I'm a noob in blackberry development.

Here is the problem:

I have a class "ScreenManager" extending from Manager.

the class "ScreenManager" has some fields, and two objects "PanelManager" A and B.

The "PanelManager" class extends from Manager too (and contains several fields) and draws on almost all the screen, so when A is visible, B is hidden.

What I want to do is perform an animated transition when the focus is going from A to B and viceversa. They are managers and they don't have any focusable field inside (but if needed, I could put some into).

How can I draw the animation? do I have to override paint(Graphics) in ScreenManager? if I do, is there a way to draw a field in paint(Grapchis)?

any ideas? I'm pretty stuck here..

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.