Interface FxChessmenFactory

  • All Superinterfaces:
    org.refcodes.factory.ContextLookupFactory<javafx.scene.Node,S,org.refcodes.checkerboard.alt.javafx.FxCheckerboardViewer<?,S>>, org.refcodes.checkerboard.alt.javafx.FxSpriteFactory<org.refcodes.data.ext.chess.ChessmanStatus>, org.refcodes.checkerboard.SpriteFactory<javafx.scene.Node,S,org.refcodes.checkerboard.alt.javafx.FxCheckerboardViewer<?,S>>
    All Known Implementing Classes:
    FxChessmenFactoryImpl


    public interface FxChessmenFactory
    extends org.refcodes.checkerboard.alt.javafx.FxSpriteFactory<org.refcodes.data.ext.chess.ChessmanStatus>
    A factory for creating FxChessmen objects.
    Author:
    steiner
    • Method Detail

      • getScaleFactor

        double getScaleFactor​()
        Gets the scale factor.
        Returns:
        the scale factor
      • setScaleFactor

        void setScaleFactor​(double aScaleFactor)
        Sets the scale factor.
        Parameters:
        aScaleFactor - the new scale factor
      • withScaleFactor

        FxChessmenFactory withScaleFactor​(double aScaleFactor)
        With scale factor.
        Parameters:
        aScaleFactor - the scale factor
        Returns:
        the fx chessmen factory
      • getOpacity

        double getOpacity​()
        Gets the opacity.
        Returns:
        the opacity
      • setOpacity

        void setOpacity​(double aOpacity)
        Sets the opacity.
        Parameters:
        aOpacity - the new opacity
      • withOpacity

        FxChessmenFactory withOpacity​(double aOpacity)
        With opacity.
        Parameters:
        aOpacity - the opacity
        Returns:
        the fx chessmen factory