Class FxRasterFactoryImpl
- java.lang.Object
-
- org.refcodes.graphical.ext.javafx.FxRasterFactoryImpl
-
- All Implemented Interfaces:
org.refcodes.factory.ContextTypeFactory<javafx.scene.layout.Pane,org.refcodes.graphical.Raster>,FxRasterFactory
public class FxRasterFactoryImpl extends java.lang.Object implements FxRasterFactory
The Class FxRasterFactoryImpl.
-
-
Constructor Summary
Constructors Constructor Description FxRasterFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.layout.PanecreateInstance(org.refcodes.graphical.Raster aRaster)javafx.scene.layout.PanecreateInstance(org.refcodes.graphical.Raster aRaster, java.util.Map<java.lang.String,java.lang.String> aProperties)javafx.scene.paint.ColorgetEvenFieldColor()Gets the even field color.javafx.scene.paint.ColorgetFieldGapColor()Gets the field gap color.javafx.scene.paint.ColorgetOddFieldColor()Gets the odd field color.voidsetEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor)Sets the even field color.voidsetFieldGapColor(javafx.scene.paint.Color aFieldGapColor)Sets the field gap color.voidsetOddFieldColor(javafx.scene.paint.Color aOddFieldColor)Sets the odd field color.FxRasterFactorywithEvenFieldColor(javafx.scene.paint.Color aEvenFieldColor)With even field color.FxRasterFactorywithFieldGapColor(javafx.scene.paint.Color aFieldGapColor)With field gap color.FxRasterFactorywithOddFieldColor(javafx.scene.paint.Color aOddFieldColor)With odd field color.
-
-
-
Method Detail
-
withEvenFieldColor
public FxRasterFactory withEvenFieldColor(javafx.scene.paint.Color aEvenFieldColor)
With even field color.- Specified by:
withEvenFieldColorin interfaceFxRasterFactory- Parameters:
aEvenFieldColor- the even field color- Returns:
- the fx raster factory
-
withOddFieldColor
public FxRasterFactory withOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
With odd field color.- Specified by:
withOddFieldColorin interfaceFxRasterFactory- Parameters:
aOddFieldColor- the odd field color- Returns:
- the fx raster factory
-
withFieldGapColor
public FxRasterFactory withFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
With field gap color.- Specified by:
withFieldGapColorin interfaceFxRasterFactory- Parameters:
aFieldGapColor- the field gap color- Returns:
- the fx raster factory
-
getEvenFieldColor
public javafx.scene.paint.Color getEvenFieldColor()
Gets the even field color.- Specified by:
getEvenFieldColorin interfaceFxRasterFactory- Returns:
- the even field color
-
setEvenFieldColor
public void setEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor)
Sets the even field color.- Specified by:
setEvenFieldColorin interfaceFxRasterFactory- Parameters:
eEvenFieldColor- the new even field color
-
getOddFieldColor
public javafx.scene.paint.Color getOddFieldColor()
Gets the odd field color.- Specified by:
getOddFieldColorin interfaceFxRasterFactory- Returns:
- the odd field color
-
setOddFieldColor
public void setOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
Sets the odd field color.- Specified by:
setOddFieldColorin interfaceFxRasterFactory- Parameters:
aOddFieldColor- the new odd field color
-
getFieldGapColor
public javafx.scene.paint.Color getFieldGapColor()
Gets the field gap color.- Specified by:
getFieldGapColorin interfaceFxRasterFactory- Returns:
- the field gap color
-
setFieldGapColor
public void setFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
Sets the field gap color.- Specified by:
setFieldGapColorin interfaceFxRasterFactory- Parameters:
aFieldGapColor- the new field gap color
-
createInstance
public javafx.scene.layout.Pane createInstance(org.refcodes.graphical.Raster aRaster)
- Specified by:
createInstancein interfaceorg.refcodes.factory.ContextTypeFactory<javafx.scene.layout.Pane,org.refcodes.graphical.Raster>
-
createInstance
public javafx.scene.layout.Pane createInstance(org.refcodes.graphical.Raster aRaster, java.util.Map<java.lang.String,java.lang.String> aProperties)- Specified by:
createInstancein interfaceorg.refcodes.factory.ContextTypeFactory<javafx.scene.layout.Pane,org.refcodes.graphical.Raster>
-
-