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

Typparameter:
R - the type of the rows

public class NowLineLayer<R extends Row<?,?,?>> extends SystemLayer<R>
Draws a vertical line at the location of the current time / now time. The current time is defined in the timeline model.
Seit:
1.0
Siehe auch:
  • Eigenschaftsdetails

  • Konstruktordetails

    • NowLineLayer

      public NowLineLayer(GraphicsBase<R> graphics)
      Constructs a new now-line 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 current-time 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 current-time 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 current-time 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 current-time 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 current-time 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 current-time marker.
      Parameter:
      lineWidth - Wert für die Eigenschaft lineWidth
      Siehe auch:
    • drawLayer

      public void drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
      Draws the marker line at the current time location.
      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