Package net.athonedevs.krork.input
Class MouseManager
java.lang.Object
net.athonedevs.krork.input.MouseManager
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
public class MouseManager
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener
-
Constructor Summary
Constructors Constructor Description MouseManager()
-
Method Summary
Modifier and Type Method Description int
getMouseX()
int
getMouseXClick()
int
getMouseY()
int
getMouseYClick()
NysvaManager
getUiManager()
boolean
isLeftPressed()
boolean
isRightPressed()
void
mouseClicked(java.awt.event.MouseEvent e)
void
mouseDragged(java.awt.event.MouseEvent e)
void
mouseEntered(java.awt.event.MouseEvent e)
void
mouseExited(java.awt.event.MouseEvent e)
void
mouseMoved(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
void
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
void
setUiManager(NysvaManager uiManager)
-
Constructor Details
-
MouseManager
public MouseManager()
-
-
Method Details
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
-
mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)- Specified by:
mouseWheelMoved
in interfacejava.awt.event.MouseWheelListener
-
isLeftPressed
public boolean isLeftPressed() -
isRightPressed
public boolean isRightPressed() -
getMouseX
public int getMouseX() -
getMouseY
public int getMouseY() -
getMouseXClick
public int getMouseXClick() -
getMouseYClick
public int getMouseYClick() -
getUiManager
-
setUiManager
-