public class ContextMenuEvent
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

When the user requests a context menu, this event occurs. Context menus can be triggered by the mouse or the keyboard. The exact sequence of mouse or keyboard events that is used to request a menu is platform specific. For example, on Windows, Shift+F10 requests a context menu.

The event coordinates contain default position for the context menu. For mouse-triggered events it is the position of the mouse cursor, for keyboard-triggered events it is a point inside of bounds of current focus owner (which is the event's target).

extends InputEvent

Since:  JavaFX 2.1