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 TypeMethodDescriptionvoid
mouseButtonEvent
(MouseButtonEvent event, Spatial target, Spatial capture) void
mouseEntered
(MouseMotionEvent event, Spatial target, Spatial capture) void
mouseExited
(MouseMotionEvent event, Spatial target, Spatial capture) void
mouseMoved
(MouseMotionEvent event, Spatial target, Spatial capture)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ConsumingMouseListener
protected ConsumingMouseListener()
-
-
Method Details
-
mouseButtonEvent
- Specified by:
mouseButtonEvent
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseListener
-