Package org.opencms.ui.contextmenu
Class CmsContextMenu.ContextMenuOpenedOnComponentEvent
java.lang.Object
java.util.EventObject
org.opencms.ui.contextmenu.CmsContextMenu.ContextMenuOpenedOnComponentEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsContextMenu
ContextMenuOpenedOnComponentEvent is an event fired by the context menu
when it's opened from a component.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionContextMenuOpenedOnComponentEvent
(CmsContextMenu contextMenu, int x, int y, com.vaadin.ui.Component component) Constructor. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Method Details
-
getContextMenu
Returns the context menu.- Returns:
- ContextMenu that was opened.
-
getRequestSourceComponent
Returns the source component.- Returns:
- Component which initiated the context menu open request.
-
getX
Returns the client x position.- Returns:
- x-coordinate of open position.
-
getY
Returns the client y position.- Returns:
- y-coordinate of open position.
-