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.
- Author:
- Christoph Hauert
-
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateContextMenuAt(ContextMenu menu, int x, int y) Populate context menumenuin listening widget at (relative) position(x,y).
-
Method Details
-
populateContextMenuAt
Populate context menumenuin listening widget at (relative) position(x,y).- Parameters:
menu- context menu entries are added herex- horizontal coordinate (relative to listening widget)y- horizontal coordinate (relative to listening widget)
-