# Uses of Enum Class
javafx.scene.input.ScrollEvent.VerticalTextScrollUnits

Packages that use ScrollEvent.VerticalTextScrollUnits
Package
Description
javafx.scene.input
Provides the set of classes for mouse and keyboard input event handling.

- ## Uses of ScrollEvent.VerticalTextScrollUnits in javafx.scene.input

  Subclasses with type arguments of type ScrollEvent.VerticalTextScrollUnits in javafx.scene.input
  Modifier and Type
  Class
  Description
  `static enum`
  `ScrollEvent.VerticalTextScrollUnits`
  Vertical text-based scrolling units.
  Methods in javafx.scene.input that return ScrollEvent.VerticalTextScrollUnits
  Modifier and Type
  Method
  Description
  `ScrollEvent.VerticalTextScrollUnits`
  ScrollEvent.`getTextDeltaYUnits()`
  Gets the vertical scrolling units for text-based scrolling.
  `static ScrollEvent.VerticalTextScrollUnits`
  ScrollEvent.VerticalTextScrollUnits.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ScrollEvent.VerticalTextScrollUnits[]`
  ScrollEvent.VerticalTextScrollUnits.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Constructors in javafx.scene.input with parameters of type ScrollEvent.VerticalTextScrollUnits
  Modifier
  Constructor
  Description
  ``
  `ScrollEvent(Object source, EventTarget target, EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)`
  Constructs new ScrollEvent event.
  ``
  `ScrollEvent(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, double multiplierX, double multiplierY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)`
  Constructs new ScrollEvent event with null source and target
  ``
  `ScrollEvent(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)`
  Constructs new ScrollEvent event with null source and target