Interface ContextMenu.Provider

All Known Implementing Classes:
AbstractGraph, Console, GenericPopGraph, HistoGraph, LineGraph, ParaGraph, PopGraph2D, PopGraph3D, S3Graph
Enclosing class:
ContextMenu

public static interface ContextMenu.Provider
Provider interface for classes that are responsible for supplying the contents of the context menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populateContextMenuAt(ContextMenu menu, int x, int y)
    Populate context menu menu in listening widget at (relative) position (x,y).
  • Method Details

    • populateContextMenuAt

      void populateContextMenuAt(ContextMenu menu, int x, int y)
      Populate context menu menu in listening widget at (relative) position (x,y).
      Parameters:
      menu - context menu entries are added here
      x - horizontal coordinate (relative to listening widget)
      y - horizontal coordinate (relative to listening widget)