Klasse 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>
- Typparameter:
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.- Seit:
- 1.0
- Siehe auch:
-
Eigenschaftsübersicht
EigenschaftenTypEigenschaftBeschreibungfinal ObjectProperty<Paint> The lineStroke1 property.final ObjectProperty<Paint> The lineStroke2 property.final ObjectProperty<Paint> The lineStroke3 property.final DoublePropertyThe lineWidth1 property.final DoublePropertyThe lineWidth2 property.final DoublePropertyThe lineWidth3 property.Von Klasse geerbte Eigenschaften SystemLayer
opacity, visibleVon Klasse geerbte Eigenschaften RendererBase
alpha, enabled, snapToPixel -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGridLinesLayer(GraphicsBase<R> graphics) Constructs a new grid lines layer. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidDraws the configured vertical grid lines for the visible time range.final PaintRuft den Wert derlineStroke1-Eigenschaft ab.final PaintRuft den Wert derlineStroke2-Eigenschaft ab.final PaintRuft den Wert derlineStroke3-Eigenschaft ab.final doubleRuft den Wert derlineWidth1-Eigenschaft ab.final doubleRuft den Wert derlineWidth2-Eigenschaft ab.final doubleRuft den Wert derlineWidth3-Eigenschaft ab.final ObjectProperty<Paint> The lineStroke1 property.final ObjectProperty<Paint> The lineStroke2 property.final ObjectProperty<Paint> The lineStroke3 property.final DoublePropertyThe lineWidth1 property.final DoublePropertyThe lineWidth2 property.final DoublePropertyThe lineWidth3 property.final voidsetLineStroke1(Paint stroke) Legt den Wert derlineStroke1-Eigenschaft fest.final voidsetLineStroke2(Paint stroke) Legt den Wert derlineStroke2-Eigenschaft fest.final voidsetLineStroke3(Paint stroke) Legt den Wert derlineStroke3-Eigenschaft fest.final voidsetLineWidth1(double width) Legt den Wert derlineWidth1-Eigenschaft fest.final voidsetLineWidth2(double width) Legt den Wert derlineWidth2-Eigenschaft fest.final voidsetLineWidth3(double width) Legt den Wert derlineWidth3-Eigenschaft fest.Von Klasse geerbte Methoden SystemLayer
fadeInOutObservable, getOpacity, isVisible, opacityProperty, setVisible, visiblePropertyVon Klasse geerbte Methoden RendererBase
alphaProperty, disableRedrawAfterPropertyChange, enabledProperty, enableRedrawAfterPropertyChange, getAlpha, getGraphics, getLocation, getName, getTimeAt, isEnabled, isSnapToPixel, redrawObservable, setAlpha, setEnabled, setSnapToPixel, snapPositionX, snapPositionY, snapSizeX, snapSizeY, snapSpaceX, snapSpaceY, snapToPixelProperty
-
Eigenschaftsdetails
-
lineStroke1
The lineStroke1 property. Stores the stroke used for the first grid line level.- Siehe auch:
-
lineStroke2
The lineStroke2 property. Stores the stroke used for the second grid line level.- Siehe auch:
-
lineStroke3
The lineStroke3 property. Stores the stroke used for the third grid line level.- Siehe auch:
-
lineWidth1
The lineWidth1 property. Stores the line width used for the first grid line level.- Siehe auch:
-
lineWidth2
The lineWidth2 property. Stores the line width used for the second grid line level.- Siehe auch:
-
lineWidth3
The lineWidth3 property. Stores the line width used for the third grid line level.- Siehe auch:
-
-
Konstruktordetails
-
GridLinesLayer
Constructs a new grid lines layer.- Parameter:
graphics- the graphics view that owns the layer
-
-
Methodendetails
-
lineStroke1Property
The lineStroke1 property. Stores the stroke used for the first grid line level.- Gibt zurück:
- the lineStroke1 property
- Siehe auch:
-
getLineStroke1
Ruft den Wert derlineStroke1-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineStroke1 property. Stores the stroke used for the first grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineStroke1 - Siehe auch:
-
setLineStroke1
Legt den Wert derlineStroke1-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineStroke1 property. Stores the stroke used for the first grid line level.
- Parameter:
stroke- Wert für die EigenschaftlineStroke1- Siehe auch:
-
lineStroke2Property
The lineStroke2 property. Stores the stroke used for the second grid line level.- Gibt zurück:
- the lineStroke2 property
- Siehe auch:
-
getLineStroke2
Ruft den Wert derlineStroke2-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineStroke2 property. Stores the stroke used for the second grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineStroke2 - Siehe auch:
-
setLineStroke2
Legt den Wert derlineStroke2-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineStroke2 property. Stores the stroke used for the second grid line level.
- Parameter:
stroke- Wert für die EigenschaftlineStroke2- Siehe auch:
-
lineStroke3Property
The lineStroke3 property. Stores the stroke used for the third grid line level.- Gibt zurück:
- the lineStroke3 property
- Siehe auch:
-
getLineStroke3
Ruft den Wert derlineStroke3-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineStroke3 property. Stores the stroke used for the third grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineStroke3 - Siehe auch:
-
setLineStroke3
Legt den Wert derlineStroke3-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineStroke3 property. Stores the stroke used for the third grid line level.
- Parameter:
stroke- Wert für die EigenschaftlineStroke3- Siehe auch:
-
lineWidth1Property
The lineWidth1 property. Stores the line width used for the first grid line level.- Gibt zurück:
- the lineWidth1 property
- Siehe auch:
-
getLineWidth1
public final double getLineWidth1()Ruft den Wert derlineWidth1-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineWidth1 property. Stores the line width used for the first grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineWidth1 - Siehe auch:
-
setLineWidth1
public final void setLineWidth1(double width) Legt den Wert derlineWidth1-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineWidth1 property. Stores the line width used for the first grid line level.
- Parameter:
width- Wert für die EigenschaftlineWidth1- Siehe auch:
-
lineWidth2Property
The lineWidth2 property. Stores the line width used for the second grid line level.- Gibt zurück:
- the lineWidth2 property
- Siehe auch:
-
getLineWidth2
public final double getLineWidth2()Ruft den Wert derlineWidth2-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineWidth2 property. Stores the line width used for the second grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineWidth2 - Siehe auch:
-
setLineWidth2
public final void setLineWidth2(double width) Legt den Wert derlineWidth2-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineWidth2 property. Stores the line width used for the second grid line level.
- Parameter:
width- Wert für die EigenschaftlineWidth2- Siehe auch:
-
lineWidth3Property
The lineWidth3 property. Stores the line width used for the third grid line level.- Gibt zurück:
- the lineWidth3 property
- Siehe auch:
-
getLineWidth3
public final double getLineWidth3()Ruft den Wert derlineWidth3-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The lineWidth3 property. Stores the line width used for the third grid line level.
- Gibt zurück:
- Wert der Eigenschaft
lineWidth3 - Siehe auch:
-
setLineWidth3
public final void setLineWidth3(double width) Legt den Wert derlineWidth3-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineWidth3 property. Stores the line width used for the third grid line level.
- Parameter:
width- Wert für die EigenschaftlineWidth3- Siehe auch:
-
drawLayer
Draws the configured vertical grid lines for the visible time range.- Angegeben von:
drawLayerin KlasseSystemLayer<R extends Row<?,?, ?>> - Parameter:
canvas- the canvas to draw onstartTime- the visible start timeendTime- the visible end time
-