# Uses of Class
javafx.scene.control.ListView.EditEvent

Packages that use ListView.EditEvent
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 ListView.EditEvent in javafx.scene.control

  Methods in javafx.scene.control that return types with arguments of type ListView.EditEvent
  Modifier and Type
  Method
  Description
  `static <T> EventType<ListView.EditEvent<T>>`
  ListView.`editAnyEvent()`
  An EventType that indicates some edit event has occurred.
  `static <T> EventType<ListView.EditEvent<T>>`
  ListView.`editCancelEvent()`
  An EventType used to indicate that an edit event has just been canceled within the ListView upon which the event was fired.
  `static <T> EventType<ListView.EditEvent<T>>`
  ListView.`editCommitEvent()`
  An EventType used to indicate that an edit event has been committed within the ListView upon which the event was fired.
  `static <T> EventType<ListView.EditEvent<T>>`
  ListView.`editStartEvent()`
  An EventType used to indicate that an edit event has started within the ListView upon which the event was fired.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditCancel()`
  Returns the `EventHandler` that will be called when the user cancels an edit.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditCommit()`
  Returns the `EventHandler` that will be called when the user commits an edit.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditStart()`
  Returns the `EventHandler` that will be called when the user begins an edit.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditCancelProperty()`
  This event handler will be fired when the user cancels editing a cell.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditCommitProperty()`
  This property is used when the user performs an action that should result in their editing input being persisted.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditStartProperty()`
  This event handler will be fired when the user successfully initiates editing.
  Method parameters in javafx.scene.control with type arguments of type ListView.EditEvent
  Modifier and Type
  Method
  Description
  `final void`
  ListView.`setOnEditCancel(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user cancels an edit.
  `final void`
  ListView.`setOnEditCommit(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user has completed their editing.
  `final void`
  ListView.`setOnEditStart(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user begins an edit.
  Constructor parameters in javafx.scene.control with type arguments of type ListView.EditEvent
  Modifier
  Constructor
  Description
  ``
  `EditEvent(ListView<T> source, EventType<? extends ListView.EditEvent<T>> eventType, T newValue, int editIndex)`
  Creates a new EditEvent instance to represent an edit event.