Package com.simsilica.lemur.event
Class StyleDebugMouseListener
java.lang.Object
com.simsilica.lemur.event.DefaultMouseListener
com.simsilica.lemur.event.StyleDebugMouseListener
- All Implemented Interfaces:
MouseListener
A MouseListener implementation that can be used to debug
style hierarchies. If this listener is added to a spatial
then clicking the spatial will dump its element ID and
style name to the console.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
click
(MouseButtonEvent event, Spatial target, Spatial capture) Methods inherited from class com.simsilica.lemur.event.DefaultMouseListener
isClick, mouseButtonEvent, mouseEntered, mouseExited, mouseMoved
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StyleDebugMouseListener
public StyleDebugMouseListener()
-
-
Method Details
-
click
- Overrides:
click
in classDefaultMouseListener
-