public abstract class BotMouseListener
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Constructor and Description |
---|
BotMouseListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
checkMouseEvent(java.awt.event.MouseEvent e)
Use this method in place of
mouseClicked(MouseEvent) , mousePressed(MouseEvent) ,
mouseReleased(MouseEvent) . |
void |
mouseClicked(java.awt.event.MouseEvent e)
Deprecated.
|
void |
mouseDragged(java.awt.event.MouseEvent e)
Warning: Ensure you are consuming the event if you
do not want it being passed to the game, "e.consume()".
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Warning: Ensure you are consuming the event if you
do not want it being passed to the game, "e.consume()".
|
void |
mouseExited(java.awt.event.MouseEvent e)
Warning: Ensure you are consuming the event if you
do not want it being passed to the game, "e.consume()".
|
void |
mouseMoved(java.awt.event.MouseEvent e)
Warning: Ensure you are consuming the event if you
do not want it being passed to the game, "e.consume()".
|
void |
mousePressed(java.awt.event.MouseEvent e)
Deprecated.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Deprecated.
|
public abstract void checkMouseEvent(java.awt.event.MouseEvent e)
mouseClicked(MouseEvent)
, mousePressed(MouseEvent)
,
mouseReleased(MouseEvent)
. e
- The mouse event to checkpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
@Deprecated public final void mouseClicked(java.awt.event.MouseEvent e)
checkMouseEvent(MouseEvent)
.mouseClicked
in interface java.awt.event.MouseListener
@Deprecated public final void mousePressed(java.awt.event.MouseEvent e)
checkMouseEvent(MouseEvent)
.mousePressed
in interface java.awt.event.MouseListener
@Deprecated public final void mouseReleased(java.awt.event.MouseEvent e)
checkMouseEvent(MouseEvent)
.mouseReleased
in interface java.awt.event.MouseListener