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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 and 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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.