Module com.flexganttfx.view
Class DSTLineLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.DSTLineLayer<R>
- Type Parameters:
R- the type of the rows
public class DSTLineLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws a vertical line at the location of the next daylight savings time change.
-
Property Summary
Properties Type Property Description DoublePropertylineWidthObjectProperty<Paint>strokeProperties 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 DSTLineLayer(GraphicsBase<R> graphics) -
Method Summary
Modifier and Type Method Description voiddrawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)doublegetLineWidth()Gets the value of the property lineWidth.PaintgetStroke()Gets the value of the property stroke.DoublePropertylineWidthProperty()voidsetLineWidth(double lineWidth)Sets the value of the property lineWidth.voidsetStroke(Paint stroke)Sets the value of the property stroke.ObjectProperty<Paint>strokeProperty()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
-
stroke
- See Also:
getStroke(),setStroke(Paint)
-
lineWidth
- See Also:
getLineWidth(),setLineWidth(double)
-
-
Constructor Details
-
DSTLineLayer
-
-
Method Details
-
strokeProperty
- See Also:
getStroke(),setStroke(Paint)
-
getStroke
Gets the value of the property stroke.- Property description:
-
setStroke
Sets the value of the property stroke.- Property description:
-
lineWidthProperty
- See Also:
getLineWidth(),setLineWidth(double)
-
getLineWidth
public final double getLineWidth()Gets the value of the property lineWidth.- Property description:
-
setLineWidth
public final void setLineWidth(double lineWidth)Sets the value of the property lineWidth.- Property description:
-
drawLayer
- Specified by:
drawLayerin classSystemLayer<R extends Row<?,?,?>>
-