org.vaadin.peter.contextmenu
Class ContextMenu.ContextMenuOpenedOnComponentEvent
java.lang.Object
java.util.EventObject
org.vaadin.peter.contextmenu.ContextMenu.ContextMenuOpenedOnComponentEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ContextMenu
public static class ContextMenu.ContextMenuOpenedOnComponentEvent
- extends EventObject
ContextMenuOpenedOnComponentEvent is an event fired by the context menu
when it's opened from a component
- See Also:
- Serialized Form
ContextMenu.ContextMenuOpenedOnComponentEvent
public ContextMenu.ContextMenuOpenedOnComponentEvent(ContextMenu contextMenu,
int x,
int y,
com.vaadin.ui.Component component)
getContextMenu
public ContextMenu getContextMenu()
- Returns:
- ContextMenu that was opened.
getX
public int getX()
- Returns:
- x-coordinate of open position.
getY
public int getY()
- Returns:
- y-coordinate of open position.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.