Class TreeTableView.EditEvent<S>
java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.control.TreeTableView.EditEvent<S>
- Type Parameters:
- S- The type of the input, which is the same type as the TreeTableView itself.
- All Implemented Interfaces:
- Serializable,- Cloneable
- Enclosing class:
- TreeTableView<S>
An 
Event subclass used specifically in TreeTableView for representing
 edit-related events. It provides additional API to easily access the
 TreeItem that the edit event took place on, as well as the input provided
 by the end user.- Since:
- JavaFX 8.0
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final EventType<?> Common supertype for all edit event types.Fields declared in class javafx.event.Eventconsumed, eventType, NULL_SOURCE_TARGET, target
- 
Constructor SummaryConstructorsConstructorDescriptionEditEvent(TreeTableView<S> source, EventType<? extends TreeTableView.EditEvent> eventType, TreeItem<S> treeItem, S oldValue, S newValue) Creates a new EditEvent instance to represent an edit event.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the new value input into the TreeItem by the end user.Returns the old value that existed in the TreeItem prior to the current edit event.Returns the TreeTableView upon which the edit took place.Returns theTreeItemupon which the edit took place.Methods declared in class javafx.event.Eventclone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods declared in class java.util.EventObjecttoString
- 
Field Details- 
ANYCommon supertype for all edit event types.
 
- 
- 
Constructor Details- 
EditEventpublic EditEvent(TreeTableView<S> source, EventType<? extends TreeTableView.EditEvent> eventType, TreeItem<S> treeItem, S oldValue, S newValue) Creates a new EditEvent instance to represent an edit event. This event is used forTreeTableView.editStartEvent(),TreeTableView.editCommitEvent()andTreeTableView.editCancelEvent()types.- Parameters:
- source- the source
- eventType- the eventType
- treeItem- the treeItem
- oldValue- the oldValue
- newValue- the newValue
 
 
- 
- 
Method Details- 
getSourceReturns the TreeTableView upon which the edit took place.- Overrides:
- getSourcein class- EventObject
- Returns:
- the TreeTableView upon which the edit took place
 
- 
getTreeItem
- 
getNewValueReturns the new value input into the TreeItem by the end user.- Returns:
- the new value input into the TreeItem by the end user
 
- 
getOldValueReturns the old value that existed in the TreeItem prior to the current edit event.- Returns:
- the old value that existed in the TreeItem prior to the current edit event
 
 
-