Interface FxSpriteFactory<S>

Type Parameters:
S - the generic type of the identifier for which the sprite is to be created.
All Superinterfaces:
org.refcodes.factory.ContextLookupFactory<Node,​S,​FxCheckerboardViewer<?,​S>>, org.refcodes.checkerboard.SpriteFactory<Node,​S,​FxCheckerboardViewer<?,​S>>
All Known Implementing Classes:
AbstractFxSpriteFactory

public interface FxSpriteFactory<S>
extends org.refcodes.checkerboard.SpriteFactory<Node,​S,​FxCheckerboardViewer<?,​S>>
A factory for creating sprites for the FxCheckerboardViewer.
  • Method Summary

    Modifier and Type Method Description
    Node 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).

    Methods inherited from interface org.refcodes.factory.ContextLookupFactory

    createInstance