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

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

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

  Methods in javafx.scene.input that return ScrollEvent.HorizontalTextScrollUnits
  Modifier and Type
  Method
  Description
  `ScrollEvent.HorizontalTextScrollUnits`
  ScrollEvent.`getTextDeltaXUnits()`
  Gets the horizontal scrolling units for text-based scrolling.
  `static ScrollEvent.HorizontalTextScrollUnits`
  ScrollEvent.HorizontalTextScrollUnits.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ScrollEvent.HorizontalTextScrollUnits[]`
  ScrollEvent.HorizontalTextScrollUnits.`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.HorizontalTextScrollUnits
  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