开发者

Representing tables in the LWUIT browser

开发者 https://www.devze.com 2023-03-08 09:03 出处:网络
I am trying to have a horizontally scrolling table within a HTMLComponent as the tables can be wider than the width of the mobile phone and I don\'t want the user to have a wrapped table. I set setScr

I am trying to have a horizontally scrolling table within a HTMLComponent as the tables can be wider than the width of the mobile phone and I don't want the user to have a wrapped table. I set setScrollableX(true) fo开发者_开发知识库r HTMLTable, but I am having a lot of problems getting focus in and out of the different components. Any tips on how I would go about achieving this?


Focus in LWUIT is a mixed bag of issues and the HTML component inherits quite allot of them. The Browser demo available in LWUIT's SVN ( http://java.net/projects/lwuit/sources/svn/show ) has a feature that allows showing a "mouse pointer" within the browser window so you can avoid focus and just point at a cell. I'm not sure if it was tested with side scrolling but its possibly the easiest approach to make this UI more usable.

0

精彩评论

暂无评论...
验证码 换一张
取 消