Class WorkerImpl<V>
java.lang.Object
dev.webfx.kit.mapper.peers.javafxweb.engine.WorkerImpl<V>
- All Implemented Interfaces:
Worker<V>
- Author:
- Bruno Salmon
-
Property Summary
TypePropertyDescriptionGets the ReadOnlyObjectProperty representing the current state. -
Nested Class Summary
Nested classes/interfaces inherited from interface javafx.concurrent.Worker
Worker.State
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
Gets the value of thestate
property.void
setState
(Worker.State state) Sets the value of thestate
property.Gets the ReadOnlyObjectProperty representing the current state.
-
Property Details
-
state
- Specified by:
stateProperty
in interfaceWorker<V>
- Returns:
- The property representing the state
- See Also:
-
-
Constructor Details
-
WorkerImpl
public WorkerImpl()
-
-
Method Details
-
getState
Gets the value of thestate
property. -
stateProperty
Description copied from interface:Worker
Gets the ReadOnlyObjectProperty representing the current state.- Specified by:
stateProperty
in interfaceWorker<V>
- Returns:
- the
state
property - See Also:
-
setState
Sets the value of thestate
property.- Property description:
- Parameters:
state
- the value for thestate
property- See Also:
-