Uses of Interface
javafx.event.EventHandler
-
Packages that use EventHandler 软件包 描述 javafx.animation 提供一组类,便于使用基于过渡的动画。javafx.concurrent 提供javafx.task的一组类。javafx.event 为FX事件,交付和处理提供基本框架。javafx.scene 为JavaFX Scene Graph API提供核心的基类集。javafx.scene.control JavaFX用户界面控件(UI控件或仅控件)是JavaFX场景中的专用节点,特别适用于许多不同应用程序环境中的重用。javafx.scene.media 提供用于将音频和视频集成到Java FX应用程序中的一组类。javafx.scene.transform 提供一组方便的类来执行Affine
对象的旋转,缩放,剪切和转换转换。javafx.scene.web 该软件包提供了加载和显示Web内容的方法。javafx.stage 提供JavaFX内容的顶级容器类。 -
-
Uses of EventHandler in javafx.animation
Methods in javafx.animation that return EventHandler Modifier and Type 方法 描述 EventHandler<ActionEvent>
Animation. getOnFinished()
获取属性onFinished的值。EventHandler<ActionEvent>
KeyFrame. getOnFinished()
返回onFinished
此事件处理KeyFrame
。Methods in javafx.animation that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<ActionEvent>>
Animation. onFinishedProperty()
在这个Animation
的结论执行的行动。Methods in javafx.animation with parameters of type EventHandler Modifier and Type 方法 描述 void
Animation. setOnFinished(EventHandler<ActionEvent> value)
设置属性onFinished的值。Constructors in javafx.animation with parameters of type EventHandler Constructor 描述 KeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, Collection<KeyValue> values)
构造函数KeyFrame
KeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, KeyValue... values)
构造函数KeyFrame
KeyFrame(Duration time, EventHandler<ActionEvent> onFinished, KeyValue... values)
构造函数KeyFrame
-
Uses of EventHandler in javafx.concurrent
Methods in javafx.concurrent that return EventHandler Modifier and Type 方法 描述 EventHandler<WorkerStateEvent>
Service. getOnCancelled()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnCancelled()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnFailed()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnFailed()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnReady()
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnRunning()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnRunning()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnScheduled()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnScheduled()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnSucceeded()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnSucceeded()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。Methods in javafx.concurrent that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onCancelledProperty()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onCancelledProperty()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onFailedProperty()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onFailedProperty()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onReadyProperty()
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onRunningProperty()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onRunningProperty()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onScheduledProperty()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onScheduledProperty()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onSucceededProperty()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onSucceededProperty()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。Methods in javafx.concurrent with parameters of type EventHandler Modifier and Type 方法 描述 <T extends Event>
voidService. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
将事件过滤器注册到此任务。<T extends Event>
voidTask. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
将事件过滤器注册到此任务。<T extends Event>
voidService. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
注册一个事件处理程序到这个任务。<T extends Event>
voidTask. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
注册一个事件处理程序到这个任务。<T extends Event>
voidService. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此任务中注销先前注册的事件过滤器。<T extends Event>
voidTask. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此任务中注销先前注册的事件过滤器。<T extends Event>
voidService. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此任务中注销先前注册的事件处理程序。<T extends Event>
voidTask. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此任务中注销先前注册的事件处理程序。protected <T extends Event>
voidService. setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
设置要用于此事件类型的处理程序。protected <T extends Event>
voidTask. setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
设置要用于此事件类型的处理程序。void
Service. setOnCancelled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。void
Task. setOnCancelled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。void
Service. setOnFailed(EventHandler<WorkerStateEvent> value)
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。void
Task. setOnFailed(EventHandler<WorkerStateEvent> value)
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。void
Service. setOnReady(EventHandler<WorkerStateEvent> value)
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。void
Service. setOnRunning(EventHandler<WorkerStateEvent> value)
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。void
Task. setOnRunning(EventHandler<WorkerStateEvent> value)
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。void
Service. setOnScheduled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。void
Task. setOnScheduled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。void
Service. setOnSucceeded(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。void
Task. setOnSucceeded(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。 -
Uses of EventHandler in javafx.event
Classes in javafx.event that implement EventHandler Modifier and Type Class 描述 class
WeakEventHandler<T extends Event>
用于事件处理程序注册代替其关联的事件处理程序。Constructors in javafx.event with parameters of type EventHandler Constructor 描述 WeakEventHandler(EventHandler<T> eventHandler)
创建一个新的实例WeakEventHandler
。 -
Uses of EventHandler in javafx.scene
Methods in javafx.scene that return EventHandler Modifier and Type 方法 描述 EventHandler<? super ContextMenuEvent>
Node. getOnContextMenuRequested()
获取属性onContextMenuRequested的值。EventHandler<? super ContextMenuEvent>
Scene. getOnContextMenuRequested()
获取属性onContextMenuRequested的值。EventHandler<? super MouseEvent>
Node. getOnDragDetected()
获取属性onDragDetected的值。EventHandler<? super MouseEvent>
Scene. getOnDragDetected()
获取属性onDragDetected的值。EventHandler<? super DragEvent>
Node. getOnDragDone()
获取属性onDragDone的值。EventHandler<? super DragEvent>
Scene. getOnDragDone()
获取属性onDragDone的值。EventHandler<? super DragEvent>
Node. getOnDragDropped()
获取属性onDragDropped的值。EventHandler<? super DragEvent>
Scene. getOnDragDropped()
获取属性onDragDropped的值。EventHandler<? super DragEvent>
Node. getOnDragEntered()
获取属性onDragEntered的值。EventHandler<? super DragEvent>
Scene. getOnDragEntered()
获取属性onDragEntered的值。EventHandler<? super DragEvent>
Node. getOnDragExited()
获取属性onDragExited的值。EventHandler<? super DragEvent>
Scene. getOnDragExited()
获取属性onDragExited的值。EventHandler<? super DragEvent>
Node. getOnDragOver()
获取属性onDragOver的值。EventHandler<? super DragEvent>
Scene. getOnDragOver()
获取属性onDragOver的值。EventHandler<? super InputMethodEvent>
Node. getOnInputMethodTextChanged()
获取onInputMethodTextChanged属性的值。EventHandler<? super InputMethodEvent>
Scene. getOnInputMethodTextChanged()
获取onInputMethodTextChanged属性的值。EventHandler<? super KeyEvent>
Node. getOnKeyPressed()
获取属性onKeyPressed的值。EventHandler<? super KeyEvent>
Scene. getOnKeyPressed()
获取属性onKeyPressed的值。EventHandler<? super KeyEvent>
Node. getOnKeyReleased()
获取属性onKeyReleased的值。EventHandler<? super KeyEvent>
Scene. getOnKeyReleased()
获取属性onKeyReleased的值。EventHandler<? super KeyEvent>
Node. getOnKeyTyped()
获取属性onKeyTyped的值。EventHandler<? super KeyEvent>
Scene. getOnKeyTyped()
获取属性onKeyTyped的值。EventHandler<? super MouseEvent>
Node. getOnMouseClicked()
获取属性onMouseClicked的值。EventHandler<? super MouseEvent>
Scene. getOnMouseClicked()
获取属性onMouseClicked的值。EventHandler<? super MouseDragEvent>
Node. getOnMouseDragEntered()
获取属性onMouseDragEntered的值。EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragEntered()
获取属性onMouseDragEntered的值。EventHandler<? super MouseDragEvent>
Node. getOnMouseDragExited()
获取属性onMouseDragExited的值。EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragExited()
获取属性onMouseDragExited的值。EventHandler<? super MouseEvent>
Node. getOnMouseDragged()
获取属性onMouseDragged的值。EventHandler<? super MouseEvent>
Scene. getOnMouseDragged()
获取属性onMouseDragged的值。EventHandler<? super MouseDragEvent>
Node. getOnMouseDragOver()
获取属性onMouseDragOver的值。EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragOver()
获取属性onMouseDragOver的值。EventHandler<? super MouseDragEvent>
Node. getOnMouseDragReleased()
获取属性onMouseDragReleased的值。EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragReleased()
获取属性onMouseDragReleased的值。EventHandler<? super MouseEvent>
Node. getOnMouseEntered()
获取属性onMouseEntered的值。EventHandler<? super MouseEvent>
Scene. getOnMouseEntered()
获取属性onMouseEntered的值。EventHandler<? super MouseEvent>
Node. getOnMouseExited()
获取属性onMouseExited的值。EventHandler<? super MouseEvent>
Scene. getOnMouseExited()
获取属性onMouseExited的值。EventHandler<? super MouseEvent>
Node. getOnMouseMoved()
获取属性onMouseMoved的值。EventHandler<? super MouseEvent>
Scene. getOnMouseMoved()
获取属性onMouseMoved的值。EventHandler<? super MouseEvent>
Node. getOnMousePressed()
获取属性onMousePressed的值。EventHandler<? super MouseEvent>
Scene. getOnMousePressed()
获取属性onMousePressed的值。EventHandler<? super MouseEvent>
Node. getOnMouseReleased()
获取属性onMouseReleased的值。EventHandler<? super MouseEvent>
Scene. getOnMouseReleased()
获取属性onMouseReleased的值。EventHandler<? super RotateEvent>
Node. getOnRotate()
获取属性onRotate的值。EventHandler<? super RotateEvent>
Scene. getOnRotate()
获取属性onRotate的值。EventHandler<? super RotateEvent>
Node. getOnRotationFinished()
获取属性onRotationFinished的值。EventHandler<? super RotateEvent>
Scene. getOnRotationFinished()
获取属性onRotationFinished的值。EventHandler<? super RotateEvent>
Node. getOnRotationStarted()
获取属性onRotationStarted的值。EventHandler<? super RotateEvent>
Scene. getOnRotationStarted()
获取属性onRotationStarted的值。EventHandler<? super ScrollEvent>
Node. getOnScroll()
获取属性onScroll的值。EventHandler<? super ScrollEvent>
Scene. getOnScroll()
获取属性onScroll的值。EventHandler<? super ScrollEvent>
Node. getOnScrollFinished()
获取属性onScrollFinished的值。EventHandler<? super ScrollEvent>
Scene. getOnScrollFinished()
获取属性onScrollFinished的值。EventHandler<? super ScrollEvent>
Node. getOnScrollStarted()
获取属性onScrollStarted的值。EventHandler<? super ScrollEvent>
Scene. getOnScrollStarted()
获取属性onScrollStarted的值。EventHandler<? super SwipeEvent>
Node. getOnSwipeDown()
获取属性onSwipeDown的值。EventHandler<? super SwipeEvent>
Scene. getOnSwipeDown()
获取属性onSwipeDown的值。EventHandler<? super SwipeEvent>
Node. getOnSwipeLeft()
获取属性onSwipeLeft的值。EventHandler<? super SwipeEvent>
Scene. getOnSwipeLeft()
获取属性onSwipeLeft的值。EventHandler<? super SwipeEvent>
Node. getOnSwipeRight()
获取属性onSwipeRight的值。EventHandler<? super SwipeEvent>
Scene. getOnSwipeRight()
获取属性onSwipeRight的值。EventHandler<? super SwipeEvent>
Node. getOnSwipeUp()
获取属性onSwipeUp的值。EventHandler<? super SwipeEvent>
Scene. getOnSwipeUp()
获取属性onSwipeUp的值。EventHandler<? super TouchEvent>
Node. getOnTouchMoved()
获取onTouchMoved属性的值。EventHandler<? super TouchEvent>
Scene. getOnTouchMoved()
获取onTouchMoved属性的值。EventHandler<? super TouchEvent>
Node. getOnTouchPressed()
获取onTouchPressed属性的值。EventHandler<? super TouchEvent>
Scene. getOnTouchPressed()
获取onTouchPressed属性的值。EventHandler<? super TouchEvent>
Node. getOnTouchReleased()
获取onTouchReleased属性的值。EventHandler<? super TouchEvent>
Scene. getOnTouchReleased()
获取onTouchReleased属性的值。EventHandler<? super TouchEvent>
Node. getOnTouchStationary()
获取属性onTouchStationary的值。EventHandler<? super TouchEvent>
Scene. getOnTouchStationary()
获取属性onTouchStationary的值。EventHandler<? super ZoomEvent>
Node. getOnZoom()
获取属性onZoom的值。EventHandler<? super ZoomEvent>
Scene. getOnZoom()
获取属性onZoom的值。EventHandler<? super ZoomEvent>
Node. getOnZoomFinished()
获取属性onZoomFinished的值。EventHandler<? super ZoomEvent>
Scene. getOnZoomFinished()
获取属性onZoomFinished的值。EventHandler<? super ZoomEvent>
Node. getOnZoomStarted()
获取属性onZoomStarted的值。EventHandler<? super ZoomEvent>
Scene. getOnZoomStarted()
获取属性onZoomStarted的值。Methods in javafx.scene with parameters of type EventHandler Modifier and Type 方法 描述 <T extends Event>
voidNode. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
向此节点注册事件过滤器。<T extends Event>
voidScene. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
注册一个事件过滤器到这个场景。<T extends Event>
voidNode. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
向此节点注册事件处理程序。<T extends Event>
voidScene. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
注册一个事件处理程序到这个场景。<T extends Event>
voidNode. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此节点注销先前注册的事件过滤器。<T extends Event>
voidScene. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此场景注销先前注册的事件过滤器。<T extends Event>
voidNode. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此节点注销先前注册的事件处理程序。<T extends Event>
voidScene. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此场景注销先前注册的事件处理程序。protected <T extends Event>
voidNode. setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
设置要用于此事件类型的处理程序。protected <T extends Event>
voidScene. setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
设置要用于此事件类型的处理程序。void
Node. setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)
设置属性onContextMenuRequested的值。void
Scene. setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)
设置属性onContextMenuRequested的值。void
Node. setOnDragDetected(EventHandler<? super MouseEvent> value)
设置属性onDragDetected的值。void
Scene. setOnDragDetected(EventHandler<? super MouseEvent> value)
设置属性onDragDetected的值。void
Node. setOnDragDone(EventHandler<? super DragEvent> value)
设置属性onDragDone的值。void
Scene. setOnDragDone(EventHandler<? super DragEvent> value)
设置属性onDragDone的值。void
Node. setOnDragDropped(EventHandler<? super DragEvent> value)
设置属性onDragDropped的值。void
Scene. setOnDragDropped(EventHandler<? super DragEvent> value)
设置属性onDragDropped的值。void
Node. setOnDragEntered(EventHandler<? super DragEvent> value)
设置属性onDragEntered的值。void
Scene. setOnDragEntered(EventHandler<? super DragEvent> value)
设置属性onDragEntered的值。void
Node. setOnDragExited(EventHandler<? super DragEvent> value)
设置属性onDragExited的值。void
Scene. setOnDragExited(EventHandler<? super DragEvent> value)
设置属性onDragExited的值。void
Node. setOnDragOver(EventHandler<? super DragEvent> value)
设置属性onDragOver的值。void
Scene. setOnDragOver(EventHandler<? super DragEvent> value)
设置属性onDragOver的值。void
Node. setOnInputMethodTextChanged(EventHandler<? super InputMethodEvent> value)
设置属性onInputMethodTextChanged的值。void
Scene. setOnInputMethodTextChanged(EventHandler<? super InputMethodEvent> value)
设置属性onInputMethodTextChanged的值。void
Node. setOnKeyPressed(EventHandler<? super KeyEvent> value)
设置属性onKeyPressed的值。void
Scene. setOnKeyPressed(EventHandler<? super KeyEvent> value)
设置属性onKeyPressed的值。void
Node. setOnKeyReleased(EventHandler<? super KeyEvent> value)
设置属性onKeyReleased的值。void
Scene. setOnKeyReleased(EventHandler<? super KeyEvent> value)
设置属性onKeyReleased的值。void
Node. setOnKeyTyped(EventHandler<? super KeyEvent> value)
设置属性onKeyTyped的值。void
Scene. setOnKeyTyped(EventHandler<? super KeyEvent> value)
设置属性onKeyTyped的值。void
Node. setOnMouseClicked(EventHandler<? super MouseEvent> value)
设置属性onMouseClicked的值。void
Scene. setOnMouseClicked(EventHandler<? super MouseEvent> value)
设置属性onMouseClicked的值。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. setOnMouseDragged(EventHandler<? super MouseEvent> value)
设置属性onMouseDragged的值。void
Scene. setOnMouseDragged(EventHandler<? super MouseEvent> value)
设置属性onMouseDragged的值。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的值。void
Node. setOnMouseEntered(EventHandler<? super MouseEvent> value)
设置属性onMouseEntered的值。void
Scene. setOnMouseEntered(EventHandler<? super MouseEvent> value)
设置属性onMouseEntered的值。void
Node. setOnMouseExited(EventHandler<? super MouseEvent> value)
设置属性onMouseExited的值。void
Scene. setOnMouseExited(EventHandler<? super MouseEvent> value)
设置属性onMouseExited的值。void
Node. setOnMouseMoved(EventHandler<? super MouseEvent> value)
设置属性onMouseMoved的值。void
Scene. setOnMouseMoved(EventHandler<? super MouseEvent> value)
设置属性onMouseMoved的值。void
Node. setOnMousePressed(EventHandler<? super MouseEvent> value)
设置属性onMousePressed的值。void
Scene. setOnMousePressed(EventHandler<? super MouseEvent> value)
设置属性onMousePressed的值。void
Node. setOnMouseReleased(EventHandler<? super MouseEvent> value)
设置属性onMouseReleased的值。void
Scene. setOnMouseReleased(EventHandler<? super MouseEvent> value)
设置属性onMouseReleased的值。void
Node. setOnRotate(EventHandler<? super RotateEvent> value)
设置属性onRotate的值。void
Scene. setOnRotate(EventHandler<? super RotateEvent> value)
设置属性onRotate的值。void
Node. setOnRotationFinished(EventHandler<? super RotateEvent> value)
设置属性onRotationFinished的值。void
Scene. setOnRotationFinished(EventHandler<? super RotateEvent> value)
设置属性onRotationFinished的值。void
Node. setOnRotationStarted(EventHandler<? super RotateEvent> value)
设置属性onRotationStarted的值。void
Scene. setOnRotationStarted(EventHandler<? super RotateEvent> value)
设置属性onRotationStarted的值。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的值。void
Node. setOnSwipeDown(EventHandler<? super SwipeEvent> value)
设置属性onSwipeDown的值。void
Scene. setOnSwipeDown(EventHandler<? super SwipeEvent> value)
设置属性onSwipeDown的值。void
Node. setOnSwipeLeft(EventHandler<? super SwipeEvent> value)
设置属性onSwipeLeft的值。void
Scene. setOnSwipeLeft(EventHandler<? super SwipeEvent> value)
设置属性onSwipeLeft的值。void
Node. setOnSwipeRight(EventHandler<? super SwipeEvent> value)
设置属性onSwipeRight的值。void
Scene. setOnSwipeRight(EventHandler<? super SwipeEvent> value)
设置属性onSwipeRight的值。void
Node. setOnSwipeUp(EventHandler<? super SwipeEvent> value)
设置属性onSwipeUp的值。void
Scene. setOnSwipeUp(EventHandler<? super SwipeEvent> value)
设置属性onSwipeUp的值。void
Node. setOnTouchMoved(EventHandler<? super TouchEvent> value)
设置属性onTouchMoved的值。void
Scene. setOnTouchMoved(EventHandler<? super TouchEvent> value)
设置属性onTouchMoved的值。void
Node. setOnTouchPressed(EventHandler<? super TouchEvent> value)
设置属性onTouchPressed的值。void
Scene. setOnTouchPressed(EventHandler<? super TouchEvent> value)
设置属性onTouchPressed的值。void
Node. setOnTouchReleased(EventHandler<? super TouchEvent> value)
设置属性onTouchReleased的值。void
Scene. setOnTouchReleased(EventHandler<? super TouchEvent> value)
设置属性onTouchReleased的值。void
Node. setOnTouchStationary(EventHandler<? super TouchEvent> value)
设置属性onTouchStationary的值。void
Scene. setOnTouchStationary(EventHandler<? super TouchEvent> value)
设置属性onTouchStationary的值。void
Node. setOnZoom(EventHandler<? super ZoomEvent> value)
设置Zoom上的属性值。void
Scene. setOnZoom(EventHandler<? super ZoomEvent> value)
设置Zoom上的属性值。void
Node. setOnZoomFinished(EventHandler<? super ZoomEvent> value)
设置属性onZoomFinished的值。void
Scene. setOnZoomFinished(EventHandler<? super ZoomEvent> value)
设置属性onZoomFinished的值。void
Node. setOnZoomStarted(EventHandler<? super ZoomEvent> value)
设置属性onZoomStarted的值。void
Scene. setOnZoomStarted(EventHandler<? super ZoomEvent> value)
设置属性onZoomStarted的值。 -
Uses of EventHandler in javafx.scene.control
Methods in javafx.scene.control with parameters of type EventHandler Modifier and Type 方法 描述 <E extends Event>
voidMenu. addEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
在此MenuItem中注册一个事件处理程序。<E extends Event>
voidMenuItem. addEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
在此MenuItem中注册一个事件处理程序。<E extends Event>
voidTableColumnBase. addEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
在此表列中注册一个事件处理程序。<E extends Event>
voidTreeItem. addEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
将一个事件处理程序注册到此TreeItem。<E extends Event>
voidMenu. removeEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
从此MenuItem中注销先前注册的事件处理程序。<E extends Event>
voidMenuItem. removeEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
从此MenuItem中注销先前注册的事件处理程序。<E extends Event>
voidTableColumnBase. removeEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
从此表列中注销先前注册的事件处理程序。<E extends Event>
voidTreeItem. removeEventHandler(EventType<E> eventType, EventHandler<E> eventHandler)
从此TreeItem中注销先前注册的事件处理程序。void
ButtonBase. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
ChoiceBox. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
ComboBoxBase. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
ContextMenu. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
MenuItem. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
TextField. setOnAction(EventHandler<ActionEvent> value)
设置属性onAction的值。void
Tab. setOnClosed(EventHandler<Event> value)
定义标签关闭时要调用的函数。void
Dialog. setOnCloseRequest(EventHandler<DialogEvent> value)
设置属性onCloseRequest的值。void
Tab. setOnCloseRequest(EventHandler<Event> value)
设置属性onCloseRequest的值。void
ListView. setOnEditCancel(EventHandler<ListView.EditEvent<T>> value)
设置当用户取消编辑时将被调用的EventHandler
。void
TableColumn. setOnEditCancel(EventHandler<TableColumn.CellEditEvent<S,T>> value)
设置属性onEditCancel的值。void
TreeTableColumn. setOnEditCancel(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)
设置属性onEditCancel的值。void
TreeView. setOnEditCancel(EventHandler<TreeView.EditEvent<T>> value)
设置当用户取消编辑时将被调用的EventHandler
。void
ListView. setOnEditCommit(EventHandler<ListView.EditEvent<T>> value)
设置当用户完成编辑时将被调用的EventHandler
。void
TableColumn. setOnEditCommit(EventHandler<TableColumn.CellEditEvent<S,T>> value)
设置属性onEditCommit的值。void
TreeTableColumn. setOnEditCommit(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)
设置属性onEditCommit的值。void
TreeView. setOnEditCommit(EventHandler<TreeView.EditEvent<T>> value)
设置当用户提交编辑时将被调用的EventHandler
。void
ListView. setOnEditStart(EventHandler<ListView.EditEvent<T>> value)
设置当用户开始编辑时将被调用的EventHandler
。void
TableColumn. setOnEditStart(EventHandler<TableColumn.CellEditEvent<S,T>> value)
设置属性onEditStart的值。void
TreeTableColumn. setOnEditStart(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)
设置属性onEditStart的值。void
TreeView. setOnEditStart(EventHandler<TreeView.EditEvent<T>> value)
设置当用户开始编辑时将被调用的EventHandler
。void
ChoiceBox. setOnHidden(EventHandler<Event> value)
设置属性onHidden的值。void
ComboBoxBase. setOnHidden(EventHandler<Event> value)
设置属性onHidden的值。void
Dialog. setOnHidden(EventHandler<DialogEvent> value)
设置属性onHidden的值。void
Menu. setOnHidden(EventHandler<Event> value)
设置属性onHidden的值。void
ChoiceBox. setOnHiding(EventHandler<Event> value)
设置属性onHiding的值。void
ComboBoxBase. setOnHiding(EventHandler<Event> value)
设置属性onHiding的值。void
Dialog. setOnHiding(EventHandler<DialogEvent> value)
设置属性onHiding的值。void
Menu. setOnHiding(EventHandler<Event> value)
设置属性onHiding的值。void
MenuItem. setOnMenuValidation(EventHandler<Event> value)
设置属性onMenuValidation的值。void
ListView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
设置属性onScrollTo的值。void
TableView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
设置属性onScrollTo的值。void
TreeTableView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
设置属性onScrollTo的值。void
TreeView. setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)
设置属性onScrollTo的值。void
TableView. setOnScrollToColumn(EventHandler<ScrollToEvent<TableColumn<S,?>>> value)
设置属性onScrollToColumn的值。void
TreeTableView. setOnScrollToColumn(EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> value)
设置属性onScrollToColumn的值。void
Tab. setOnSelectionChanged(EventHandler<Event> value)
定义在选项卡上发生选择更改时要调用的函数。void
ChoiceBox. setOnShowing(EventHandler<Event> value)
设置属性onShowing的值。void
ComboBoxBase. setOnShowing(EventHandler<Event> value)
设置属性onShowing的值。void
Dialog. setOnShowing(EventHandler<DialogEvent> value)
设置属性onShowing的值。void
Menu. setOnShowing(EventHandler<Event> value)
设置属性onShowing的值。void
ChoiceBox. setOnShown(EventHandler<Event> value)
设置属性onShown的值。void
ComboBoxBase. setOnShown(EventHandler<Event> value)
设置属性onShown的值。void
Dialog. setOnShown(EventHandler<DialogEvent> value)
设置属性onShown的值。void
Menu. setOnShown(EventHandler<Event> value)
设置属性onShown的值。void
TableView. setOnSort(EventHandler<SortEvent<TableView<S>>> value)
设置属性onSort的值。void
TreeTableView. setOnSort(EventHandler<SortEvent<TreeTableView<S>>> value)
设置属性onSort的值。 -
Uses of EventHandler in javafx.scene.media
Methods in javafx.scene.media that return EventHandler Modifier and Type 方法 描述 EventHandler<MediaErrorEvent>
MediaView. getOnError()
检索错误事件处理程序。EventHandler<MediaMarkerEvent>
MediaPlayer. getOnMarker()
检索标记事件处理程序。Methods in javafx.scene.media that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<MediaErrorEvent>>
MediaView. onErrorProperty()
当这个MediaView
发生错误时调用事件处理程序。ObjectProperty<EventHandler<MediaMarkerEvent>>
MediaPlayer. onMarkerProperty()
当播放器currentTime
到达媒体标记时调用事件处理程序。Methods in javafx.scene.media with parameters of type EventHandler Modifier and Type 方法 描述 void
MediaView. setOnError(EventHandler<MediaErrorEvent> value)
设置错误事件处理程序。void
MediaPlayer. setOnMarker(EventHandler<MediaMarkerEvent> onMarker)
设置标记事件处理程序。 -
Uses of EventHandler in javafx.scene.transform
Methods in javafx.scene.transform that return EventHandler Modifier and Type 方法 描述 EventHandler<? super TransformChangedEvent>
Transform. getOnTransformChanged()
获取onTransformChanged事件处理程序。Methods in javafx.scene.transform that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<? super TransformChangedEvent>>
Transform. onTransformChangedProperty()
只要变换改变其任何参数,就调用onTransformChanged事件处理程序。Methods in javafx.scene.transform with parameters of type EventHandler Modifier and Type 方法 描述 <T extends Event>
voidTransform. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
为此转换注册事件过滤器。<T extends Event>
voidTransform. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
注册一个事件处理程序到这个变换。<T extends Event>
voidTransform. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此转换中注销先前注册的事件过滤器。<T extends Event>
voidTransform. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此转换中注销先前注册的事件处理程序。void
Transform. setOnTransformChanged(EventHandler<? super TransformChangedEvent> value)
设置onTransformChanged事件处理程序,当变换改变其任何参数时,调用它。 -
Uses of EventHandler in javafx.scene.web
Methods in javafx.scene.web that return EventHandler Modifier and Type 方法 描述 EventHandler<WebEvent<String>>
WebEngine. getOnAlert()
获取属性onAlert的值。EventHandler<WebErrorEvent>
WebEngine. getOnError()
获取属性onError的值。EventHandler<WebEvent<Rectangle2D>>
WebEngine. getOnResized()
获取属性onResized的值。EventHandler<WebEvent<String>>
WebEngine. getOnStatusChanged()
获取属性onStatusChanged的值。EventHandler<WebEvent<Boolean>>
WebEngine. getOnVisibilityChanged()
获取属性onVisibilityChanged的值。Methods in javafx.scene.web that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onAlertProperty()
JavaScriptalert
处理程序属性。ObjectProperty<EventHandler<WebErrorEvent>>
WebEngine. onErrorProperty()
当发生错误时调用事件处理程序。ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>
WebEngine. onResizedProperty()
JavaScript窗口调整大小处理程序属性。ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onStatusChangedProperty()
JavaScript状态处理程序属性。ObjectProperty<EventHandler<WebEvent<Boolean>>>
WebEngine. onVisibilityChangedProperty()
JavaScript窗口可见性处理器属性。Methods in javafx.scene.web with parameters of type EventHandler Modifier and Type 方法 描述 void
WebEngine. setOnAlert(EventHandler<WebEvent<String>> handler)
设置属性onAlert的值。void
WebEngine. setOnError(EventHandler<WebErrorEvent> handler)
设置属性onError的值。void
WebEngine. setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)
设置属性onResized的值。void
WebEngine. setOnStatusChanged(EventHandler<WebEvent<String>> handler)
设置属性onStatusChanged的值。void
WebEngine. setOnVisibilityChanged(EventHandler<WebEvent<Boolean>> handler)
设置属性onVisibilityChanged的值。 -
Uses of EventHandler in javafx.stage
Methods in javafx.stage that return EventHandler Modifier and Type 方法 描述 EventHandler<Event>
PopupWindow. getOnAutoHide()
获取属性onAutoHide的值。EventHandler<WindowEvent>
Window. getOnCloseRequest()
获取属性onCloseRequest的值。EventHandler<WindowEvent>
Window. getOnHidden()
获取属性onHidden的值。EventHandler<WindowEvent>
Window. getOnHiding()
获取属性onHiding的值。EventHandler<WindowEvent>
Window. getOnShowing()
获取属性onShowing的值。EventHandler<WindowEvent>
Window. getOnShown()
获取onShown属性的值。Methods in javafx.stage that return types with arguments of type EventHandler Modifier and Type 方法 描述 ObjectProperty<EventHandler<Event>>
PopupWindow. onAutoHideProperty()
autoHide运行后调用。ObjectProperty<EventHandler<WindowEvent>>
Window. onCloseRequestProperty()
当有外部请求关闭此Window
。ObjectProperty<EventHandler<WindowEvent>>
Window. onHiddenProperty()
在窗口被隐藏之后调用。ObjectProperty<EventHandler<WindowEvent>>
Window. onHidingProperty()
在Window被隐藏之前调用。ObjectProperty<EventHandler<WindowEvent>>
Window. onShowingProperty()
在窗口显示之前调用。ObjectProperty<EventHandler<WindowEvent>>
Window. onShownProperty()
在窗口显示之后调用。Methods in javafx.stage with parameters of type EventHandler Modifier and Type 方法 描述 <T extends Event>
voidWindow. addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
向此节点注册事件过滤器。<T extends Event>
voidWindow. addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
向此节点注册事件处理程序。<T extends Event>
voidWindow. removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)
从此节点注销先前注册的事件过滤器。<T extends Event>
voidWindow. removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
从此节点注销先前注册的事件处理程序。protected <T extends Event>
voidWindow. setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)
设置要用于此事件类型的处理程序。void
PopupWindow. setOnAutoHide(EventHandler<Event> value)
设置属性onAtotoHide的值。void
Window. setOnCloseRequest(EventHandler<WindowEvent> value)
设置属性onCloseRequest的值。void
Window. setOnHidden(EventHandler<WindowEvent> value)
设置属性onHidden的值。void
Window. setOnHiding(EventHandler<WindowEvent> value)
设置属性onHiding的值。void
Window. setOnShowing(EventHandler<WindowEvent> value)
设置属性onShowing的值。void
Window. setOnShown(EventHandler<WindowEvent> value)
Sets the value of the property onShown.
-