The Source for Java Technology Collaboration

Home » java.net Forums » Mobile & Embedded » LWUIT

Thread: Windows Mobile scrolling

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Aug 28, 2008 6:44 AM by: Shai Almog
mfernan80

Posts: 1
Windows Mobile scrolling
Posted: Aug 28, 2008 6:22 AM
  Click to reply to this thread Reply

Hi all,

I'm testing LWUIT with Windows Mobile (Esmertec, J9 and PhoneME) and I see a very annoying behaviour when trying to scroll a Form or a drop-down long content. As I could see the only way to scroll is to 'drag-and-drop' with the pointer but no with scroll-bar. You can imagine how annying it is if many forms controls are painted on screen. Is teher any way to solve tis (that is, to only have scrolling via a side scroll bar).

Thanks and regards.

Shai Almog
Re: Windows Mobile scrolling
Posted: Aug 28, 2008 6:44 AM   in response to: mfernan80
  Click to reply to this thread Reply

Hi,
currently we support gesture based scrolling on the whole screen to
allow smaller controls to be used in finger based touch screen UI's
which we deem as the way of the future. You can draw and modify the
scroll behavior in any way you choose and you can block that e.g. to
change the look of the scroll try this:
http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html

To change the location of scroll sensitivity just look at Container/
Component who implement the gesture based scrolling. You can simply
override the pointerDragged/Pressed/Released methods and prevent
container/component from getting them unless they are in the area of
the scroll (then you should probably also disable smooth scrolling too).

> Hi all,
>
> I'm testing LWUIT with Windows Mobile (Esmertec, J9 and PhoneME)
> and I see a very annoying behaviour when trying to scroll a Form or
> a drop-down long content. As I could see the only way to scroll is
> to 'drag-and-drop' with the pointer but no with scroll-bar. You can
> imagine how annying it is if many forms controls are painted on
> screen. Is teher any way to solve tis (that is, to only have
> scrolling via a side scroll bar).
>
> Thanks and regards.
> [Message sent by forum member 'mfernan80' (mfernan80)]
>
> http://forums.java.net/jive/thread.jspa?messageID=295903
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]





 XML java.net RSS