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.Pane
createInstance(org.refcodes.graphical.Raster aRaster)
javafx.scene.layout.Pane
createInstance(org.refcodes.graphical.Raster aRaster, java.util.Map<java.lang.String,java.lang.String> aProperties)
javafx.scene.paint.Color
getEvenFieldColor()
Gets the even field color.javafx.scene.paint.Color
getFieldGapColor()
Gets the field gap color.javafx.scene.paint.Color
getOddFieldColor()
Gets the odd field color.void
setEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor)
Sets the even field color.void
setFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
Sets the field gap color.void
setOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
Sets the odd field color.FxRasterFactory
withEvenFieldColor(javafx.scene.paint.Color aEvenFieldColor)
With even field color.FxRasterFactory
withFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
With field gap color.FxRasterFactory
withOddFieldColor(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:
withEvenFieldColor
in 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:
withOddFieldColor
in 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:
withFieldGapColor
in 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:
getEvenFieldColor
in interfaceFxRasterFactory
- Returns:
- the even field color
-
setEvenFieldColor
public void setEvenFieldColor(javafx.scene.paint.Color eEvenFieldColor)
Sets the even field color.- Specified by:
setEvenFieldColor
in interfaceFxRasterFactory
- Parameters:
eEvenFieldColor
- the new even field color
-
getOddFieldColor
public javafx.scene.paint.Color getOddFieldColor()
Gets the odd field color.- Specified by:
getOddFieldColor
in interfaceFxRasterFactory
- Returns:
- the odd field color
-
setOddFieldColor
public void setOddFieldColor(javafx.scene.paint.Color aOddFieldColor)
Sets the odd field color.- Specified by:
setOddFieldColor
in interfaceFxRasterFactory
- Parameters:
aOddFieldColor
- the new odd field color
-
getFieldGapColor
public javafx.scene.paint.Color getFieldGapColor()
Gets the field gap color.- Specified by:
getFieldGapColor
in interfaceFxRasterFactory
- Returns:
- the field gap color
-
setFieldGapColor
public void setFieldGapColor(javafx.scene.paint.Color aFieldGapColor)
Sets the field gap color.- Specified by:
setFieldGapColor
in interfaceFxRasterFactory
- Parameters:
aFieldGapColor
- the new field gap color
-
createInstance
public javafx.scene.layout.Pane createInstance(org.refcodes.graphical.Raster aRaster)
- Specified by:
createInstance
in 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:
createInstance
in interfaceorg.refcodes.factory.ContextTypeFactory<javafx.scene.layout.Pane,org.refcodes.graphical.Raster>
-
-