Module com.flexganttfx.view
Class InnerLinesLayer<R extends Row<?,?,?>>
- java.lang.Object
-
- 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 usesetLineWidth(double)
and specify a value greater than 0.
-
-
Constructor Summary
Constructors Constructor Description InnerLinesLayer(GraphicsBase<R> graphics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanProperty
drawLastDividerLineProperty()
void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
double[]
getLineDashes()
double
getLineWidth()
Paint
getStroke()
boolean
isDrawLastDividerLine()
ObjectProperty<double[]>
lineDashesProperty()
DoubleProperty
lineWidthProperty()
void
setDrawLastDividerLine(boolean draw)
void
setLineDashes(double... dashes)
void
setLineWidth(double lineWidth)
void
setStroke(Paint stroke)
ObjectProperty<Paint>
strokeProperty()
-
Methods inherited from class com.flexganttfx.view.graphics.layer.SystemLayer
fadeInOutObservable, getGraphics, getName, getOpacity, isSnapToPixel, isVisible, opacityProperty, redraw, redrawObservable, setSnapToPixel, setVisible, snapPosition, snapSize, snapSpace, snapToPixelProperty, visibleProperty
-
-
-
-
Constructor Detail
-
InnerLinesLayer
public InnerLinesLayer(GraphicsBase<R> graphics)
-
-
Method Detail
-
strokeProperty
public final ObjectProperty<Paint> strokeProperty()
-
getStroke
public final Paint getStroke()
-
setStroke
public final void setStroke(Paint stroke)
-
lineWidthProperty
public final DoubleProperty lineWidthProperty()
-
getLineWidth
public final double getLineWidth()
-
setLineWidth
public final void setLineWidth(double lineWidth)
-
drawLastDividerLineProperty
public final BooleanProperty drawLastDividerLineProperty()
-
setDrawLastDividerLine
public final void setDrawLastDividerLine(boolean draw)
-
isDrawLastDividerLine
public final boolean isDrawLastDividerLine()
-
lineDashesProperty
public final ObjectProperty<double[]> lineDashesProperty()
-
setLineDashes
public final void setLineDashes(double... dashes)
-
getLineDashes
public final double[] getLineDashes()
-
-