Module com.flexganttfx.view
Class GridLinesLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.GridLinesLayer<R>
- Type Parameters:
R
- the type of the rows
Draws the vertical grid lines based on the scale resolutions currently
present in the dateline. The layer can be configured to display 0 to 3 grid
line levels (see
GraphicsBase.setMaxGridLevel(int)
). If the dateline
is, for example, showing days and weeks then a level of 2 would cause the
layer to draw grid lines for days and weeks, while a grid line level of 1
would only render grid lines for days.-
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final DoubleProperty
final DoubleProperty
final DoubleProperty
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
final Paint
Gets the value of the property lineStroke1.final Paint
Gets the value of the property lineStroke2.final Paint
Gets the value of the property lineStroke3.final double
Gets the value of the property lineWidth1.final double
Gets the value of the property lineWidth2.final double
Gets the value of the property lineWidth3.final ObjectProperty<Paint>
final ObjectProperty<Paint>
final ObjectProperty<Paint>
final DoubleProperty
final DoubleProperty
final DoubleProperty
final void
setLineStroke1
(Paint stroke) Sets the value of the property lineStroke1.final void
setLineStroke2
(Paint stroke) Sets the value of the property lineStroke2.final void
setLineStroke3
(Paint stroke) Sets the value of the property lineStroke3.final void
setLineWidth1
(double width) Sets the value of the property lineWidth1.final void
setLineWidth2
(double width) Sets the value of the property lineWidth2.final void
setLineWidth3
(double width) Sets the value of the property lineWidth3.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
-
lineStroke1
- See Also:
-
lineStroke2
- See Also:
-
lineStroke3
- See Also:
-
lineWidth1
- See Also:
-
lineWidth2
- See Also:
-
lineWidth3
- See Also:
-
-
Constructor Details
-
GridLinesLayer
-
-
Method Details
-
lineStroke1Property
- See Also:
-
getLineStroke1
Gets the value of the property lineStroke1.- Property description:
-
setLineStroke1
Sets the value of the property lineStroke1.- Property description:
-
lineStroke2Property
- See Also:
-
getLineStroke2
Gets the value of the property lineStroke2.- Property description:
-
setLineStroke2
Sets the value of the property lineStroke2.- Property description:
-
lineStroke3Property
- See Also:
-
getLineStroke3
Gets the value of the property lineStroke3.- Property description:
-
setLineStroke3
Sets the value of the property lineStroke3.- Property description:
-
lineWidth1Property
- See Also:
-
getLineWidth1
public final double getLineWidth1()Gets the value of the property lineWidth1.- Property description:
-
setLineWidth1
public final void setLineWidth1(double width) Sets the value of the property lineWidth1.- Property description:
-
lineWidth2Property
- See Also:
-
getLineWidth2
public final double getLineWidth2()Gets the value of the property lineWidth2.- Property description:
-
setLineWidth2
public final void setLineWidth2(double width) Sets the value of the property lineWidth2.- Property description:
-
lineWidth3Property
- See Also:
-
getLineWidth3
public final double getLineWidth3()Gets the value of the property lineWidth3.- Property description:
-
setLineWidth3
public final void setLineWidth3(double width) Sets the value of the property lineWidth3.- Property description:
-
drawLayer
- Specified by:
drawLayer
in classSystemLayer<R extends Row<?,
?, ?>>
-