Uses of Class
javafx.scene.input.ScrollEvent
-
Packages that use ScrollEvent 软件包 描述 javafx.scene 为JavaFX Scene Graph API提供核心的基类集。javafx.scene.input 提供一组用于鼠标和键盘输入事件处理的类。 -
-
Uses of ScrollEvent in javafx.scene
Method parameters in javafx.scene with type arguments of type ScrollEvent Modifier and Type 方法 描述 void
Node. setOnScroll(EventHandler<? super ScrollEvent> value)
设置属性onScroll的值。void
Scene. setOnScroll(EventHandler<? super ScrollEvent> value)
设置属性onScroll的值。void
Node. setOnScrollFinished(EventHandler<? super ScrollEvent> value)
设置属性onScrollFinished的值。void
Scene. setOnScrollFinished(EventHandler<? super ScrollEvent> value)
设置属性onScrollFinished的值。void
Node. setOnScrollStarted(EventHandler<? super ScrollEvent> value)
设置属性onScrollStarted的值。void
Scene. setOnScrollStarted(EventHandler<? super ScrollEvent> value)
设置属性onScrollStarted的值。 -
Uses of ScrollEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type ScrollEvent Modifier and Type Field 描述 static EventType<ScrollEvent>
ScrollEvent. ANY
所有滚动事件类型的常用超类型。static EventType<ScrollEvent>
ScrollEvent. SCROLL
当用户执行滚动操作(例如旋转鼠标滚轮或在触摸屏上拖动手指)时,会发生此事件。static EventType<ScrollEvent>
ScrollEvent. SCROLL_FINISHED
当滚动手势结束时,会发生此事件。static EventType<ScrollEvent>
ScrollEvent. SCROLL_STARTED
当检测到滚动手势时,会发生此事件。Methods in javafx.scene.input that return ScrollEvent Modifier and Type 方法 描述 ScrollEvent
ScrollEvent. copyFor(Object newSource, EventTarget newTarget)
ScrollEvent
ScrollEvent. copyFor(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type)
用给定的字段替换给定事件的副本。Methods in javafx.scene.input that return types with arguments of type ScrollEvent Modifier and Type 方法 描述 EventType<ScrollEvent>
ScrollEvent. getEventType()
Method parameters in javafx.scene.input with type arguments of type ScrollEvent Modifier and Type 方法 描述 ScrollEvent
ScrollEvent. copyFor(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type)
用给定的字段替换给定事件的副本。Constructor parameters in javafx.scene.input with type arguments of type ScrollEvent Constructor 描述 ScrollEvent(Object source, EventTarget target, EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)
构造新的ScrollEvent事件。ScrollEvent(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, double multiplierX, double multiplierY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)
构造具有null源和目标的新的ScrollEvent事件ScrollEvent(EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)
构造具有null源和目标的新的ScrollEvent事件
-