Class SelectionProperties

java.lang.Object
com.esri.arcgisruntime.mapping.SelectionProperties

public final class SelectionProperties extends Object
Represents selection properties for selecting graphics and features in a GeoView. Allows the selection color to be changed. Default color is cyan, 0xFF00FFFF. To modify the selection properties on a GeoView use GeoView.getSelectionProperties().
Since:
100.4.0
  • Property Details

  • Method Details

    • colorProperty

      public ObjectProperty<Color> colorProperty()
      The selection color.
      Returns:
      the color property
      Since:
      200.0.0
      See Also:
    • getColor

      public Color getColor()
      Gets the value of the color property.
      Property description:
      The selection color.
      Returns:
      the value of the color property
      Since:
      200.0.0
      See Also:
    • setColor

      public void setColor(Color color)
      Sets the value of the color property.
      Property description:
      The selection color.
      Parameters:
      color - the value for the color property
      Since:
      200.0.0
      See Also:
    • setColor

      @Deprecated(since="200.0.0", forRemoval=true) public void setColor(int color)
      Deprecated, for removal: This API element is subject to removal in a future version.
      as of 200.0.0, replaced by setColor(Color)
      Sets the selection color to an ARGB(alpha, red, green, blue) value.
      Parameters:
      color - an integer representing the color property as 0xAARRGGBB
      Since:
      100.4.0