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.| Type | Property and Description |
|---|---|
ObjectProperty<Paint> |
lineStroke1 |
ObjectProperty<Paint> |
lineStroke2 |
ObjectProperty<Paint> |
lineStroke3 |
DoubleProperty |
lineWidth1 |
DoubleProperty |
lineWidth2 |
DoubleProperty |
lineWidth3 |
opacity, snapToPixel, visible| Constructor and Description |
|---|
GridLinesLayer(GraphicsBase<R> graphics) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawLayer(impl.com.flexganttfx.skin.graphics.RowCanvas<R> canvas,
Instant startTime,
Instant endTime) |
Paint |
getLineStroke1()
Gets the value of the property lineStroke1.
|
Paint |
getLineStroke2()
Gets the value of the property lineStroke2.
|
Paint |
getLineStroke3()
Gets the value of the property lineStroke3.
|
double |
getLineWidth1()
Gets the value of the property lineWidth1.
|
double |
getLineWidth2()
Gets the value of the property lineWidth2.
|
double |
getLineWidth3()
Gets the value of the property lineWidth3.
|
List<org.controlsfx.control.PropertySheet.Item> |
getPropertySheetItems() |
ObjectProperty<Paint> |
lineStroke1Property() |
ObjectProperty<Paint> |
lineStroke2Property() |
ObjectProperty<Paint> |
lineStroke3Property() |
DoubleProperty |
lineWidth1Property() |
DoubleProperty |
lineWidth2Property() |
DoubleProperty |
lineWidth3Property() |
void |
setLineStroke1(Paint stroke)
Sets the value of the property lineStroke1.
|
void |
setLineStroke2(Paint stroke)
Sets the value of the property lineStroke2.
|
void |
setLineStroke3(Paint stroke)
Sets the value of the property lineStroke3.
|
void |
setLineWidth1(double width)
Sets the value of the property lineWidth1.
|
void |
setLineWidth2(double width)
Sets the value of the property lineWidth2.
|
void |
setLineWidth3(double width)
Sets the value of the property lineWidth3.
|
fadeInOutObservable, getGraphics, getName, getOpacity, isSnapToPixel, isVisible, opacityProperty, redraw, redrawObservable, setSnapToPixel, setVisible, snapPosition, snapSize, snapSpace, snapToPixelProperty, visiblePropertypublic final ObjectProperty<Paint> lineStroke1Property
getLineStroke1(),
setLineStroke1(Paint)public final ObjectProperty<Paint> lineStroke2Property
getLineStroke2(),
setLineStroke2(Paint)public final ObjectProperty<Paint> lineStroke3Property
getLineStroke3(),
setLineStroke3(Paint)public final DoubleProperty lineWidth1Property
getLineWidth1(),
setLineWidth1(double)public final DoubleProperty lineWidth2Property
getLineWidth2(),
setLineWidth2(double)public final DoubleProperty lineWidth3Property
getLineWidth3(),
setLineWidth3(double)public GridLinesLayer(GraphicsBase<R> graphics)
public final ObjectProperty<Paint> lineStroke1Property()
getLineStroke1(),
setLineStroke1(Paint)public final Paint getLineStroke1()
public final void setLineStroke1(Paint stroke)
public final ObjectProperty<Paint> lineStroke2Property()
getLineStroke2(),
setLineStroke2(Paint)public final Paint getLineStroke2()
public final void setLineStroke2(Paint stroke)
public final ObjectProperty<Paint> lineStroke3Property()
getLineStroke3(),
setLineStroke3(Paint)public final Paint getLineStroke3()
public final void setLineStroke3(Paint stroke)
public final DoubleProperty lineWidth1Property()
getLineWidth1(),
setLineWidth1(double)public final double getLineWidth1()
public final void setLineWidth1(double width)
public final DoubleProperty lineWidth2Property()
getLineWidth2(),
setLineWidth2(double)public final double getLineWidth2()
public final void setLineWidth2(double width)
public final DoubleProperty lineWidth3Property()
getLineWidth3(),
setLineWidth3(double)public final double getLineWidth3()
public final void setLineWidth3(double width)
public void drawLayer(impl.com.flexganttfx.skin.graphics.RowCanvas<R> canvas, Instant startTime, Instant endTime)
drawLayer in class SystemLayer<R extends Row<?,?,?>>public List<org.controlsfx.control.PropertySheet.Item> getPropertySheetItems()
getPropertySheetItems in class SystemLayer<R extends Row<?,?,?>>Copyright © 2014 Dirk Lemmermann Software & Consulting. All rights reserved.