Package org.polyfrost.polyui.event
Interface Event.Mouse
-
- All Implemented Interfaces:
-
org.polyfrost.polyui.event.Event
public interface Event.Mouse implements Event
Events related to the mouse.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classEvent.Mouse.ButtonBasepublic final classEvent.Mouse.Pressedpublic final classEvent.Mouse.Releasedpublic final classEvent.Mouse.Clickedpublic final classEvent.Mouse.Scrolledpublic classEvent.Mouse.Enteredacceptable by component and layout, when the mouse enters this component.
public classEvent.Mouse.Exitedacceptable by component and layout, when the mouse leaves this component.
public classEvent.Mouse.Dragdispatched when the mouse is moved while left click is down. Use
polyUI.mouseXandpolyUI.mouseYto get the current position.(revised 1.6.1) Drag.Started is dispatched when the drag starts, and Drag.Ended is dispatched when the drag ends.
public classEvent.Mouse.Moveddispatched when the mouse is moved. Use
polyUI.mouseXandpolyUI.mouseYto get the current position.public classEvent.Mouse.Companion
-