Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<EventHandler<? super ContextMenuEvent>> |
Scene.onContextMenuRequested
Defines a function to be called when a mouse button has been clicked
(pressed and released) on this
Scene . |
private EventHandler<? super ContextMenuEvent> |
SceneBuilder.onContextMenuRequested |
private EventHandler<? super ContextMenuEvent> |
NodeBuilder.onContextMenuRequested |
Modifier and Type | Method and Description |
---|---|
EventHandler<? super ContextMenuEvent> |
Scene.getOnContextMenuRequested()
Gets the value of the property onContextMenuRequested.
|
EventHandler<? super ContextMenuEvent> |
Node.getOnContextMenuRequested()
Gets the value of the property onContextMenuRequested.
|
ObjectProperty<EventHandler<? super ContextMenuEvent>> |
Scene.onContextMenuRequestedProperty()
Defines a function to be called when a mouse button has been clicked
(pressed and released) on this
Scene . |
ObjectProperty<EventHandler<? super ContextMenuEvent>> |
Node.onContextMenuRequestedProperty()
Defines a function to be called when a context menu
has been requested on this
Node . |
Modifier and Type | Method and Description |
---|---|
B |
SceneBuilder.onContextMenuRequested(EventHandler<? super ContextMenuEvent> x)
Set the value of the
onContextMenuRequested property for the instance constructed by this builder. |
B |
NodeBuilder.onContextMenuRequested(EventHandler<? super ContextMenuEvent> x)
Set the value of the
onContextMenuRequested property for the instance constructed by this builder. |
void |
Scene.setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)
Sets the value of the property onContextMenuRequested.
|
void |
Node.setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)
Sets the value of the property onContextMenuRequested.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ContextMenuEvent> |
ContextMenuEvent.CONTEXT_MENU_REQUESTED
This event occurs when a context menu is requested.
|
Modifier and Type | Method and Description |
---|---|
static ContextMenuEvent |
ContextMenuEvent.impl_contextEvent(double _x,
double _y,
double _screenX,
double _screenY,
boolean _keyboardTrigger,
EventType<? extends ContextMenuEvent> _eventType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private void |
ContextMenuEvent.recomputeCoordinatesToSource(ContextMenuEvent newEvent,
java.lang.Object newSource)
Fills the given event by this event's coordinates recomputed to the given
source object
|
Modifier and Type | Method and Description |
---|---|
static ContextMenuEvent |
ContextMenuEvent.impl_contextEvent(double _x,
double _y,
double _screenX,
double _screenY,
boolean _keyboardTrigger,
EventType<? extends ContextMenuEvent> _eventType)
Deprecated.
|
Constructor and Description |
---|
ContextMenuEvent(EventType<? extends ContextMenuEvent> eventType) |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to