We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class Tree.TreeContextClickEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.event.MouseEvents.ClickEvent
-
- com.vaadin.event.ContextClickEvent
-
- com.vaadin.ui.Tree.TreeContextClickEvent
-
All Implemented Interfaces:
Enclosing class:
public static class Tree.TreeContextClickEvent extends ContextClickEvent
ContextClickEvent for the Tree Component.
Since:
7.6
See Also:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.event.ContextClickEvent
ContextClickEvent.ContextClickListener, ContextClickEvent.ContextClickNotifier
-
-
Field Summary
-
Fields inherited from class com.vaadin.event.ContextClickEvent
CONTEXT_CLICK_METHOD
-
Fields inherited from class com.vaadin.event.MouseEvents.ClickEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description TreeContextClickEvent(Tree source, Object itemId, MouseEventDetails mouseEventDetails)
-
Method Summary
All Methods Modifier and Type Method and Description Tree
getComponent()
Gets the component where the event occurred.
Object
getItemId()
Returns the item id of context clicked row.
-
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
TreeContextClickEvent
public TreeContextClickEvent(Tree source, Object itemId, MouseEventDetails mouseEventDetails)
-
-
Method Detail
-
getComponent
public Tree getComponent()
Description copied from class:
Component.Event
Gets the component where the event occurred.
Overrides:
getComponent
in classComponent.Event
Returns:
the source component of the event
-
getItemId
public Object getItemId()
Returns the item id of context clicked row.
Returns:
item id of clicked row;
null
if no row is present at the location
-
-