简体   繁体   English

触摸屏L&F

[英]Touch screen L&F

I would like to do a specialized L&F for touch screens that take care of mouse gestures and size of controls. 我想为触摸屏做一个专门的L&F,要注意鼠标的手势和控件的大小。 I have never done a L&F before, so I'm looking for advices and if possible some tutorials to get me started. 我以前从未做过L&F,所以我正在寻找建议,并在可能的情况下寻求一些入门指南。 Is there a look and feel that I could extend to ease the work? 有外观和感觉可以扩展以简化工作吗?


I don't have much choice about using something else than java. 除了使用Java,我没有太多选择。 But java is used in touchscreen application. 但是java用于触摸屏应用程序。 What look and feel developpers use, to ease the work of developping touchscreen application in swing ? 开发人员可以使用哪些外观和感觉来轻松开发摆动式触摸屏应用程序?

The problem is that AWT (and thus Swing) does not give us enough events - there are mouse-clicks, mouse-moves, and mouse-drags, but nothing like two- or more-finger movements which are used in modern touch applications. 问题在于,AWT(以及因此的Swing)没有给我们提供足够的事件-有鼠标单击,鼠标移动和鼠标拖动,但没有像现代触摸应用中使用的两个或多个手指动作那样。

I think there might be some vendor-specific APIs to do that, but I don't know anything about them. 我认为可能有一些特定于供应商的API可以做到这一点,但是我对此一无所知。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM