Uses of Class
javafx.scene.input.MouseDragEvent
-
Packages that use MouseDragEvent 软件包 描述 javafx.scene 为JavaFX Scene Graph API提供核心的基类集。javafx.scene.input 提供一组用于鼠标和键盘输入事件处理的类。 -
-
Uses of MouseDragEvent in javafx.scene
Method parameters in javafx.scene with type arguments of type MouseDragEvent Modifier and Type 方法 描述 void
Node. setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragEntered的值。void
Scene. setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragEntered的值。void
Node. setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragExited的值。void
Scene. setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragExited的值。void
Node. setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragOver的值。void
Scene. setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragOver的值。void
Node. setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragReleased的值。void
Scene. setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)
设置属性onMouseDragReleased的值。 -
Uses of MouseDragEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type MouseDragEvent Modifier and Type Field 描述 static EventType<MouseDragEvent>
MouseDragEvent. ANY
所有鼠标事件类型的常用超类型。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_ENTERED
当手势进入节点时,会发生此事件。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_ENTERED_TARGET
当手势进入节点时,会发生此事件。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_EXITED
当手势退出节点时,会发生此事件。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_EXITED_TARGET
当手势退出节点时,会发生此事件。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_OVER
当该节点内的手势进行时,会发生此事件。static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_RELEASED
当手势在该节点上结束(通过释放鼠标按钮)时,会发生此事件。Methods in javafx.scene.input that return MouseDragEvent Modifier and Type 方法 描述 MouseDragEvent
MouseDragEvent. copyFor(Object newSource, EventTarget newTarget)
MouseDragEvent
MouseDragEvent. copyFor(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> type)
static MouseDragEvent
MouseEvent. copyForMouseDragEvent(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult)
创建MouseDragEvent类型的鼠标事件的副本Methods in javafx.scene.input that return types with arguments of type MouseDragEvent Modifier and Type 方法 描述 EventType<MouseDragEvent>
MouseDragEvent. getEventType()
Method parameters in javafx.scene.input with type arguments of type MouseDragEvent Modifier and Type 方法 描述 static MouseDragEvent
MouseEvent. copyForMouseDragEvent(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult)
创建MouseDragEvent类型的鼠标事件的副本Constructor parameters in javafx.scene.input with type arguments of type MouseDragEvent Constructor 描述 MouseDragEvent(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)
构造新的MouseDragEvent事件。MouseDragEvent(EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)
Constructs new MouseDragEvent event with null source and target.
-