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

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

  • Konstruktordetails

    • SystemLayer

      public SystemLayer(String name, GraphicsBase<R> graphicsView)
      Constructs a new system layer for the given graphics view.
      Parameter:
      name - the layer name
      graphicsView - the owning graphics view
  • Methodendetails

    • fadeInOutObservable

      protected void fadeInOutObservable(ObservableBooleanValue observable)
      Registers an observable that triggers fade animations when its value changes.
      Parameter:
      observable - the visibility observable to monitor
    • visibleProperty

      public final BooleanProperty 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 der visible-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 der visible-Eigenschaft fest.
      Eigenschaftsbeschreibung:
      The visible property. Controls whether the layer is rendered.
      Parameter:
      visible - Wert für die Eigenschaft visible
      Siehe auch:
    • opacityProperty

      public final ReadOnlyDoubleProperty 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 der opacity-Eigenschaft ab.
      Eigenschaftsbeschreibung:
      The opacity property. Exposes the opacity used to paint the layer.
      Gibt zurück:
      Wert der Eigenschaft opacity
      Siehe auch:
    • drawLayer

      public abstract void drawLayer(RowCanvas<R> canvas, Instant startTime, Instant endTime)
      Draws the layer for the given row canvas and visible time range.
      Parameter:
      canvas - the canvas to draw on
      startTime - the visible start time
      endTime - the visible end time