com.esri.map.popup
Interface PopupViewListener

All Superinterfaces:
EventListener

public interface PopupViewListener
extends EventListener

The listener interface for receiving PopupView events. The class that is interested in processing a PopupView event implements this interface, and the object created with that class is registered with a component using the component's addPopupViewListener method. When the popupView event occurs, that object's appropriate method is invoked.

See Also:
PopupViewEvent

Method Summary
 void onCancelEdit(PopupViewEvent popupViewEvent, Graphic graphic)
          Cancel edit.
 void onCommitEdit(PopupViewEvent popupViewEvent, Graphic graphic)
          Commit edit.
 

Method Detail

onCancelEdit

void onCancelEdit(PopupViewEvent popupViewEvent,
                  Graphic graphic)
Cancel edit. This will be fired when the Cancel button is clicked on a PopupView being used in edit mode.

Parameters:
popupViewEvent - the popup view event
graphic - the Graphic that has just had its editing cancelled

onCommitEdit

void onCommitEdit(PopupViewEvent popupViewEvent,
                  Graphic graphic)
Commit edit. This will be fired when the Save button is clicked on a PopupView being used in edit mode.

Parameters:
popupViewEvent - the popup view event
graphic - the Graphic that has just had its edits commited


Copyright © 2012. All Rights Reserved.