Module com.esri.arcgisruntime
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.
An event representing a change of the geometry in the sketch editor.
- Since:
- 100.1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs a GeometryChangedEvent object. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Gets the current geometry if the sketch is valid, seeSketchEditor.isSketchValid()
.Deprecated, for removal: This API element is subject to removal in a future version.Returns the source firing the event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SketchGeometryChangedEvent
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
Deprecated, for removal: This API element is subject to removal in a future version.Returns the source firing the event.- Overrides:
getSource
in classEventObject
- Returns:
- the SketchEditor instance that fired the event
- Since:
- 100.1.0
-
getGeometry
Deprecated, for removal: This API element is subject to removal in a future version.Gets the current geometry if the sketch is valid, seeSketchEditor.isSketchValid()
.- Returns:
- the current geometry or null if the geometry is not valid
- Since:
- 100.1.0
-
SketchEditor
. New development should useGeometryEditor
instead.