public final void setOnMenuValidation (EventHandler<Event> value)

taken from field

The event handler that is associated with invocation of an accelerator for a MenuItem. This can happen when a key sequence for an accelerator is pressed. The event handler is also invoked when onShowing event handler is called.

Since:  JavaFX 2.2