public class FxChessboardFactoryImpl<S> extends Object implements FxChessboardFactory<S>
Constructor and Description |
---|
FxChessboardFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
javafx.scene.paint.Color |
getEvenFieldColor() |
javafx.scene.paint.Color |
getFieldGapColor() |
javafx.scene.paint.Color |
getOddFieldColor() |
void |
setEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor) |
void |
setFieldGapColor(javafx.scene.paint.Color aFieldGapColor) |
void |
setOddFieldColor(javafx.scene.paint.Color aOddFieldColor) |
javafx.scene.Node |
toInstance(FxCheckerboardViewer<S> aContext) |
FxChessboardFactory<S> |
withEvenFieldColor(javafx.scene.paint.Color aEvenFieldColor) |
FxChessboardFactory<S> |
withFieldGapColor(javafx.scene.paint.Color aFieldGapColor) |
FxChessboardFactory<S> |
withOddFieldColor(javafx.scene.paint.Color aOddFieldColor) |
public FxChessboardFactory<S> withEvenFieldColor(javafx.scene.paint.Color aEvenFieldColor)
withEvenFieldColor
in interface FxChessboardFactory<S>
public FxChessboardFactory<S> withOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
withOddFieldColor
in interface FxChessboardFactory<S>
public FxChessboardFactory<S> withFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
withFieldGapColor
in interface FxChessboardFactory<S>
public javafx.scene.paint.Color getEvenFieldColor()
getEvenFieldColor
in interface FxChessboardFactory<S>
public void setEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor)
setEvenFieldColor
in interface FxChessboardFactory<S>
public javafx.scene.paint.Color getOddFieldColor()
getOddFieldColor
in interface FxChessboardFactory<S>
public void setOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
setOddFieldColor
in interface FxChessboardFactory<S>
public void setFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
setFieldGapColor
in interface FxChessboardFactory<S>
public javafx.scene.paint.Color getFieldGapColor()
getFieldGapColor
in interface FxChessboardFactory<S>
public javafx.scene.Node toInstance(FxCheckerboardViewer<S> aContext)
toInstance
in interface org.refcodes.factory.ContextConverterFactory<javafx.scene.Node,FxCheckerboardViewer<S>>
Copyright © 2016. All rights reserved.