Interface MouseButtonEvent
- All Superinterfaces:
BooleanEvent, DeviceEvent, HasModifiers, InputEvent
- All Known Implementing Classes:
InputEvent.MousePressed, InputEvent.MouseReleased
public sealed interface MouseButtonEvent
extends BooleanEvent, HasModifiers
permits InputEvent.MousePressed, InputEvent.MouseReleased
-
Nested Class Summary
Nested classes/interfaces inherited from interface InputEvent
InputEvent.CharTyped, InputEvent.CursorMoved, InputEvent.DeviceConnectionChanged, InputEvent.GamepadAxisMoved, InputEvent.GamepadPressed, InputEvent.GamepadReleased, InputEvent.KeyPressed, InputEvent.KeyReleased, InputEvent.KeyRepeated, InputEvent.MousePressed, InputEvent.MouseReleased, InputEvent.Scrolled -
Method Summary
Methods inherited from interface BooleanEvent
pressedMethods inherited from interface DeviceEvent
deviceMethods inherited from interface HasModifiers
modifiersMethods inherited from interface InputEvent
time
-
Method Details
-
button
MouseButton button() -
x
double x() -
y
double y() -
source
- Specified by:
sourcein interfaceBooleanEvent
-