R
- the type of the rowspublic class GridLinesLayer<R extends Row<?,?,?>> extends SystemLayer<R>
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.Constructor and Description |
---|
GridLinesLayer(GraphicsBase<R> graphics) |
Modifier and Type | Method and Description |
---|---|
void |
drawLayer(RowCanvas<R> canvas,
Instant startTime,
Instant endTime) |
javafx.scene.paint.Paint |
getLineStroke1() |
javafx.scene.paint.Paint |
getLineStroke2() |
javafx.scene.paint.Paint |
getLineStroke3() |
double |
getLineWidth1() |
double |
getLineWidth2() |
double |
getLineWidth3() |
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
lineStroke1Property() |
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
lineStroke2Property() |
javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> |
lineStroke3Property() |
javafx.beans.property.DoubleProperty |
lineWidth1Property() |
javafx.beans.property.DoubleProperty |
lineWidth2Property() |
javafx.beans.property.DoubleProperty |
lineWidth3Property() |
void |
setLineStroke1(javafx.scene.paint.Paint stroke) |
void |
setLineStroke2(javafx.scene.paint.Paint stroke) |
void |
setLineStroke3(javafx.scene.paint.Paint stroke) |
void |
setLineWidth1(double width) |
void |
setLineWidth2(double width) |
void |
setLineWidth3(double width) |
fadeInOutObservable, getOpacity, isVisible, opacityProperty, setVisible, visibleProperty
alphaProperty, disableRedrawAfterPropertyChange, enabledProperty, enableRedrawAfterPropertyChange, getAlpha, getGraphics, getLocation, getName, getTimeAt, isEnabled, isSnapToPixel, redrawObservable, setAlpha, setEnabled, setSnapToPixel, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty
public GridLinesLayer(GraphicsBase<R> graphics)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> lineStroke1Property()
public final javafx.scene.paint.Paint getLineStroke1()
public final void setLineStroke1(javafx.scene.paint.Paint stroke)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> lineStroke2Property()
public final javafx.scene.paint.Paint getLineStroke2()
public final void setLineStroke2(javafx.scene.paint.Paint stroke)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Paint> lineStroke3Property()
public final javafx.scene.paint.Paint getLineStroke3()
public final void setLineStroke3(javafx.scene.paint.Paint stroke)
public final javafx.beans.property.DoubleProperty lineWidth1Property()
public final double getLineWidth1()
public final void setLineWidth1(double width)
public final javafx.beans.property.DoubleProperty lineWidth2Property()
public final double getLineWidth2()
public final void setLineWidth2(double width)
public final javafx.beans.property.DoubleProperty lineWidth3Property()
public final double getLineWidth3()
public final void setLineWidth3(double width)
Copyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.