Module com.flexganttfx.view
Class AgendaLinesLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.AgendaLinesLayer<R>
- Type Parameters:
R- the type of the rows
public class AgendaLinesLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws the horizontal grid lines for a row if the row or any of its inner
lines are using the agenda layout.
-
Property Summary
Properties Type Property Description ObjectProperty<double[]>majorLineDashesDoublePropertymajorLinesLineWidthObjectProperty<Paint>majorLinesStrokeBooleanPropertymajorLinesVisibleObjectProperty<double[]>minorLineDashesDoublePropertyminorLinesLineWidthObjectProperty<Paint>minorLinesStrokeBooleanPropertyminorLinesVisibleProperties 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 AgendaLinesLayer(GraphicsBase<R> graphics) -
Method Summary
Modifier and Type Method Description voiddrawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)double[]getMajorLineDashes()Gets the value of the property majorLineDashes.doublegetMajorLinesLineWidth()Gets the value of the property majorLinesLineWidth.PaintgetMajorLinesStroke()Gets the value of the property majorLinesStroke.double[]getMinorLineDashes()Gets the value of the property minorLineDashes.doublegetMinorLinesLineWidth()Gets the value of the property minorLinesLineWidth.PaintgetMinorLinesStroke()Gets the value of the property minorLinesStroke.booleanisMajorLinesVisible()Gets the value of the property majorLinesVisible.booleanisMinorLinesVisible()Gets the value of the property minorLinesVisible.ObjectProperty<double[]>majorLineDashesProperty()DoublePropertymajorLinesLineWidthProperty()ObjectProperty<Paint>majorLinesStrokeProperty()BooleanPropertymajorLinesVisibleProperty()ObjectProperty<double[]>minorLineDashesProperty()DoublePropertyminorLinesLineWidthProperty()ObjectProperty<Paint>minorLinesStrokeProperty()BooleanPropertyminorLinesVisibleProperty()voidsetMajorLineDashes(double... dashes)Sets the value of the property majorLineDashes.voidsetMajorLinesLineWidth(double lineWidth)Sets the value of the property majorLinesLineWidth.voidsetMajorLinesStroke(Paint stroke)Sets the value of the property majorLinesStroke.voidsetMajorLinesVisible(boolean visible)Sets the value of the property majorLinesVisible.voidsetMinorLineDashes(double... dashes)Sets the value of the property minorLineDashes.voidsetMinorLinesLineWidth(double lineWidth)Sets the value of the property minorLinesLineWidth.voidsetMinorLinesStroke(Paint stroke)Sets the value of the property minorLinesStroke.voidsetMinorLinesVisible(boolean visible)Sets the value of the property minorLinesVisible.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
-
majorLinesVisible
-
majorLinesStroke
- See Also:
getMajorLinesStroke(),setMajorLinesStroke(Paint)
-
majorLinesLineWidth
-
minorLinesVisible
-
minorLinesStroke
- See Also:
getMinorLinesStroke(),setMinorLinesStroke(Paint)
-
minorLinesLineWidth
-
majorLineDashes
- See Also:
getMajorLineDashes(),setMajorLineDashes(double[])
-
minorLineDashes
- See Also:
getMinorLineDashes(),setMinorLineDashes(double[])
-
-
Constructor Details
-
AgendaLinesLayer
-
-
Method Details
-
majorLinesVisibleProperty
-
setMajorLinesVisible
public final void setMajorLinesVisible(boolean visible)Sets the value of the property majorLinesVisible.- Property description:
-
isMajorLinesVisible
public final boolean isMajorLinesVisible()Gets the value of the property majorLinesVisible.- Property description:
-
majorLinesStrokeProperty
- See Also:
getMajorLinesStroke(),setMajorLinesStroke(Paint)
-
getMajorLinesStroke
Gets the value of the property majorLinesStroke.- Property description:
-
setMajorLinesStroke
Sets the value of the property majorLinesStroke.- Property description:
-
majorLinesLineWidthProperty
-
getMajorLinesLineWidth
public final double getMajorLinesLineWidth()Gets the value of the property majorLinesLineWidth.- Property description:
-
setMajorLinesLineWidth
public final void setMajorLinesLineWidth(double lineWidth)Sets the value of the property majorLinesLineWidth.- Property description:
-
minorLinesVisibleProperty
-
setMinorLinesVisible
public final void setMinorLinesVisible(boolean visible)Sets the value of the property minorLinesVisible.- Property description:
-
isMinorLinesVisible
public final boolean isMinorLinesVisible()Gets the value of the property minorLinesVisible.- Property description:
-
minorLinesStrokeProperty
- See Also:
getMinorLinesStroke(),setMinorLinesStroke(Paint)
-
getMinorLinesStroke
Gets the value of the property minorLinesStroke.- Property description:
-
setMinorLinesStroke
Sets the value of the property minorLinesStroke.- Property description:
-
minorLinesLineWidthProperty
-
getMinorLinesLineWidth
public final double getMinorLinesLineWidth()Gets the value of the property minorLinesLineWidth.- Property description:
-
setMinorLinesLineWidth
public final void setMinorLinesLineWidth(double lineWidth)Sets the value of the property minorLinesLineWidth.- Property description:
-
majorLineDashesProperty
- See Also:
getMajorLineDashes(),setMajorLineDashes(double[])
-
setMajorLineDashes
public final void setMajorLineDashes(double... dashes)Sets the value of the property majorLineDashes.- Property description:
-
getMajorLineDashes
public final double[] getMajorLineDashes()Gets the value of the property majorLineDashes.- Property description:
-
minorLineDashesProperty
- See Also:
getMinorLineDashes(),setMinorLineDashes(double[])
-
setMinorLineDashes
public final void setMinorLineDashes(double... dashes)Sets the value of the property minorLineDashes.- Property description:
-
getMinorLineDashes
public final double[] getMinorLineDashes()Gets the value of the property minorLineDashes.- Property description:
-
drawLayer
- Specified by:
drawLayerin classSystemLayer<R extends Row<?,?,?>>
-