Uses of Interface
org.refcodes.checkerboard.alt.javafx.FxCheckerboardViewer
-
-
Uses of FxCheckerboardViewer in org.refcodes.checkerboard.alt.javafx
Classes in org.refcodes.checkerboard.alt.javafx that implement FxCheckerboardViewer Modifier and Type Class Description class
FxCheckerboardViewerImpl<P extends org.refcodes.checkerboard.Player<P,S>,S>
For scaling, this might be an idea: "http://gillius.org/blog/2013/02/javafx-window-scaling-on-resize.html" The Class FxCheckerboardViewerImpl.Methods in org.refcodes.checkerboard.alt.javafx that return FxCheckerboardViewer Modifier and Type Method Description default FxCheckerboardViewer<P,S>
FxCheckerboardViewer. withAddPlayerDurationInMillis(int aAddPlayerDurationInMillis)
With add player duration in millis.default FxCheckerboardViewer<P,S>
FxCheckerboardViewer. withChangePlayerStateInMillis(int aChangePlayerStateInMillis)
With change player state in millis.default FxCheckerboardViewer<P,S>
FxCheckerboardViewer. withDragOpacity(double aOpacity)
default FxCheckerboardViewer<P,S>
FxCheckerboardViewer. withMovePlayerDurationInMillis(int aMovePlayerDurationInMillis)
With move player duration in millis.default FxCheckerboardViewer<P,S>
FxCheckerboardViewer. withRemovePlayerDurationInMillis(int aRemovePlayerDurationInMillis)
With remove player duration in millis.Methods in org.refcodes.checkerboard.alt.javafx with parameters of type FxCheckerboardViewer Modifier and Type Method Description javafx.scene.Node
FxChessboardFactoryImpl. createInstance(FxCheckerboardViewer<P,S> aContext)
javafx.scene.Node
FxSpriteFactory. createInstance(S aIdentifier, FxCheckerboardViewer<?,S> aContext)
Some words when using theFxCheckerboardViewerImpl
implementation of theFxCheckerboardViewer
: In case you return aNode
for the provided identifier being the same instance as a previously createdNode
for the same previously provided identifier, then theNode
is just redrawn by theFxCheckerboardViewerImpl
(preventing fading out / fading in when updating theNode
).protected static double
AbstractFxSpriteFactory. getScaleX(javafx.scene.Node aSprite, FxCheckerboardViewer<?,?> aCheckerboard)
Gets the scale X.protected static double
AbstractFxSpriteFactory. getScaleY(javafx.scene.Node aSprite, FxCheckerboardViewer<?,?> aCheckerboard)
Gets the scale Y.protected <N extends javafx.scene.Node>
NAbstractFxSpriteFactory. toInitNode(double aScale, N aSprite, FxCheckerboardViewer<?,?> aCheckerboard)
Inits the sprite.protected <N extends javafx.scene.Node>
NAbstractFxSpriteFactory. toInitNode(N aSprite, FxCheckerboardViewer<?,?> aCheckerboard)
Inits the sprite.
-