JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Class TreeView.EditEvent<T>
Field Summary
Fields
Modifier and Type
Field
Description
static EventType <?>
ANY
Common supertype for all edit event types.
Method Summary
All Methods
Modifier and Type
Method
Description
T
getNewValue ()
Returns the new value input into the TreeItem by the end user.
T
getOldValue ()
Returns the old value that existed in the TreeItem prior to the current
edit event.
TreeView <T >
getSource ()
Returns the TreeView upon which the edit took place.
TreeItem <T >
getTreeItem ()
Returns the
TreeItem
upon which the edit took place.
Constructor Detail
EditEvent
public EditEvent(TreeView <T > source,
EventType <? extends TreeView.EditEvent > eventType,
TreeItem <T > treeItem,
T oldValue,
T newValue)
Parameters:
source
- the source
eventType
- the eventType
treeItem
- the treeItem
oldValue
- the oldValue
newValue
- the newValue
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.