|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.SketchOperation
public class SketchOperation
COM Class 'SketchOperation'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'
Description 'Provides undo/redo capabilities for edit sketch modifications.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.editor.ISketchOperation |
---|
IID, IID6d3a6f61_9115_11d1_8461_0000f875b9c6, xxDummy |
Fields inherited from interface com.esri.arcgis.systemUI.IOperation |
---|
IID80a807ab_7bb9_11d0_87ec_080009ec732a |
Fields inherited from interface com.esri.arcgis.editor.ISketchOperation2 |
---|
IID, IID223ee90f_0d7d_4844_9f01_a62cb7407897, xxDummy |
Constructor Summary | |
---|---|
SketchOperation()
Constructs a SketchOperation using ArcGIS Engine. |
|
SketchOperation(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SketchOperation theSketchOperation = (SketchOperation) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
esri_do()
Performs the operation. |
void |
finish(IEnvelope invalEnv)
Finishes the operation and puts it into the operation stack. |
void |
finish(IEnvelope invalEnv,
int opType,
java.lang.Object data)
Finishes the operation and puts it into the operation stack. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getMenuString()
The menu string. |
int |
hashCode()
the hashcode for this object |
boolean |
isCanRedo()
Indicates if the operation can be redone. |
boolean |
isCanUndo()
Indicates if the operation can be undone. |
void |
redo()
Redoes the operation. |
void |
release()
Release a SketchOperation. |
void |
setMenuString(java.lang.String rhs1)
The text that appears in the undo menu choice. |
void |
start(IEditor editor)
Starts the operation, caching the existing sketch. |
void |
undo()
Undoes the operation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SketchOperation() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SketchOperation(java.lang.Object obj) throws java.io.IOException
SketchOperation theSketchOperation = (SketchOperation) obj;
obj
to SketchOperation
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setMenuString(java.lang.String rhs1) throws java.io.IOException, AutomationException
setMenuString
in interface ISketchOperation
setMenuString
in interface ISketchOperation2
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void start(IEditor editor) throws java.io.IOException, AutomationException
start
in interface ISketchOperation
start
in interface ISketchOperation2
editor
- A reference to a com.esri.arcgis.editor.IEditor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void finish(IEnvelope invalEnv) throws java.io.IOException, AutomationException
finish
in interface ISketchOperation
invalEnv
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMenuString() throws java.io.IOException, AutomationException
getMenuString
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUndo() throws java.io.IOException, AutomationException
isCanUndo
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanRedo() throws java.io.IOException, AutomationException
isCanRedo
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_do() throws java.io.IOException, AutomationException
esri_do
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void undo() throws java.io.IOException, AutomationException
undo
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void redo() throws java.io.IOException, AutomationException
redo
in interface IOperation
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void finish(IEnvelope invalEnv, int opType, java.lang.Object data) throws java.io.IOException, AutomationException
finish
in interface ISketchOperation2
invalEnv
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)opType
- A com.esri.arcgis.editor.esriSketchOperationType constant (in)data
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |