Klasse SystemLayer<R extends Row<?,?,?>>
java.lang.Object
com.flexganttfx.view.graphics.renderer.RendererBase
com.flexganttfx.view.graphics.layer.SystemLayer<R>
- Typparameter:
R- the type of the rows
- Bekannte direkte Unterklassen:
AgendaLinesLayer, CalendarLayer, ChartLinesLayer, DSTLineLayer, GridLinesLayer, HoverTimeIntervalLayer, InnerLinesLayer, LayoutLayer, NowLineLayer, RowLayer, SelectedTimeIntervalsLayer, ZoomTimeIntervalLayer
System layers are used in the background and foreground of each row. A
background layer gets drawn before the activities are drawn while a
foreground layer gets drawn after the activities are drawn. Each layer
is specialized on drawing one type of information: current time, selected
time intervals, grid lines, and so on. The graphics view manages the layers
in two lists and provides convenience methods to easily look them up.
- Seit:
- 1.0
- Siehe auch:
-
Eigenschaftsübersicht
EigenschaftenTypEigenschaftBeschreibungfinal ReadOnlyDoublePropertyThe opacity property.final BooleanPropertyThe visible property.Von Klasse geerbte Eigenschaften RendererBase
alpha, enabled, snapToPixel -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSystemLayer(String name, GraphicsBase<R> graphicsView) Constructs a new system layer for the given graphics view. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungabstract voidDraws the layer for the given row canvas and visible time range.protected voidfadeInOutObservable(ObservableBooleanValue observable) Registers an observable that triggers fade animations when its value changes.final doubleRuft den Wert deropacity-Eigenschaft ab.final booleanRuft den Wert dervisible-Eigenschaft ab.final ReadOnlyDoublePropertyThe opacity property.final voidsetVisible(boolean visible) Legt den Wert dervisible-Eigenschaft fest.final BooleanPropertyThe visible property.Von 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
-
visible
The visible property. Controls whether the layer is rendered.- Siehe auch:
-
opacity
The opacity property. Exposes the opacity used to paint the layer.- Siehe auch:
-
-
Konstruktordetails
-
SystemLayer
Constructs a new system layer for the given graphics view.- Parameter:
name- the layer namegraphicsView- the owning graphics view
-
-
Methodendetails
-
fadeInOutObservable
Registers an observable that triggers fade animations when its value changes.- Parameter:
observable- the visibility observable to monitor
-
visibleProperty
The visible property. Controls whether the layer is rendered.- Gibt zurück:
- the visible property
- Siehe auch:
-
isVisible
public final boolean isVisible()Ruft den Wert dervisible-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The visible property. Controls whether the layer is rendered.
- Gibt zurück:
- Wert der Eigenschaft
visible - Siehe auch:
-
setVisible
public final void setVisible(boolean visible) Legt den Wert dervisible-Eigenschaft fest.- Eigenschaftsbeschreibung:
- The visible property. Controls whether the layer is rendered.
- Parameter:
visible- Wert für die Eigenschaftvisible- Siehe auch:
-
opacityProperty
The opacity property. Exposes the opacity used to paint the layer.- Gibt zurück:
- the opacity property
- Siehe auch:
-
getOpacity
public final double getOpacity()Ruft den Wert deropacity-Eigenschaft ab.- Eigenschaftsbeschreibung:
- The opacity property. Exposes the opacity used to paint the layer.
- Gibt zurück:
- Wert der Eigenschaft
opacity - Siehe auch:
-
drawLayer
-