KeyStroke equivalant class for Mouse in Java 6?

Is there a Mouse equivalent class for KeyStroke? I'm looking for some kind of wrapper around a a MouseEvent to describe which button was pushed (I can get this through SwingUtilities), and any modifiers used as well. The idea is I'm already catch AWT mouse events through a listener, but then taking that event and processing it for 3D picking in a virtual world. I'd like to try and map mouse bindings in such a way (similar to InputMap and ActionMap with swing controls). KeyStroke has been a god-send, anyone know of a MouseStroke or similar?

以上就是KeyStroke equivalant class for Mouse in Java 6?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准