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.

      Returns:
      the maximumDuration property
      Since:
      200.1.0
      See Also:
    • getMaximumDuration

      public double getMaximumDuration()
      Gets the value of the maximumDuration property.
      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.

      Returns:
      the value of the maximumDuration property
      Since:
      200.1.0
      See Also:
    • setMaximumDuration

      public void setMaximumDuration(double maximumDuration)
      Sets the value of the maximumDuration property.
      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.

      Parameters:
      maximumDuration - the value for the maximumDuration property
      Since:
      200.1.0
      See Also:
    • maximumObservationsProperty

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

      The default value is 5.

      Returns:
      the maximumObservations property
      Since:
      200.1.0
      See Also:
    • getMaximumObservations

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

      The default value is 5.

      Returns:
      the value of the maximumObservations property
      Since:
      200.1.0
      See Also:
    • setMaximumObservations

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

      The default value is 5.

      Parameters:
      maximumObservations - the value for the maximumObservations property
      Since:
      200.1.0
      See Also:
    • previousObservationRendererProperty

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

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

      public void setPreviousObservationRenderer(Renderer previousObservationRenderer)
      Sets the value of the previousObservationRenderer property.
      Property description:
      The Renderer to display the previous observations.
      Parameters:
      previousObservationRenderer - the value for the previousObservationRenderer property
      Since:
      200.1.0
      See Also:
    • 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.

      Returns:
      the showPreviousObservations property
      Since:
      200.1.0
      See Also:
    • isShowPreviousObservations

      public boolean isShowPreviousObservations()
      Gets the value of the showPreviousObservations property.
      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.

      Returns:
      the value of the showPreviousObservations property
      Since:
      200.1.0
      See Also:
    • setShowPreviousObservations

      public void setShowPreviousObservations(boolean showPreviousObservations)
      Sets the value of the showPreviousObservations property.
      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.

      Parameters:
      showPreviousObservations - the value for the showPreviousObservations property
      Since:
      200.1.0
      See Also:
    • showTrackLineProperty

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

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

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

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

      All renderer types are supported; however, the track line attributes collection includes only the entity ID attribute that uniquely identifies the track. This attribute can be used to highlight a specific track using one of the attribute-based renderers.

      Returns:
      the trackLineRenderer property
      Since:
      200.1.0
      See Also:
    • getTrackLineRenderer

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

      All renderer types are supported; however, the track line attributes collection includes only the entity ID attribute that uniquely identifies the track. This attribute can be used to highlight a specific track using one of the attribute-based renderers.

      Returns:
      the value of the trackLineRenderer property
      Since:
      200.1.0
      See Also:
    • setTrackLineRenderer

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

      All renderer types are supported; however, the track line attributes collection includes only the entity ID attribute that uniquely identifies the track. This attribute can be used to highlight a specific track using one of the attribute-based renderers.

      Parameters:
      trackLineRenderer - the value for the trackLineRenderer property
      Since:
      200.1.0
      See Also: