Interface VisualSet.ContextMenuHandler<T>

Type Parameters:
T - visual set data elements type
Enclosing class:
VisualSet<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface VisualSet.ContextMenuHandler<T>
Context menu open event handler.
Author:
Aleksey Kirillov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Object menu, T item, javafx.scene.input.MouseEvent event)
    Method called when the context menu is opened.
  • Method Details

    • accept

      void accept(Object menu, T item, javafx.scene.input.MouseEvent event)
      Method called when the context menu is opened.
      Parameters:
      menu - currently opened context menu
      item - date element within which the mouse click occurred
      event - MouseEvent causing the context menu to open