| 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.
|
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
Node |
FxChessboardFactoryImpl.createInstance(FxCheckerboardViewer<P,S> aContext) |
|
Node |
FxSpriteFactory.createInstance(S aIdentifier,
FxCheckerboardViewer<?,S> aContext) |
Some words when using the
FxCheckerboardViewerImpl implementation
of the FxCheckerboardViewer: In case you return a Node
for the provided identifier being the same instance as a previously
created Node for the same previously provided identifier, then
the Node is just redrawn by the FxCheckerboardViewerImpl
(preventing fading out / fading in when updating the Node). |
protected static double |
AbstractFxSpriteFactory.getScaleX(Node aSprite,
FxCheckerboardViewer<?,?> aCheckerboard) |
Gets the scale X.
|
protected static double |
AbstractFxSpriteFactory.getScaleY(Node aSprite,
FxCheckerboardViewer<?,?> aCheckerboard) |
Gets the scale Y.
|
protected <N extends Node> |
AbstractFxSpriteFactory.toInitNode(double aScale,
N aSprite,
FxCheckerboardViewer<?,?> aCheckerboard) |
Inits the sprite.
|
protected <N extends Node> |
AbstractFxSpriteFactory.toInitNode(N aSprite,
FxCheckerboardViewer<?,?> aCheckerboard) |
Inits the sprite.
|
Copyright © 2021. All rights reserved.