object WorkerStateEvent
- Source
- WorkerStateEvent.scala
- Alphabetic
- By Inheritance
- WorkerStateEvent
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
ANY: EventType[javafx.concurrent.WorkerStateEvent]
Common supertype for all worker state event types.
-
val
WorkerStateCancelled: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the CANCELLED state.
-
val
WorkerStateFailed: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the FAILED state.
-
val
WorkerStateReady: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the READY state.
-
val
WorkerStateRunning: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the RUNNING state.
-
val
WorkerStateScheduled: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the SCHEDULED state.
-
val
WorkerStateSucceeded: EventType[javafx.concurrent.WorkerStateEvent]
This event occurs when the state of a Worker implementation has transitioned to the SUCCEEDED state.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- implicit def sfxWorkerStateEvent2jfx(w: WorkerStateEvent): javafx.concurrent.WorkerStateEvent
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
val
WORKER_STATE_CANCELLED: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateCancelled; WORKER_STATE_CANCELLED will be removed in a future release
-
val
WORKER_STATE_FAILED: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateFailed; WORKER_STATE_FAILED will be removed in a future release
-
val
WORKER_STATE_READY: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateReady; WORKER_STATE_READY will be removed in a future release
-
val
WORKER_STATE_RUNNING: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateRunning; WORKER_STATE_RUNNING will be removed in a future release
-
val
WORKER_STATE_SCHEDULED: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateScheduled; WORKER_STATE_SCHEDULED will be removed in a future release
-
val
WORKER_STATE_SUCCEEDED: EventType[javafx.concurrent.WorkerStateEvent]
- Annotations
- @deprecated
- Deprecated
(Since version 8.0.60-R10) Use WorkerStateSucceeded; WORKER_STATE_SUCCEEDED will be removed in a future release
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.
Package Structure
ScalaFX package structure corresponds to JavaFX package structure, for instance
scalafx.animation
corresponds tojavafx.animation
.Example Usage
A basic ScalaFX application is created creating an object that is an instance of
JFXApp
. Following Java FX theatre metaphor, it contains astage
that contains ascene
. Astage
roughly corresponds to a window in a typical UI environment. Thescene
holds UI content presented to the user. In the example below, the content is a pane with a singlelabel
component.