开发者

Representing tables in the LWUIT browser

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜