Class ContextMenu.ContextMenuOpenListener.ContextMenuOpenEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.widget.addon.contextmenu.ContextMenu.ContextMenuOpenListener.ContextMenuOpenEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GridContextMenu.GridContextMenuOpenListener.GridContextMenuOpenEvent
,TreeContextMenu.TreeContextMenuOpenListener.TreeContextMenuOpenEvent
- Enclosing interface:
- ContextMenu.ContextMenuOpenListener
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionContextMenuOpenEvent
(ContextMenu contextMenu, com.vaadin.event.ContextClickEvent contextClickEvent) -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Method Details
-
getContextMenu
- Returns:
- ContextMenu that was opened.
-
getSourceComponent
public com.vaadin.ui.Component getSourceComponent()- Returns:
- Component which initiated the context menu open request.
-
getX
public int getX()- Returns:
- x-coordinate of open position.
-
getY
public int getY()- Returns:
- y-coordinate of open position.
-
getContextClickEvent
public com.vaadin.event.ContextClickEvent getContextClickEvent()
-