Uses of Class
javafx.scene.input.ContextMenuEvent
Packages that use ContextMenuEvent
-
Uses of ContextMenuEvent in com.sun.javafx.scene
Methods in com.sun.javafx.scene that return types with arguments of type ContextMenuEventModifier and TypeMethodDescriptionfinal EventHandler<? super ContextMenuEvent>
EventHandlerProperties.onContextMenuRequested()
ObjectProperty<EventHandler<? super ContextMenuEvent>>
EventHandlerProperties.onContextMenuRequestedProperty()
-
Uses of ContextMenuEvent in javafx.scene
Methods in javafx.scene that return types with arguments of type ContextMenuEventModifier and TypeMethodDescriptionfinal EventHandler<? super ContextMenuEvent>
Node.getOnContextMenuRequested()
Gets the value of theonContextMenuRequested
property.final ObjectProperty<EventHandler<? super ContextMenuEvent>>
Defines a function to be called when a context menu has been requested on thisNode
.Method parameters in javafx.scene with type arguments of type ContextMenuEventModifier and TypeMethodDescriptionfinal void
Node.setOnContextMenuRequested
(EventHandler<? super ContextMenuEvent> value) Sets the value of theonContextMenuRequested
property. -
Uses of ContextMenuEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type ContextMenuEventModifier and TypeFieldDescriptionstatic final EventType<ContextMenuEvent>
ContextMenuEvent.ANY
Common supertype for all context menu event types.static final EventType<ContextMenuEvent>
ContextMenuEvent.CONTEXT_MENU_REQUESTED
This event occurs when a context menu is requested.Methods in javafx.scene.input that return ContextMenuEventModifier and TypeMethodDescriptionContextMenuEvent.copyFor
(Object newSource, EventTarget newTarget) Fills the given event by this event's coordinates recomputed to the given source objectMethods in javafx.scene.input that return types with arguments of type ContextMenuEventConstructor parameters in javafx.scene.input with type arguments of type ContextMenuEventModifierConstructorDescriptionContextMenuEvent
(Object source, EventTarget target, EventType<ContextMenuEvent> eventType, double x, double y, double screenX, double screenY, boolean keyboardTrigger, PickResult pickResult) Constructs new ContextMenu event.ContextMenuEvent
(EventType<ContextMenuEvent> eventType, double x, double y, double screenX, double screenY, boolean keyboardTrigger, PickResult pickResult) Constructs new ContextMenu event with empty source and target.