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

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

  Methods in javafx.scene.control that return types with arguments of type TreeView.EditEvent
  Modifier and Type | Method | Description
  --- | --- | ---
  `static <T> EventType<TreeView.EditEvent<T>>` | TreeView.`editAnyEvent()` | An EventType that indicates some edit event has occurred.
  `static <T> EventType<TreeView.EditEvent<T>>` | TreeView.`editCancelEvent()` | An EventType used to indicate that an edit event has just been canceled within the TreeView upon which the event was fired.
  `static <T> EventType<TreeView.EditEvent<T>>` | TreeView.`editCommitEvent()` | An EventType that is used to indicate that an edit in a TreeView has been committed.
  `static <T> EventType<TreeView.EditEvent<T>>` | TreeView.`editStartEvent()` | An EventType used to indicate that an edit event has started within the TreeView upon which the event was fired.
  `EventHandler<TreeView.EditEvent<T>>` | TreeView.`getOnEditCancel()` | Returns the `EventHandler` that will be called when the user cancels an edit.
  `EventHandler<TreeView.EditEvent<T>>` | TreeView.`getOnEditCommit()` | Returns the `EventHandler` that will be called when the user commits an edit.
  `EventHandler<TreeView.EditEvent<T>>` | TreeView.`getOnEditStart()` | Returns the `EventHandler` that will be called when the user begins an edit.
  `ObjectProperty<EventHandler<TreeView.EditEvent<T>>>` | TreeView.`onEditCancelProperty()` | This event handler will be fired when the user cancels editing a cell.
  `ObjectProperty<EventHandler<TreeView.EditEvent<T>>>` | TreeView.`onEditCommitProperty()` | This property is used when the user performs an action that should result in their editing input being persisted.
  `ObjectProperty<EventHandler<TreeView.EditEvent<T>>>` | TreeView.`onEditStartProperty()` | This event handler will be fired when the user successfully initiates editing.

  Method parameters in javafx.scene.control with type arguments of type TreeView.EditEvent
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | TreeView.`setOnEditCancel​(EventHandler<TreeView.EditEvent<T>> value)` | Sets the `EventHandler` that will be called when the user cancels an edit.
  `void` | TreeView.`setOnEditCommit​(EventHandler<TreeView.EditEvent<T>> value)` | Sets the `EventHandler` that will be called when the user commits an edit.
  `void` | TreeView.`setOnEditStart​(EventHandler<TreeView.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 TreeView.EditEvent
  Constructor | Description
  --- | ---
  `EditEvent​(TreeView<T> source, EventType<? extends TreeView.EditEvent> eventType, TreeItem<T> treeItem, T oldValue, T newValue)` | Creates a new EditEvent instance to represent an edit event.