|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.ags.data.edit.EditAction
com.esri.adf.web.ags.data.edit.action.SelectByExtent
public class SelectByExtent
Selects features in the given bounds.
SelectByExtent select = new SelectByExtent(EditUtil.toEnvelope(-2309712.539, -887434.291, -1023725.086, 411499.344, map .getSpatialReference(), ctx)); workspace.perform(context, select);The feature may fire the following event:
Field Summary |
---|
Fields inherited from class com.esri.adf.web.ags.data.edit.EditAction |
---|
eventListeners |
Constructor Summary | |
---|---|
SelectByExtent(com.esri.arcgis.geometry.IEnvelope extent)
Instantiates an object of SelectByExtent. |
Method Summary | |
---|---|
void |
action(ActionContext context)
Performs the action. |
com.esri.arcgis.geometry.IEnvelope |
getExtent()
Gets the search bounds. |
int |
getMaxCount()
Gets the maximum number of return features. |
boolean |
isXorMode()
Sets to true if use XOR select mode. |
void |
setExtent(com.esri.arcgis.geometry.IEnvelope extent)
Sets the search bounds. |
void |
setMaxCount(int maxCount)
Sets the maximum number of return features. |
void |
setXorMode(boolean xorMode)
Returns true if use XOR select mode. |
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 |
---|
public SelectByExtent(com.esri.arcgis.geometry.IEnvelope extent)
extent
- the search boundsMethod Detail |
---|
public com.esri.arcgis.geometry.IEnvelope getExtent()
public void setExtent(com.esri.arcgis.geometry.IEnvelope extent)
extent
- The extent to set.public int getMaxCount()
-1
for return all.
public void setMaxCount(int maxCount)
-1
for return all.
maxCount
- The maxCount to set.public boolean isXorMode()
public void setXorMode(boolean xorMode)
xorMode
- Sets to true to use XOR select mode.public void action(ActionContext context) throws Exception
EditAction
action
in class EditAction
context
- the action context.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |