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[]>
majorLineDashes
DoubleProperty
majorLinesLineWidth
ObjectProperty<Paint>
majorLinesStroke
BooleanProperty
majorLinesVisible
ObjectProperty<double[]>
minorLineDashes
DoubleProperty
minorLinesLineWidth
ObjectProperty<Paint>
minorLinesStroke
BooleanProperty
minorLinesVisible
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 AgendaLinesLayer(GraphicsBase<R> graphics)
-
Method Summary
Modifier and Type Method Description void
drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
double[]
getMajorLineDashes()
Gets the value of the property majorLineDashes.double
getMajorLinesLineWidth()
Gets the value of the property majorLinesLineWidth.Paint
getMajorLinesStroke()
Gets the value of the property majorLinesStroke.double[]
getMinorLineDashes()
Gets the value of the property minorLineDashes.double
getMinorLinesLineWidth()
Gets the value of the property minorLinesLineWidth.Paint
getMinorLinesStroke()
Gets the value of the property minorLinesStroke.boolean
isMajorLinesVisible()
Gets the value of the property majorLinesVisible.boolean
isMinorLinesVisible()
Gets the value of the property minorLinesVisible.ObjectProperty<double[]>
majorLineDashesProperty()
DoubleProperty
majorLinesLineWidthProperty()
ObjectProperty<Paint>
majorLinesStrokeProperty()
BooleanProperty
majorLinesVisibleProperty()
ObjectProperty<double[]>
minorLineDashesProperty()
DoubleProperty
minorLinesLineWidthProperty()
ObjectProperty<Paint>
minorLinesStrokeProperty()
BooleanProperty
minorLinesVisibleProperty()
void
setMajorLineDashes(double... dashes)
Sets the value of the property majorLineDashes.void
setMajorLinesLineWidth(double lineWidth)
Sets the value of the property majorLinesLineWidth.void
setMajorLinesStroke(Paint stroke)
Sets the value of the property majorLinesStroke.void
setMajorLinesVisible(boolean visible)
Sets the value of the property majorLinesVisible.void
setMinorLineDashes(double... dashes)
Sets the value of the property minorLineDashes.void
setMinorLinesLineWidth(double lineWidth)
Sets the value of the property minorLinesLineWidth.void
setMinorLinesStroke(Paint stroke)
Sets the value of the property minorLinesStroke.void
setMinorLinesVisible(boolean visible)
Sets the value of the property minorLinesVisible.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
-
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:
drawLayer
in classSystemLayer<R extends Row<?,?,?>>
-