public class NewtMouseInput
extends java.lang.Object
implements com.jme3.input.MouseInput, com.jogamp.newt.event.MouseListener
| Modifier and Type | Field and Description |
|---|---|
static int |
WHEEL_AMP |
| Constructor and Description |
|---|
NewtMouseInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
int |
getButtonCount() |
long |
getInputTimeNanos() |
void |
initialize() |
boolean |
isInitialized() |
void |
mouseClicked(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mouseDragged(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mouseEntered(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mouseExited(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mouseMoved(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mousePressed(com.jogamp.newt.event.MouseEvent newtEvt) |
void |
mouseReleased(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
mouseWheelMoved(com.jogamp.newt.event.MouseEvent awtEvt) |
void |
setCursorVisible(boolean visible) |
void |
setInputListener(com.jme3.input.RawInputListener listener) |
void |
setInputSource(com.jogamp.newt.opengl.GLWindow comp) |
void |
setNativeCursor(com.jme3.cursors.plugins.JmeCursor cursor) |
void |
update() |
public void setInputSource(com.jogamp.newt.opengl.GLWindow comp)
public void initialize()
initialize in interface com.jme3.input.Inputpublic void destroy()
destroy in interface com.jme3.input.Inputpublic boolean isInitialized()
isInitialized in interface com.jme3.input.Inputpublic void setInputListener(com.jme3.input.RawInputListener listener)
setInputListener in interface com.jme3.input.Inputpublic long getInputTimeNanos()
getInputTimeNanos in interface com.jme3.input.Inputpublic void setCursorVisible(boolean visible)
setCursorVisible in interface com.jme3.input.MouseInputpublic void update()
update in interface com.jme3.input.Inputpublic int getButtonCount()
getButtonCount in interface com.jme3.input.MouseInputpublic void mouseClicked(com.jogamp.newt.event.MouseEvent awtEvt)
mouseClicked in interface com.jogamp.newt.event.MouseListenerpublic void mousePressed(com.jogamp.newt.event.MouseEvent newtEvt)
mousePressed in interface com.jogamp.newt.event.MouseListenerpublic void mouseReleased(com.jogamp.newt.event.MouseEvent awtEvt)
mouseReleased in interface com.jogamp.newt.event.MouseListenerpublic void mouseEntered(com.jogamp.newt.event.MouseEvent awtEvt)
mouseEntered in interface com.jogamp.newt.event.MouseListenerpublic void mouseExited(com.jogamp.newt.event.MouseEvent awtEvt)
mouseExited in interface com.jogamp.newt.event.MouseListenerpublic void mouseWheelMoved(com.jogamp.newt.event.MouseEvent awtEvt)
mouseWheelMoved in interface com.jogamp.newt.event.MouseListenerpublic void mouseDragged(com.jogamp.newt.event.MouseEvent awtEvt)
mouseDragged in interface com.jogamp.newt.event.MouseListenerpublic void mouseMoved(com.jogamp.newt.event.MouseEvent awtEvt)
mouseMoved in interface com.jogamp.newt.event.MouseListenerpublic void setNativeCursor(com.jme3.cursors.plugins.JmeCursor cursor)
setNativeCursor in interface com.jme3.input.MouseInput