Java javafx.scene.input ScrollEvent fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.input ScrollEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.input ScrollEvent.

The text is from its open source code.

Field

EventTypeANY
Common supertype for all scroll event types.
EventTypeSCROLL
This event occurs when user performs a scrolling action such as rotating mouse wheel or dragging a finger over touch screen.

Method

voidconsume()
Marks this Event as consumed.
doublegetDeltaX()
Gets the horizontal scroll amount.
doublegetDeltaY()
Gets the vertical scroll amount.
EventTypegetEventType()
doublegetX()
Gets the horizontal position of the event relative to the origin of the event's source.
doublegetY()
Gets the vertical position of the event relative to the origin of the event's source.
booleanisDirect()
Indicates whether this gesture is caused by a direct or indirect input device.
booleanisInertia()
Indicates if this event represents an inertia of an already finished gesture.
booleanisShiftDown()
Indicates whether or not the Shift modifier is down on this event.