com.esri.android.map.event
Interface PopupEditingListener


public interface PopupEditingListener

Implement this listener to handle events on editing buttons of a PopupContainer.


Method Summary
 void onAddAttachment()
          The 'Add Attachment' button is clicked.
 void onCancel()
          The 'Cancel' button is clicked.
 boolean onDelete()
          The 'Delete' button is clicked.
 void onGeometryEditing(Geometry geometry)
          The 'Edit Geometry' button is clicked.
 void onSave(Map<String,Object> attributes)
          The 'Save' button is clicked.
 void onStartEditing()
          Before an edit session is started.
 

Method Detail

onCancel

void onCancel()
The 'Cancel' button is clicked.


onDelete

boolean onDelete()
The 'Delete' button is clicked.

Returns:
true if the feature has been deleted, false otherwise.

onGeometryEditing

void onGeometryEditing(Geometry geometry)
The 'Edit Geometry' button is clicked. The Popup API only provides a UI for attribute editing. It is the developer's responsibility to provide a UI for geometry editing.

Parameters:
geometry - The geometry to be edited

onSave

void onSave(Map<String,Object> attributes)
The 'Save' button is clicked. Without handling this event to post the edits to the server, all the edits will be local.

Parameters:
attributes - The updated attributes.

onAddAttachment

void onAddAttachment()
The 'Add Attachment' button is clicked.


onStartEditing

void onStartEditing()
Before an edit session is started.



Copyright © 2012. All Rights Reserved.