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 BooleanPropertydrawLastDividerLineObjectProperty<double[]>lineDashesDoublePropertylineWidthObjectProperty<Paint>strokeProperties inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
opacity, visibleProperties 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 BooleanPropertydrawLastDividerLineProperty()voiddrawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)double[]getLineDashes()Gets the value of the property lineDashes.doublegetLineWidth()Gets the value of the property lineWidth.PaintgetStroke()Gets the value of the property stroke.booleanisDrawLastDividerLine()Gets the value of the property drawLastDividerLine.ObjectProperty<double[]>lineDashesProperty()DoublePropertylineWidthProperty()voidsetDrawLastDividerLine(boolean draw)Sets the value of the property drawLastDividerLine.voidsetLineDashes(double... dashes)Sets the value of the property lineDashes.voidsetLineWidth(double lineWidth)Sets the value of the property lineWidth.voidsetStroke(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, visiblePropertyMethods 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:
drawLayerin classSystemLayer<R extends Row<?,?,?>>
-