|
|||||||||
| 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.AddVertex
public class AddVertex
Inserts a vertex on the selected features within the search tolerance.
SelectByExtent select = new SelectByExtent(EditUtil.toEnvelope(-2309712.539, -887434.291, -1023725.086, 411499.344, map
.getSpatialReference(), ctx));
AddVertex addVertex = new AddVertex(EditUtil.toPoint(-1023725.086, 411499.344, map.getSpatialReference(), ctx));
workspace.perform(context, select, addVertex);
The feature may fire the following events:
| Field Summary |
|---|
| Fields inherited from class com.esri.adf.web.ags.data.edit.EditAction |
|---|
eventListeners |
| Constructor Summary | |
|---|---|
AddVertex(com.esri.arcgis.geometry.IPoint point)
Instantiates an object of AddVertex. |
|
| Method Summary | |
|---|---|
void |
action(ActionContext context)
Performs the action. |
com.esri.arcgis.geometry.IPoint |
getPoint()
Gets the point of the vertex. |
int |
getSearchTolerance()
Gets the search tolerance in pixels. |
void |
setPoint(com.esri.arcgis.geometry.IPoint point)
Sets the point of the vertex. |
void |
setSearchTolerance(int searchTolerance)
Sets the search tolerance in pixels. |
| 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 AddVertex(com.esri.arcgis.geometry.IPoint point)
point - | Method Detail |
|---|
public com.esri.arcgis.geometry.IPoint getPoint()
public void setPoint(com.esri.arcgis.geometry.IPoint point)
point - The point to set.public int getSearchTolerance()
public void setSearchTolerance(int searchTolerance)
searchTolerance - The tolerance to set.
public void action(ActionContext context)
throws Exception
EditAction
action in class EditActioncontext - the action context.
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||