Class TrackDisplayProperties

java.lang.Object
com.esri.arcgisruntime.layers.TrackDisplayProperties

public final class TrackDisplayProperties extends Object
Controls the display of tracks for a DynamicEntityLayer.

Track display properties allow you to control the display of dynamic entity observations by setting a maximum number of observations to show, displaying a line that connects them (track line), and applying renderers to the previous observations and/or track line.

Since:
200.1.0
  • Property Details

  • Method Details

    • maximumDurationProperty

      public DoubleProperty maximumDurationProperty()
      The maximum time (in seconds) a previous observation displays in the track. Previous observations older than the specified maximum duration are not displayed.

      The default value is 0.0 which means the maximum duration is disabled and there is no age expiration applied to observations.

      Setting maximum duration to anything below 1.0 defaults to 1.0.

      Since:
      200.1.0
      See Also:
    • getMaximumDuration

      public double getMaximumDuration()
      Gets the value of the property maximumDuration.
      Property description:
      The maximum time (in seconds) a previous observation displays in the track. Previous observations older than the specified maximum duration are not displayed.

      The default value is 0.0 which means the maximum duration is disabled and there is no age expiration applied to observations.

      Setting maximum duration to anything below 1.0 defaults to 1.0.

      Since:
      200.1.0
    • setMaximumDuration

      public void setMaximumDuration(double maximumDuration)
      Sets the value of the property maximumDuration.
      Property description:
      The maximum time (in seconds) a previous observation displays in the track. Previous observations older than the specified maximum duration are not displayed.

      The default value is 0.0 which means the maximum duration is disabled and there is no age expiration applied to observations.

      Setting maximum duration to anything below 1.0 defaults to 1.0.

      Since:
      200.1.0
    • maximumObservationsProperty

      public IntegerProperty maximumObservationsProperty()
      The maximum number of observations displayed per track (this includes latest and previous observations).

      The default value is 5.

      Since:
      200.1.0
      See Also:
    • getMaximumObservations

      public int getMaximumObservations()
      Gets the value of the property maximumObservations.
      Property description:
      The maximum number of observations displayed per track (this includes latest and previous observations).

      The default value is 5.

      Since:
      200.1.0
    • setMaximumObservations

      public void setMaximumObservations(int maximumObservations)
      Sets the value of the property maximumObservations.
      Property description:
      The maximum number of observations displayed per track (this includes latest and previous observations).

      The default value is 5.

      Since:
      200.1.0
    • previousObservationRendererProperty

      public ObjectProperty<Renderer> previousObservationRendererProperty()
      The Renderer to display the previous observations.
      Since:
      200.1.0
      See Also:
    • getPreviousObservationRenderer

      public Renderer getPreviousObservationRenderer()
      Gets the value of the property previousObservationRenderer.
      Property description:
      The Renderer to display the previous observations.
      Since:
      200.1.0
    • setPreviousObservationRenderer

      public void setPreviousObservationRenderer(Renderer previousObservationRenderer)
      Sets the value of the property previousObservationRenderer.
      Property description:
      The Renderer to display the previous observations.
      Since:
      200.1.0
    • showPreviousObservationsProperty

      public BooleanProperty showPreviousObservationsProperty()
      A flag indicating whether to show previous observations.

      This flag only affects previous observations, the latest observation of the track is always displayed.

      Since:
      200.1.0
      See Also:
    • isShowPreviousObservations

      public boolean isShowPreviousObservations()
      Gets the value of the property showPreviousObservations.
      Property description:
      A flag indicating whether to show previous observations.

      This flag only affects previous observations, the latest observation of the track is always displayed.

      Since:
      200.1.0
    • setShowPreviousObservations

      public void setShowPreviousObservations(boolean showPreviousObservations)
      Sets the value of the property showPreviousObservations.
      Property description:
      A flag indicating whether to show previous observations.

      This flag only affects previous observations, the latest observation of the track is always displayed.

      Since:
      200.1.0
    • showTrackLineProperty

      public BooleanProperty showTrackLineProperty()
      A flag indicating whether to show a line that connects observations with the same track ID.
      Since:
      200.1.0
      See Also:
    • isShowTrackLine

      public boolean isShowTrackLine()
      Gets the value of the property showTrackLine.
      Property description:
      A flag indicating whether to show a line that connects observations with the same track ID.
      Since:
      200.1.0
    • setShowTrackLine

      public void setShowTrackLine(boolean showTrackLine)
      Sets the value of the property showTrackLine.
      Property description:
      A flag indicating whether to show a line that connects observations with the same track ID.
      Since:
      200.1.0
    • trackLineRendererProperty

      public ObjectProperty<Renderer> trackLineRendererProperty()
      The Renderer to display the track lines that connect observations.

      Only SimpleRenderer types are supported since the track line has no attributes to support other renderer types.

      Since:
      200.1.0
      See Also:
    • getTrackLineRenderer

      public Renderer getTrackLineRenderer()
      Gets the value of the property trackLineRenderer.
      Property description:
      The Renderer to display the track lines that connect observations.

      Only SimpleRenderer types are supported since the track line has no attributes to support other renderer types.

      Since:
      200.1.0
    • setTrackLineRenderer

      public void setTrackLineRenderer(Renderer trackLineRenderer)
      Sets the value of the property trackLineRenderer.
      Property description:
      The Renderer to display the track lines that connect observations.

      Only SimpleRenderer types are supported since the track line has no attributes to support other renderer types.

      Since:
      200.1.0