Interface FxChessboardFactory<P extends org.refcodes.checkerboard.Player<P,​S>,​S>

Type Parameters:
P - the generic type
S - the generic type
All Superinterfaces:
org.refcodes.checkerboard.BackgroundFactory<Node,​FxCheckerboardViewer<P,​S>>, org.refcodes.factory.ContextTypeFactory<Node,​FxCheckerboardViewer<P,​S>>, FxBackgroundFactory<P,​S>
All Known Implementing Classes:
FxChessboardFactoryImpl

public interface FxChessboardFactory<P extends org.refcodes.checkerboard.Player<P,​S>,​S>
extends FxBackgroundFactory<P,​S>
A factory for creating FxChessboard objects.
Author:
steiner
  • Method Details

    • withEvenFieldColor

      FxChessboardFactory<P,​S> withEvenFieldColor​(Color aEvenFieldColor)
      With even field color.
      Parameters:
      aEvenFieldColor - the even field color
      Returns:
      the fx chessboard factory
    • withOddFieldColor

      FxChessboardFactory<P,​S> withOddFieldColor​(Color aOddFieldColor)
      With odd field color.
      Parameters:
      aOddFieldColor - the odd field color
      Returns:
      the fx chessboard factory
    • withFieldGapColor

      FxChessboardFactory<P,​S> withFieldGapColor​(Color aFieldGapColor)
      With field gap color.
      Parameters:
      aFieldGapColor - the field gap color
      Returns:
      the fx chessboard factory
    • getEvenFieldColor

      Color getEvenFieldColor()
      Gets the even field color.
      Returns:
      the even field color
    • setEvenFieldColor

      void setEvenFieldColor​(Color eEvenFieldColor)
      Sets the even field color.
      Parameters:
      eEvenFieldColor - the new even field color
    • getOddFieldColor

      Color getOddFieldColor()
      Gets the odd field color.
      Returns:
      the odd field color
    • setOddFieldColor

      void setOddFieldColor​(Color aOddFieldColor)
      Sets the odd field color.
      Parameters:
      aOddFieldColor - the new odd field color
    • setFieldGapColor

      void setFieldGapColor​(Color aFieldGapColor)
      Sets the field gap color.
      Parameters:
      aFieldGapColor - the new field gap color
    • getFieldGapColor

      Color getFieldGapColor()
      Gets the field gap color.
      Returns:
      the field gap color