org.vaadin.peter.contextmenu
Class ContextMenu.ContextMenuOpenedOnComponentEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ContextMenu.ContextMenuOpenedOnComponentEvent(ContextMenu contextMenu, int x, int y, com.vaadin.ui.Component component)
           
 
Method Summary
 ContextMenu getContextMenu()
           
 int getX()
           
 int getY()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextMenu.ContextMenuOpenedOnComponentEvent

public ContextMenu.ContextMenuOpenedOnComponentEvent(ContextMenu contextMenu,
                                                     int x,
                                                     int y,
                                                     com.vaadin.ui.Component component)
Method Detail

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 © 2014 Magnolia International Ltd.. All Rights Reserved.