Interface ContextMenu.Listener

All Superinterfaces:
HasContextMenuHandlers, HasHandlers, HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers
All Known Implementing Classes:
AbstractGraph, Console.Log, GenericPopGraph, HistoGraph, LineGraph, ParaGraph, PopGraph2D, PopGraph3D, S3Graph
Enclosing class:
ContextMenu

Listener interface for widgets that offer context menus. This ensures proper placement of the context menu.
  • Method Details

    • getAbsoluteLeft

      int getAbsoluteLeft()
      Get the absolute left positioning of the widget requesting the context menu.
      Returns:
      the absolute left of widget
    • getAbsoluteTop

      int getAbsoluteTop()
      Get the absolute top positioning of the widget requesting the context menu.
      Returns:
      absolute top of widget