Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
Modifier and Type | Field and Description |
---|---|
private MouseEvent |
Scene.MouseHandler.lastEvent |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onDragDetected
Defines a function to be called when drag gesture has been
detected.
|
private EventHandler<? super MouseEvent> |
SceneBuilder.onDragDetected |
private EventHandler<? super MouseEvent> |
NodeBuilder.onDragDetected |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseClicked
Defines a function to be called when a mouse button has been clicked
(pressed and released) on this
Scene . |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseClicked |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseClicked |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseDragged
Defines a function to be called when a mouse button is pressed
on this
Scene and then dragged. |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseDragged |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseDragged |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseEntered
Defines a function to be called when the mouse enters this
Scene . |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseEntered |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseEntered |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseExited
Defines a function to be called when the mouse exits this
Scene . |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseExited |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseExited |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseMoved
Defines a function to be called when mouse cursor moves within
this
Scene but no buttons have been pushed. |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseMoved |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseMoved |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMousePressed
Defines a function to be called when a mouse button
has been pressed on this
Scene . |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMousePressed |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMousePressed |
private ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseReleased
Defines a function to be called when a mouse button
has been released on this
Scene . |
private EventHandler<? super MouseEvent> |
SceneBuilder.onMouseReleased |
private EventHandler<? super MouseEvent> |
NodeBuilder.onMouseReleased |
Modifier and Type | Method and Description |
---|---|
EventHandler<? super MouseEvent> |
Scene.getOnDragDetected()
Gets the value of the property onDragDetected.
|
EventHandler<? super MouseEvent> |
Node.getOnDragDetected()
Gets the value of the property onDragDetected.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseClicked()
Gets the value of the property onMouseClicked.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseClicked()
Gets the value of the property onMouseClicked.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseDragged()
Gets the value of the property onMouseDragged.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseDragged()
Gets the value of the property onMouseDragged.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseEntered()
Gets the value of the property onMouseEntered.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseEntered()
Gets the value of the property onMouseEntered.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseExited()
Gets the value of the property onMouseExited.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseExited()
Gets the value of the property onMouseExited.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseMoved()
Gets the value of the property onMouseMoved.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseMoved()
Gets the value of the property onMouseMoved.
|
EventHandler<? super MouseEvent> |
Scene.getOnMousePressed()
Gets the value of the property onMousePressed.
|
EventHandler<? super MouseEvent> |
Node.getOnMousePressed()
Gets the value of the property onMousePressed.
|
EventHandler<? super MouseEvent> |
Scene.getOnMouseReleased()
Gets the value of the property onMouseReleased.
|
EventHandler<? super MouseEvent> |
Node.getOnMouseReleased()
Gets the value of the property onMouseReleased.
|
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onDragDetectedProperty()
Defines a function to be called when drag gesture has been
detected.
|
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onDragDetectedProperty()
Defines a function to be called when drag gesture has been
detected.
|
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseClickedProperty()
Defines a function to be called when a mouse button has been clicked
(pressed and released) on this
Scene . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseClickedProperty()
Defines a function to be called when a mouse button has been clicked
(pressed and released) on this
Node . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseDraggedProperty()
Defines a function to be called when a mouse button is pressed
on this
Scene and then dragged. |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseDraggedProperty()
Defines a function to be called when a mouse button is pressed
on this
Node and then dragged. |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseEnteredProperty()
Defines a function to be called when the mouse enters this
Scene . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseEnteredProperty()
Defines a function to be called when the mouse enters this
Node . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseExitedProperty()
Defines a function to be called when the mouse exits this
Scene . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseExitedProperty()
Defines a function to be called when the mouse exits this
Node . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseMovedProperty()
Defines a function to be called when mouse cursor moves within
this
Scene but no buttons have been pushed. |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseMovedProperty()
Defines a function to be called when mouse cursor moves within
this
Node but no buttons have been pushed. |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMousePressedProperty()
Defines a function to be called when a mouse button
has been pressed on this
Scene . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMousePressedProperty()
Defines a function to be called when a mouse button
has been pressed on this
Node . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Scene.onMouseReleasedProperty()
Defines a function to be called when a mouse button
has been released on this
Scene . |
ObjectProperty<EventHandler<? super MouseEvent>> |
Node.onMouseReleasedProperty()
Defines a function to be called when a mouse button
has been released on this
Node . |
Modifier and Type | Method and Description |
---|---|
void |
Scene.MouseHandler.exitFullPDR(MouseEvent e) |
private void |
Scene.MouseHandler.handleEnterExit(MouseEvent e,
Scene.TargetWrapper pickedTarget) |
void |
Scene.impl_processMouseEvent(MouseEvent e)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private void |
Scene.ClickGenerator.postProcess(MouseEvent e,
Scene.TargetWrapper target,
Scene.TargetWrapper pickedTarget) |
private void |
Scene.ClickGenerator.preProcess(MouseEvent e) |
private void |
Node.preprocessMouseEvent(MouseEvent e) |
private void |
Scene.MouseHandler.process(MouseEvent e) |
private void |
Scene.MouseHandler.process(MouseEvent e,
boolean onPulse) |
private boolean |
Scene.DnDGesture.process(MouseEvent mouseEvent,
EventTarget target)
This function is useful for drag gesture recognition from
within this Scene (as opposed to in the TK implementation...
|
private void |
Scene.DnDGesture.processDragDetection(MouseEvent mouseEvent)
Sets the default dragDetect value
|
private void |
Scene.MouseHandler.processFullPDR(MouseEvent e,
boolean onPulse) |
Modifier and Type | Method and Description |
---|---|
B |
SceneBuilder.onDragDetected(EventHandler<? super MouseEvent> x)
Set the value of the
onDragDetected property for the instance constructed by this builder. |
B |
NodeBuilder.onDragDetected(EventHandler<? super MouseEvent> x)
Set the value of the
onDragDetected property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseClicked(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseClicked property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseClicked(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseClicked property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseDragged(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseDragged property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseDragged(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseDragged property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseEntered(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseEntered property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseEntered(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseEntered property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseExited(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseExited property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseExited(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseExited property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseMoved(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseMoved property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseMoved(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseMoved property for the instance constructed by this builder. |
B |
SceneBuilder.onMousePressed(EventHandler<? super MouseEvent> x)
Set the value of the
onMousePressed property for the instance constructed by this builder. |
B |
NodeBuilder.onMousePressed(EventHandler<? super MouseEvent> x)
Set the value of the
onMousePressed property for the instance constructed by this builder. |
B |
SceneBuilder.onMouseReleased(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseReleased property for the instance constructed by this builder. |
B |
NodeBuilder.onMouseReleased(EventHandler<? super MouseEvent> x)
Set the value of the
onMouseReleased property for the instance constructed by this builder. |
void |
Scene.setOnDragDetected(EventHandler<? super MouseEvent> value)
Sets the value of the property onDragDetected.
|
void |
Node.setOnDragDetected(EventHandler<? super MouseEvent> value)
Sets the value of the property onDragDetected.
|
void |
Scene.setOnMouseClicked(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseClicked.
|
void |
Node.setOnMouseClicked(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseClicked.
|
void |
Scene.setOnMouseDragged(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseDragged.
|
void |
Node.setOnMouseDragged(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseDragged.
|
void |
Scene.setOnMouseEntered(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseEntered.
|
void |
Node.setOnMouseEntered(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseEntered.
|
void |
Scene.setOnMouseExited(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseExited.
|
void |
Node.setOnMouseExited(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseExited.
|
void |
Scene.setOnMouseMoved(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseMoved.
|
void |
Node.setOnMouseMoved(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseMoved.
|
void |
Scene.setOnMousePressed(EventHandler<? super MouseEvent> value)
Sets the value of the property onMousePressed.
|
void |
Node.setOnMousePressed(EventHandler<? super MouseEvent> value)
Sets the value of the property onMousePressed.
|
void |
Scene.setOnMouseReleased(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseReleased.
|
void |
Node.setOnMouseReleased(EventHandler<? super MouseEvent> value)
Sets the value of the property onMouseReleased.
|
Modifier and Type | Field and Description |
---|---|
private EventHandler<MouseEvent> |
Tooltip.TooltipBehavior.KILL_HANDLER
Registers for mouse click, press, release, drag events.
|
private EventHandler<MouseEvent> |
Tooltip.TooltipBehavior.LEAVING_HANDLER
Registers for mouse exit events.
|
private EventHandler<MouseEvent> |
Tooltip.TooltipBehavior.MOVE_HANDLER
Registers for mouse move events only.
|
Modifier and Type | Class and Description |
---|---|
class |
MouseDragEvent
Mouse drag events are delivered to potential gesture targets during
full press-drag-release gestures.
|
Modifier and Type | Field and Description |
---|---|
static EventType<MouseEvent> |
MouseEvent.ANY
Common supertype for all mouse event types.
|
static EventType<MouseEvent> |
MouseEvent.DRAG_DETECTED
This event is delivered to a node that is identified as a source of a
dragging gesture.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_CLICKED
This event occurs when mouse button has been clicked (pressed and
released on the same node).
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_DRAGGED
This event occurs when mouse moves with a pressed button.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_ENTERED
This event occurs when mouse enters a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_ENTERED_TARGET
This event occurs when mouse enters a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_EXITED
This event occurs when mouse exits a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_EXITED_TARGET
This event occurs when mouse exits a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_MOVED
This event occurs when mouse moves within a node and no buttons
are pressed.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_PRESSED
This event occurs when mouse button is pressed.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_RELEASED
This event occurs when mouse button is released.
|
Modifier and Type | Method and Description |
---|---|
static MouseEvent |
MouseEvent.impl_copy(Node source,
Node target,
MouseEvent evt)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_copy(java.lang.Object source,
EventTarget target,
MouseEvent evt,
EventType<? extends MouseEvent> impl_EventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseDragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
MouseEvent evt,
EventType<? extends MouseEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_mouseEvent(double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private static MouseEvent |
MouseEvent.impl_mouseEvent(java.lang.Object _source,
EventTarget _target,
double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _stillSincePress,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
MouseEvent.copyFields(MouseEvent from,
MouseEvent to,
java.lang.Object source,
EventTarget target)
Copies all private fields (except of event type) from one event to
another event.
|
static MouseEvent |
MouseEvent.impl_copy(Node source,
Node target,
MouseEvent evt)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_copy(java.lang.Object source,
EventTarget target,
MouseEvent evt,
EventType<? extends MouseEvent> impl_EventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseDragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
MouseEvent evt,
EventType<? extends MouseEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static boolean |
MouseEvent.impl_getPopupTrigger(MouseEvent mouseEvent)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private void |
MouseEvent.recomputeCoordinatesToSource(MouseEvent 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 MouseEvent |
MouseEvent.impl_copy(java.lang.Object source,
EventTarget target,
MouseEvent evt,
EventType<? extends MouseEvent> impl_EventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseDragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
MouseEvent evt,
EventType<? extends MouseEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_mouseEvent(double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private static MouseEvent |
MouseEvent.impl_mouseEvent(java.lang.Object _source,
EventTarget _target,
double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _stillSincePress,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
MouseDragEvent(java.lang.Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType) |
MouseEvent(EventType<? extends MouseEvent> eventType) |
MouseEvent(java.lang.Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType) |
Modifier and Type | Method and Description |
---|---|
private void |
WebView.processMouseEvent(MouseEvent ev) |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to