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

Typparameter:
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.
Seit:
8.8
Siehe auch:
  • Eigenschaftsdetails

  • Konstruktordetails

    • DSTLineLayer

      public DSTLineLayer(GraphicsBase<R> graphics)
      Constructs a new daylight-saving marker layer.
      Parameter:
      graphics - the graphics view that owns the layer
  • Methodendetails

    • strokeProperty

      public final ObjectProperty<Paint> strokeProperty()
      The stroke property. Stores the paint used for the daylight-saving marker.
      Gibt zurück:
      the stroke property
      Siehe auch:
    • getStroke

      public final Paint getStroke()
      Ruft den Wert der stroke-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The stroke property. Stores the paint used for the daylight-saving marker.
      Gibt zurück:
      Wert der Eigenschaft stroke
      Siehe auch:
    • setStroke

      public final void setStroke(Paint stroke)
      Legt den Wert der stroke-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The stroke property. Stores the paint used for the daylight-saving marker.
      Parameter:
      stroke - Wert für die Eigenschaft stroke
      Siehe auch:
    • lineWidthProperty

      public final DoubleProperty lineWidthProperty()
      The lineWidth property. Stores the stroke width of the daylight-saving marker.
      Gibt zurück:
      the lineWidth property
      Siehe auch:
    • getLineWidth

      public final double getLineWidth()
      Ruft den Wert der lineWidth-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The lineWidth property. Stores the stroke width of the daylight-saving marker.
      Gibt zurück:
      Wert der Eigenschaft lineWidth
      Siehe auch:
    • setLineWidth

      public final void setLineWidth(double lineWidth)
      Legt den Wert der lineWidth-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The lineWidth property. Stores the stroke width of the daylight-saving marker.
      Parameter:
      lineWidth - Wert für die Eigenschaft lineWidth
      Siehe auch:
    • drawLayer

      public void drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
      Draws a marker at the next daylight-saving transition when applicable.
      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