Module com.flexganttfx.view
Class InnerLinesLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.InnerLinesLayer<R>
- Type Parameters:
R
- the type of the rows
public class InnerLinesLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws separator lines between inner lines. By default the line width is set
to 0 and the lines will not be drawn. To change this use
setLineWidth(double)
and specify a value greater than 0.-
Property Summary
Properties Type Property Description BooleanProperty
drawLastDividerLine
ObjectProperty<double[]>
lineDashes
DoubleProperty
lineWidth
ObjectProperty<Paint>
stroke
Properties inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
opacity, visible
Properties inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alpha, enabled, snapToPixel
-
Constructor Summary
Constructors Constructor Description InnerLinesLayer(GraphicsBase<R> graphics)
-
Method Summary
Modifier and Type Method Description BooleanProperty
drawLastDividerLineProperty()
void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
double[]
getLineDashes()
Gets the value of the property lineDashes.double
getLineWidth()
Gets the value of the property lineWidth.Paint
getStroke()
Gets the value of the property stroke.boolean
isDrawLastDividerLine()
Gets the value of the property drawLastDividerLine.ObjectProperty<double[]>
lineDashesProperty()
DoubleProperty
lineWidthProperty()
void
setDrawLastDividerLine(boolean draw)
Sets the value of the property drawLastDividerLine.void
setLineDashes(double... dashes)
Sets the value of the property lineDashes.void
setLineWidth(double lineWidth)
Sets the value of the property lineWidth.void
setStroke(Paint stroke)
Sets the value of the property stroke.ObjectProperty<Paint>
strokeProperty()
Methods inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
fadeInOutObservable, getOpacity, isVisible, opacityProperty, setVisible, visibleProperty
Methods inherited from class com.flexganttfx.view.graphics.renderer.RendererBase
alphaProperty, disableRedrawAfterPropertyChange, enabledProperty, enableRedrawAfterPropertyChange, getAlpha, getGraphics, getLocation, getName, getTimeAt, isEnabled, isSnapToPixel, redrawObservable, setAlpha, setEnabled, setSnapToPixel, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty
-
Property Details
-
stroke
- See Also:
getStroke()
,setStroke(Paint)
-
lineWidth
- See Also:
getLineWidth()
,setLineWidth(double)
-
drawLastDividerLine
-
lineDashes
- See Also:
getLineDashes()
,setLineDashes(double[])
-
-
Constructor Details
-
InnerLinesLayer
-
-
Method Details
-
strokeProperty
- See Also:
getStroke()
,setStroke(Paint)
-
getStroke
Gets the value of the property stroke.- Property description:
-
setStroke
Sets the value of the property stroke.- Property description:
-
lineWidthProperty
- See Also:
getLineWidth()
,setLineWidth(double)
-
getLineWidth
public final double getLineWidth()Gets the value of the property lineWidth.- Property description:
-
setLineWidth
public final void setLineWidth(double lineWidth)Sets the value of the property lineWidth.- Property description:
-
drawLastDividerLineProperty
-
setDrawLastDividerLine
public final void setDrawLastDividerLine(boolean draw)Sets the value of the property drawLastDividerLine.- Property description:
-
isDrawLastDividerLine
public final boolean isDrawLastDividerLine()Gets the value of the property drawLastDividerLine.- Property description:
-
lineDashesProperty
- See Also:
getLineDashes()
,setLineDashes(double[])
-
setLineDashes
public final void setLineDashes(double... dashes)Sets the value of the property lineDashes.- Property description:
-
getLineDashes
public final double[] getLineDashes()Gets the value of the property lineDashes.- Property description:
-
drawLayer
- Specified by:
drawLayer
in classSystemLayer<R extends Row<?,?,?>>
-