T - the data type of treepublic static class Tree.ItemClick<T> extends ConnectorEvent
source| Modifier | Constructor and Description |
|---|---|
protected |
ItemClick(Tree<T> source,
T item,
MouseEventDetails mouseEventDetails)
Constructs a new item click.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem()
Returns the clicked item.
|
MouseEventDetails |
getMouseEventDetails()
Returns the mouse event details.
|
Tree<T> |
getSource() |
getConnectortoStringprotected ItemClick(Tree<T> source, T item, MouseEventDetails mouseEventDetails)
source - the tree componentitem - the clicked itemmouseEventDetails - information about the original mouse event (mouse button
clicked, coordinates if available etc.)public T getItem()
public Tree<T> getSource()
getSource in class EventObjectpublic MouseEventDetails getMouseEventDetails()
Copyright © 2019 Vaadin Ltd. All rights reserved.