Class PointerOverEvent
java.lang.Object
com.oorian.messaging.events.Event<PointerListener>
com.oorian.messaging.events.client.ClientEvent<PointerListener>
com.oorian.messaging.events.client.PointerEvent
com.oorian.messaging.events.client.PointerOverEvent
Represents a pointer over event that occurs when a pointer is moved into an element's hit test boundaries.
- Since:
- 2026
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPointerOverEvent(int clientX, int clientY, int pointerId, String pointerType, int width, int height, float pressure, int tiltX, int tiltY, boolean isPrimary) Constructs a new PointerOverEvent with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchTo(PointerListener listener) Dispatches this event to the specified listener for processing.Methods inherited from class com.oorian.messaging.events.client.PointerEvent
getClientX, getClientY, getHeight, getPointerId, getPointerType, getPressure, getTiltX, getTiltY, getWidth, isPrimaryMethods inherited from class com.oorian.messaging.events.client.ClientEvent
getSource, getTarget, setSource, setTarget
-
Constructor Details
-
PointerOverEvent
public PointerOverEvent(int clientX, int clientY, int pointerId, String pointerType, int width, int height, float pressure, int tiltX, int tiltY, boolean isPrimary) Constructs a new PointerOverEvent with the specified parameters.- Parameters:
clientX- the X coordinate of the pointer relative to the client viewportclientY- the Y coordinate of the pointer relative to the client viewportpointerId- the unique identifier for the pointerpointerType- the type of pointer (mouse, pen, touch)width- the width of the pointer contact geometryheight- the height of the pointer contact geometrypressure- the normalized pressure of the pointer inputtiltX- the tilt angle along the X axis in degreestiltY- the tilt angle along the Y axis in degreesisPrimary- whether this pointer is the primary pointer
-
-
Method Details
-
dispatchTo
Dispatches this event to the specified listener for processing.- Specified by:
dispatchToin classEvent<PointerListener>- Parameters:
listener- the listener to which this event should be dispatched
-