Package com.simsilica.lemur.event
Class ConsumingMouseListener
java.lang.Object
com.simsilica.lemur.event.ConsumingMouseListener
- All Implemented Interfaces:
MouseListener
MouseListener implementation that will consume all events.
This is useful when creating a panel that should block input
from the components behind it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmouseButtonEvent(MouseButtonEvent event, Spatial target, Spatial capture) voidmouseEntered(MouseMotionEvent event, Spatial target, Spatial capture) voidmouseExited(MouseMotionEvent event, Spatial target, Spatial capture) voidmouseMoved(MouseMotionEvent event, Spatial target, Spatial capture)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ConsumingMouseListener
protected ConsumingMouseListener()
-
-
Method Details
-
mouseButtonEvent
- Specified by:
mouseButtonEventin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseListener
-