Class JFXTwoPhaseMoveSelector<T>
java.lang.Object
common.util.TwoPhaseMoveSelector<T>
jfxutils.JFXTwoPhaseMoveSelector<T>
- Type Parameters:
T
- represents the moves that can be applied to the states
A subclass of
TwoPhaseMoveSelector
that provides a
property to observe the selection phase.-
Nested Class Summary
Nested classes/interfaces inherited from class common.util.TwoPhaseMoveSelector
TwoPhaseMoveSelector.Phase
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ReadOnlyObjectProperty
<TwoPhaseMoveSelector.Phase> Represents the current selection phase. -
Field Summary
Fields inherited from class common.util.TwoPhaseMoveSelector
phase
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aJFXTwoPhaseMoveSelector
object to determine the next move in the state specified. -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyObjectProperty
<TwoPhaseMoveSelector.Phase> Represents the current selection phase.protected void
Sets the value of thephase
property.Methods inherited from class common.util.TwoPhaseMoveSelector
getFrom, getPhase, getTo, isInvalidSelection, isReadyToMove, makeMove, reset, select, selectFrom, selectTo
-
Property Details
-
phase
Represents the current selection phase.- See Also:
-
-
Constructor Details
-
JFXTwoPhaseMoveSelector
Creates aJFXTwoPhaseMoveSelector
object to determine the next move in the state specified.- Parameters:
state
- the state in which the next move is to be made
-
-
Method Details
-
phaseProperty
Represents the current selection phase.- Returns:
- the
phase
property - See Also:
-
setPhase
Sets the value of thephase
property.- Overrides:
setPhase
in classTwoPhaseMoveSelector<T>
- Property description:
- Represents the current selection phase.
- Parameters:
phase
- the value for thephase
property- See Also:
-