Class SketchEditConfiguration

java.lang.Object
com.esri.arcgisruntime.mapping.view.SketchEditConfiguration

@Deprecated(since="200.2.0", forRemoval=true) public final class SketchEditConfiguration extends Object
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. The InteractionConfiguration of a GeometryEditorTool provides similar functionality for GeometryEditor.
Defines the edit capabilities of the SketchEditor in a sketching session.
Since:
100.3.0
  • Nested Class Summary Link icon

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated, for removal: This API element is subject to removal in a future version.
    Defines how vertices respond to user interaction.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a default SketchEditConfiguration.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the SketchVertexEditMode specifying what actions are permitted on vertices.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates whether or not a part in a multipart geometry (multipoint, polyline or polygon) can be selected.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates whether or not the context menu should be displayed when users interact with a vertex or a part.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates whether or not a vertex or a part must first be selected before it can be dragged.
    void
    setAllowPartSelection(boolean allowPartSelection)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets whether or not a part in a multipart geometry (multipoint, polyline or polygon) can be selected.
    void
    setContextMenuEnabled(boolean contextMenuEnabled)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets whether or not a context menu should be displayed when users interact with a vertex or a part.
    void
    setRequireSelectionBeforeDrag(boolean requireSelectionBeforeDrag)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets whether or not a vertex or a part must first be selected before it can be dragged.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets the SketchVertexEditMode specifying what actions are permitted on vertices.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • SketchEditConfiguration Link icon

      public SketchEditConfiguration()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs a default SketchEditConfiguration.
      Since:
      100.3.0
  • Method Details Link icon

    • isAllowPartSelection Link icon

      public boolean isAllowPartSelection()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates whether or not a part in a multipart geometry (multipoint, polyline or polygon) can be selected. The default value is true.
      Returns:
      true if a part can be selected, false otherwise
      Since:
      100.3.0
    • setAllowPartSelection Link icon

      public void setAllowPartSelection(boolean allowPartSelection)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets whether or not a part in a multipart geometry (multipoint, polyline or polygon) can be selected.
      Parameters:
      allowPartSelection - true to allow a part in a multipart geometry to be selected, false otherwise
      Since:
      100.3.0
    • isContextMenuEnabled Link icon

      public boolean isContextMenuEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates whether or not the context menu should be displayed when users interact with a vertex or a part. The default value is true.
      Returns:
      true if the context menu can be displayed, false otherwise
      Since:
      100.3.0
    • setContextMenuEnabled Link icon

      public void setContextMenuEnabled(boolean contextMenuEnabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets whether or not a context menu should be displayed when users interact with a vertex or a part.
      Parameters:
      contextMenuEnabled - true to allow the context menu to be displayed, false otherwise
      Since:
      100.3.0
    • isRequireSelectionBeforeDrag Link icon

      public boolean isRequireSelectionBeforeDrag()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates whether or not a vertex or a part must first be selected before it can be dragged. The default value is false.
      Returns:
      true if a vertex or a part must first be selected before it can be dragged, false otherwise
      Since:
      100.3.0
    • setRequireSelectionBeforeDrag Link icon

      public void setRequireSelectionBeforeDrag(boolean requireSelectionBeforeDrag)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets whether or not a vertex or a part must first be selected before it can be dragged.
      Parameters:
      requireSelectionBeforeDrag - true to set a vertex or a part must first be selected before it can be dragged
      Since:
      100.3.0
    • getVertexEditMode Link icon

      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the SketchVertexEditMode specifying what actions are permitted on vertices. The default mode is SketchEditConfiguration.SketchVertexEditMode.INTERACTION_EDIT.
      Returns:
      the SketchVertexEditMode
      Since:
      100.3.0
    • setVertexEditMode Link icon

      public void setVertexEditMode(SketchEditConfiguration.SketchVertexEditMode sketchVertexEditMode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the SketchVertexEditMode specifying what actions are permitted on vertices.
      Parameters:
      sketchVertexEditMode - the SketchVertexEditMode
      Throws:
      IllegalArgumentException - if sketchVertexEditMode is null
      Since:
      100.3.0