# Uses of Class
javafx.scene.control.ScrollToEvent

Packages that use ScrollToEvent
Package | Description
--- | ---
javafx.scene.control | The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.

- ## Uses of ScrollToEvent in javafx.scene.control

  Fields in javafx.scene.control with type parameters of type ScrollToEvent
  Modifier and Type | Field | Description
  --- | --- | ---
  `static EventType<ScrollToEvent>` | ScrollToEvent.`ANY` | Common supertype for all scroll-to event types.

  Methods in javafx.scene.control that return types with arguments of type ScrollToEvent
  Modifier and Type | Method | Description
  --- | --- | ---
  `EventHandler<ScrollToEvent<Integer>>` | ListView.`getOnScrollTo()` | Gets the value of the property onScrollTo.
  `EventHandler<ScrollToEvent<Integer>>` | TableView.`getOnScrollTo()` | Gets the value of the property onScrollTo.
  `EventHandler<ScrollToEvent<Integer>>` | TreeTableView.`getOnScrollTo()` | Gets the value of the property onScrollTo.
  `EventHandler<ScrollToEvent<Integer>>` | TreeView.`getOnScrollTo()` | Gets the value of the property onScrollTo.
  `EventHandler<ScrollToEvent<TableColumn<S,​?>>>` | TableView.`getOnScrollToColumn()` | Gets the value of the property onScrollToColumn.
  `EventHandler<ScrollToEvent<TreeTableColumn<S,​?>>>` | TreeTableView.`getOnScrollToColumn()` | Gets the value of the property onScrollToColumn.
  `ObjectProperty<EventHandler<ScrollToEvent<TableColumn<S,​?>>>>` | TableView.`onScrollToColumnProperty()` | Called when there's a request to scroll a column into view using `TableView.scrollToColumn(TableColumn)` or `TableView.scrollToColumnIndex(int)`
  `ObjectProperty<EventHandler<ScrollToEvent<TreeTableColumn<S,​?>>>>` | TreeTableView.`onScrollToColumnProperty()` | Called when there's a request to scroll a column into view using `TreeTableView.scrollToColumn(TreeTableColumn)` or `TreeTableView.scrollToColumnIndex(int)`
  `ObjectProperty<EventHandler<ScrollToEvent<Integer>>>` | ListView.`onScrollToProperty()` | Called when there's a request to scroll an index into view using `ListView.scrollTo(int)` or `ListView.scrollTo(Object)`
  `ObjectProperty<EventHandler<ScrollToEvent<Integer>>>` | TableView.`onScrollToProperty()` | Called when there's a request to scroll an index into view using `TableView.scrollTo(int)` or `TableView.scrollTo(Object)`
  `ObjectProperty<EventHandler<ScrollToEvent<Integer>>>` | TreeTableView.`onScrollToProperty()` | Called when there's a request to scroll an index into view using `TreeTableView.scrollTo(int)`
  `ObjectProperty<EventHandler<ScrollToEvent<Integer>>>` | TreeView.`onScrollToProperty()` | Called when there's a request to scroll an index into view using `TreeView.scrollTo(int)`
  `static <T extends TableColumnBase<?,​ ?>> EventType<ScrollToEvent<T>>` | ScrollToEvent.`scrollToColumn()` | This event occurs if the user requests scrolling a `TableColumnBase` (i.e.
  `static EventType<ScrollToEvent<Integer>>` | ScrollToEvent.`scrollToTopIndex()` | This event occurs if the user requests scrolling a given index into view.

  Method parameters in javafx.scene.control with type arguments of type ScrollToEvent
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | ListView.`setOnScrollTo​(EventHandler<ScrollToEvent<Integer>> value)` | Sets the value of the property onScrollTo.
  `void` | TableView.`setOnScrollTo​(EventHandler<ScrollToEvent<Integer>> value)` | Sets the value of the property onScrollTo.
  `void` | TreeTableView.`setOnScrollTo​(EventHandler<ScrollToEvent<Integer>> value)` | Sets the value of the property onScrollTo.
  `void` | TreeView.`setOnScrollTo​(EventHandler<ScrollToEvent<Integer>> value)` | Sets the value of the property onScrollTo.
  `void` | TableView.`setOnScrollToColumn​(EventHandler<ScrollToEvent<TableColumn<S,​?>>> value)` | Sets the value of the property onScrollToColumn.
  `void` | TreeTableView.`setOnScrollToColumn​(EventHandler<ScrollToEvent<TreeTableColumn<S,​?>>> value)` | Sets the value of the property onScrollToColumn.

  Constructor parameters in javafx.scene.control with type arguments of type ScrollToEvent
  Constructor | Description
  --- | ---
  `ScrollToEvent​(Object source, EventTarget target, EventType<ScrollToEvent<T>> type, T scrollTarget)` | Construct a new `Event` with the specified event source, target and type.