Class SketchGeometryChangedEvent

java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.mapping.view.SketchGeometryChangedEvent
All Implemented Interfaces:
Serializable

@Deprecated(since="200.2.0", forRemoval=true) public final class SketchGeometryChangedEvent extends EventObject
Deprecated, for removal: This API element is subject to removal in a future version.
since 200.2.0 along with SketchEditor. New development should use GeometryEditor instead.
An event representing a change of the geometry in the sketch editor.
Since:
100.1.0
See Also:
  • Constructor Details

    • SketchGeometryChangedEvent

      public SketchGeometryChangedEvent(SketchEditor source)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a GeometryChangedEvent object.
      Parameters:
      source - a SketchEditor object
      Throws:
      IllegalArgumentException - if source is null
      Since:
      100.1.0
  • Method Details

    • getSource

      public SketchEditor getSource()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the source firing the event.
      Overrides:
      getSource in class EventObject
      Returns:
      the SketchEditor instance that fired the event
      Since:
      100.1.0
    • getGeometry

      public Geometry getGeometry()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the current geometry if the sketch is valid, see SketchEditor.isSketchValid().
      Returns:
      the current geometry or null if the geometry is not valid
      Since:
      100.1.0