Klasse NowLineLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
com.flexganttfx.view.graphics.layer.NowLineLayer<R>
- Typparameter:
R- the type of the rows
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:
-
Eigenschaftsübersicht
EigenschaftenTypEigenschaftBeschreibungfinal DoublePropertyThe lineWidth property.final ObjectProperty<Paint> The stroke property.Von Klasse geerbte Eigenschaften SystemLayer
opacity, visibleVon Klasse geerbte Eigenschaften RendererBase
alpha, enabled, snapToPixel -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidDraws the marker line at the current time location.final doubleRuft den Wert derlineWidth-Eigenschaft ab.final PaintRuft den Wert derstroke-Eigenschaft ab.final DoublePropertyThe lineWidth property.final voidsetLineWidth(double lineWidth) Legt den Wert derlineWidth-Eigenschaft fest.final voidLegt den Wert derstroke-Eigenschaft fest.final ObjectProperty<Paint> The stroke property.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
-
stroke
The stroke property. Stores the paint used for the current-time marker.- Siehe auch:
-
lineWidth
The lineWidth property. Stores the stroke width of the current-time marker.- Siehe auch:
-
-
Konstruktordetails
-
NowLineLayer
Constructs a new now-line layer.- Parameter:
graphics- the graphics view that owns the layer
-
-
Methodendetails
-
strokeProperty
The stroke property. Stores the paint used for the current-time marker.- Gibt zurück:
- the stroke property
- Siehe auch:
-
getStroke
Ruft den Wert derstroke-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
Legt den Wert derstroke-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The stroke property. Stores the paint used for the current-time marker.
- Parameter:
stroke- Wert für die Eigenschaftstroke- Siehe auch:
-
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 derlineWidth-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 derlineWidth-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The lineWidth property. Stores the stroke width of the current-time marker.
- Parameter:
lineWidth- Wert für die EigenschaftlineWidth- Siehe auch:
-
drawLayer
Draws the marker line at the current time location.- Angegeben von:
drawLayerin KlasseSystemLayer<R extends Row<?,?, ?>> - Parameter:
canvas- the canvas to draw onstartTime- the visible start timeendTime- the visible end time
-