Module
javafx.graphics
Package javafx.concurrent
提供javafx.task的一组类。
该包提供了在JavaFX事件分派线程之外的线程上运行应用程序代码的功能。 还提供了控制执行和跟踪应用程序代码进度的能力。
- 接口摘要
接口 描述 Worker<V> 工作者是在一个或多个后台线程中执行某些工作的对象,其状态是可观察的并且可用于JavaFX应用程序,并且可从主JavaFX应用程序线程中使用。 - 类摘要
Class 描述 ScheduledService<V> ScheduledService是一个Service
,它将在成功执行后自动重新启动,并且在某些情况下即使发生故障也将重新启动。Service<V> 服务是一个非可视化组件,封装了在一个或多个后台线程上执行某些工作所需的信息。Task<V> 一个完全可观察到的一个FutureTask
的实现。WorkerStateEvent 当一个工人状态发生变化时发生的事件。 - 枚举摘要
Enum 描述 Worker.State The state of a Worker.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
来源:oschina
链接:https://my.oschina.net/u/2963604/blog/4532677