com.esri.adf.web.ags.data.edit.action
Class RemoveFeature

java.lang.Object
  extended by com.esri.adf.web.ags.data.edit.EditAction
      extended by com.esri.adf.web.ags.data.edit.action.RemoveFeature
All Implemented Interfaces:
Serializable

public class RemoveFeature
extends EditAction

Removes the selected features.

 SelectByExtent action = new SelectByExtent(env);
 action.setMaxCount(1);
 RemoveFeature remove = new RemoveFeature();
 workspace.perform(context, action, remove);
 
The feature may fire the following event:
  • FeatureRemovedEvent
  • FeatureUnselectedEvent
  • See Also:
    Serialized Form

    Field Summary
     
    Fields inherited from class com.esri.adf.web.ags.data.edit.EditAction
    eventListeners
     
    Constructor Summary
    RemoveFeature()
              Instantiates an object of RemoveFeature.
     
    Method Summary
     void action(ActionContext context)
              Performs the action.
     
    Methods inherited from class com.esri.adf.web.ags.data.edit.EditAction
    addEventListener, fireEvent, isEnabled, isSessionAware, removeEventListener, setEnabled, setSessionAware
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    RemoveFeature

    public RemoveFeature()
    Instantiates an object of RemoveFeature.

    Method Detail

    action

    public void action(ActionContext context)
                throws Exception
    Description copied from class: EditAction
    Performs the action.

    Specified by:
    action in class EditAction
    Parameters:
    context - the action context.
    Throws:
    Exception