Module com.flexganttfx.view
Class ChartLinesLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.ChartLinesLayer<R>
- Type Parameters:
R
- the type of the rows
Draws the horizontal grid lines for a row if the row or any of its inner
lines are using the chart layout (see
ChartLayout
).-
Property Summary
PropertiesTypePropertyDescriptionfinal ObjectProperty<double[]>
final DoubleProperty
final ObjectProperty<Paint>
final BooleanProperty
final ObjectProperty<double[]>
final DoubleProperty
final ObjectProperty<Paint>
final BooleanProperty
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 double[]
Gets the value of themajorLineDashes
property.final double
Gets the value of themajorLinesLineWidth
property.final Paint
Gets the value of themajorLinesStroke
property.final double[]
Gets the value of theminorLineDashes
property.final double
Gets the value of theminorLinesLineWidth
property.final Paint
Gets the value of theminorLinesStroke
property.final boolean
Gets the value of themajorLinesVisible
property.final boolean
Gets the value of theminorLinesVisible
property.final ObjectProperty<double[]>
final DoubleProperty
final ObjectProperty<Paint>
final BooleanProperty
final ObjectProperty<double[]>
final DoubleProperty
final ObjectProperty<Paint>
final BooleanProperty
final void
setMajorLineDashes
(double... dashes) Sets the value of themajorLineDashes
property.final void
setMajorLinesLineWidth
(double lineWidth) Sets the value of themajorLinesLineWidth
property.final void
setMajorLinesStroke
(Paint stroke) Sets the value of themajorLinesStroke
property.final void
setMajorLinesVisible
(boolean visible) Sets the value of themajorLinesVisible
property.final void
setMinorLineDashes
(double... dashes) Sets the value of theminorLineDashes
property.final void
setMinorLinesLineWidth
(double lineWidth) Sets the value of theminorLinesLineWidth
property.final void
setMinorLinesStroke
(Paint stroke) Sets the value of theminorLinesStroke
property.final void
setMinorLinesVisible
(boolean visible) Sets the value of theminorLinesVisible
property.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
-
majorLinesLineWidth
-
minorLinesVisible
-
minorLinesStroke
-
minorLinesLineWidth
-
majorLineDashes
-
minorLineDashes
-
-
Constructor Details
-
ChartLinesLayer
-
-
Method Details
-
majorLinesVisibleProperty
- Returns:
- the
majorLinesVisible
property - See Also:
-
setMajorLinesVisible
public final void setMajorLinesVisible(boolean visible) Sets the value of themajorLinesVisible
property.- Property description:
- Parameters:
visible
- the value for themajorLinesVisible
property- See Also:
-
isMajorLinesVisible
public final boolean isMajorLinesVisible()Gets the value of themajorLinesVisible
property.- Property description:
- Returns:
- the value of the
majorLinesVisible
property - See Also:
-
majorLinesStrokeProperty
- Returns:
- the
majorLinesStroke
property - See Also:
-
getMajorLinesStroke
Gets the value of themajorLinesStroke
property.- Property description:
- Returns:
- the value of the
majorLinesStroke
property - See Also:
-
setMajorLinesStroke
Sets the value of themajorLinesStroke
property.- Property description:
- Parameters:
stroke
- the value for themajorLinesStroke
property- See Also:
-
majorLinesLineWidthProperty
- Returns:
- the
majorLinesLineWidth
property - See Also:
-
getMajorLinesLineWidth
public final double getMajorLinesLineWidth()Gets the value of themajorLinesLineWidth
property.- Property description:
- Returns:
- the value of the
majorLinesLineWidth
property - See Also:
-
setMajorLinesLineWidth
public final void setMajorLinesLineWidth(double lineWidth) Sets the value of themajorLinesLineWidth
property.- Property description:
- Parameters:
lineWidth
- the value for themajorLinesLineWidth
property- See Also:
-
minorLinesVisibleProperty
- Returns:
- the
minorLinesVisible
property - See Also:
-
setMinorLinesVisible
public final void setMinorLinesVisible(boolean visible) Sets the value of theminorLinesVisible
property.- Property description:
- Parameters:
visible
- the value for theminorLinesVisible
property- See Also:
-
isMinorLinesVisible
public final boolean isMinorLinesVisible()Gets the value of theminorLinesVisible
property.- Property description:
- Returns:
- the value of the
minorLinesVisible
property - See Also:
-
minorLinesStrokeProperty
- Returns:
- the
minorLinesStroke
property - See Also:
-
getMinorLinesStroke
Gets the value of theminorLinesStroke
property.- Property description:
- Returns:
- the value of the
minorLinesStroke
property - See Also:
-
setMinorLinesStroke
Sets the value of theminorLinesStroke
property.- Property description:
- Parameters:
stroke
- the value for theminorLinesStroke
property- See Also:
-
minorLinesLineWidthProperty
- Returns:
- the
minorLinesLineWidth
property - See Also:
-
getMinorLinesLineWidth
public final double getMinorLinesLineWidth()Gets the value of theminorLinesLineWidth
property.- Property description:
- Returns:
- the value of the
minorLinesLineWidth
property - See Also:
-
setMinorLinesLineWidth
public final void setMinorLinesLineWidth(double lineWidth) Sets the value of theminorLinesLineWidth
property.- Property description:
- Parameters:
lineWidth
- the value for theminorLinesLineWidth
property- See Also:
-
majorLineDashesProperty
- Returns:
- the
majorLineDashes
property - See Also:
-
setMajorLineDashes
public final void setMajorLineDashes(double... dashes) Sets the value of themajorLineDashes
property.- Property description:
- Parameters:
dashes
- the value for themajorLineDashes
property- See Also:
-
getMajorLineDashes
public final double[] getMajorLineDashes()Gets the value of themajorLineDashes
property.- Property description:
- Returns:
- the value of the
majorLineDashes
property - See Also:
-
minorLineDashesProperty
- Returns:
- the
minorLineDashes
property - See Also:
-
setMinorLineDashes
public final void setMinorLineDashes(double... dashes) Sets the value of theminorLineDashes
property.- Property description:
- Parameters:
dashes
- the value for theminorLineDashes
property- See Also:
-
getMinorLineDashes
public final double[] getMinorLineDashes()Gets the value of theminorLineDashes
property.- Property description:
- Returns:
- the value of the
minorLineDashes
property - See Also:
-
drawLayer
- Specified by:
drawLayer
in classSystemLayer<R extends Row<?,
?, ?>>
-