如何将不可选择的项目添加到 J2ME 中的列表中

发布于 2024-09-28 22:59:49 字数 171 浏览 0 评论 0 原文

我希望能够将不可选择的元素添加到 j2me 屏幕内的列表中。目前,我添加到列表中的任何项目都可以在屏幕上导航到,这样它就会被选中并被黑色边框包围。

是否可以将无法以这种方式选择的元素添加到列表中?

这可以通过其他方式或使用不同的 UI 对象(如表单)来实现吗?

非常感谢您的帮助。

I would like to be able to add a non-selectable element to a list within a j2me screen. At the moment any item that I add to the List can be navigated to on the screen, such that it is selected and is surrounded by a black border.

Is possible to add an element to a List which cannot be selected in this way?

Can this be achieved through some other means or using a different UI object like a Form?

Many thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

水波映月 2024-10-05 22:59:49

快速的想法。如何将 Form 与 CustomItem 一起使用。

请参阅此文档了解 CustomItem => http://developers.sun.com/mobility/midp/ttips/customitem/

Quick thoughts. How about to use Form with CustomItem.

Please see this document for CustomItem => http://developers.sun.com/mobility/midp/ttips/customitem/

冷夜 2024-10-05 22:59:49

我不清楚你是否使用 J2MEPolish。如果您这样做,请按照 icon-inactive css 属性设置您的项目样式="nofollow">这里。例如:

.inactiveListItem extends listItem {
    icon-inactive: true;
    border: none;
}

It's not clear to me, if you use J2MEPolish. If you do, style your item with the icon-inactive css-attribute as described here. So for example:

.inactiveListItem extends listItem {
    icon-inactive: true;
    border: none;
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文