Klasse GridLinesLayer<R extends Row<?,?,?>>

Typparameter:
R - the type of the rows

public class GridLinesLayer<R extends Row<?,?,?>> extends SystemLayer<R>
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:
  • Eigenschaftsdetails

  • Konstruktordetails

    • GridLinesLayer

      public GridLinesLayer(GraphicsBase<R> graphics)
      Constructs a new grid lines layer.
      Parameter:
      graphics - the graphics view that owns the layer
  • Methodendetails

    • lineStroke1Property

      public final ObjectProperty<Paint> lineStroke1Property()
      The lineStroke1 property. Stores the stroke used for the first grid line level.
      Gibt zurück:
      the lineStroke1 property
      Siehe auch:
    • getLineStroke1

      public final Paint getLineStroke1()
      Ruft den Wert der lineStroke1-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

      public final void setLineStroke1(Paint stroke)
      Legt den Wert der lineStroke1-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineStroke1 property. Stores the stroke used for the first grid line level.
      Parameter:
      stroke - Wert für die Eigenschaft lineStroke1
      Siehe auch:
    • lineStroke2Property

      public final ObjectProperty<Paint> lineStroke2Property()
      The lineStroke2 property. Stores the stroke used for the second grid line level.
      Gibt zurück:
      the lineStroke2 property
      Siehe auch:
    • getLineStroke2

      public final Paint getLineStroke2()
      Ruft den Wert der lineStroke2-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

      public final void setLineStroke2(Paint stroke)
      Legt den Wert der lineStroke2-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineStroke2 property. Stores the stroke used for the second grid line level.
      Parameter:
      stroke - Wert für die Eigenschaft lineStroke2
      Siehe auch:
    • lineStroke3Property

      public final ObjectProperty<Paint> lineStroke3Property()
      The lineStroke3 property. Stores the stroke used for the third grid line level.
      Gibt zurück:
      the lineStroke3 property
      Siehe auch:
    • getLineStroke3

      public final Paint getLineStroke3()
      Ruft den Wert der lineStroke3-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

      public final void setLineStroke3(Paint stroke)
      Legt den Wert der lineStroke3-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineStroke3 property. Stores the stroke used for the third grid line level.
      Parameter:
      stroke - Wert für die Eigenschaft lineStroke3
      Siehe auch:
    • lineWidth1Property

      public final DoubleProperty 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 der lineWidth1-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 der lineWidth1-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineWidth1 property. Stores the line width used for the first grid line level.
      Parameter:
      width - Wert für die Eigenschaft lineWidth1
      Siehe auch:
    • lineWidth2Property

      public final DoubleProperty 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 der lineWidth2-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 der lineWidth2-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineWidth2 property. Stores the line width used for the second grid line level.
      Parameter:
      width - Wert für die Eigenschaft lineWidth2
      Siehe auch:
    • lineWidth3Property

      public final DoubleProperty 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 der lineWidth3-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 der lineWidth3-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineWidth3 property. Stores the line width used for the third grid line level.
      Parameter:
      width - Wert für die Eigenschaft lineWidth3
      Siehe auch:
    • drawLayer

      public void drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
      Draws the configured vertical grid lines for the visible time range.
      Angegeben von:
      drawLayer in Klasse SystemLayer<R extends Row<?,?,?>>
      Parameter:
      canvas - the canvas to draw on
      startTime - the visible start time
      endTime - the visible end time