|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.editor.IEditPropertiesProxy
public class IEditPropertiesProxy
Provides access to members that control the properties of an edit session.
The IEditProperties interface is used to manage all of the properties an edit session has. Properties include: AutoSaveOnVersion, ReportPrecision, SelectedVertexSymbol, SketchSymbol, SketchVertexSymbol, SnapSymbol, StreamGroupingCount, StreamTolerance, and StretchGeometry.
ICharacterMarkerSymbol
,
ISnapEnvironment
,
IPictureMarkerSymbol
,
IMarkerSymbol
,
IEditProperties
,
ILineSymbol
,
IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask)
,
IEditor
,
IEditLayers
,
IEditTask.deactivate()
,
IEditAttributeProperties
,
IEditEvents2
,
IEditTask.onFinishSketch()
,
IArrowMarkerSymbol
,
IDatasetEdit
,
IDatasetEditInfo
,
IEditTask.onDeleteSketch()
,
IEditTask.getName()
,
IEditEvents
,
IMultiLayerMarkerSymbol
,
ICartographicMarkerSymbol
,
Editor
,
IEditSketch
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IEditPropertiesProxy()
|
|
IEditPropertiesProxy(Object obj)
|
protected |
IEditPropertiesProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getReportPrecision()
Controls the number of decimal places the editor reports numbers with. |
IMarkerSymbol |
getSelectedVertexSymbol()
Symbol used to draw the active vertex of the edit sketch. |
ILineSymbol |
getSketchSymbol()
Symbol used to draw the lines of the edit sketch. |
IMarkerSymbol |
getSketchVertexSymbol()
Symbol used to draw the vertices of the edit sketch. |
IMarkerSymbol |
getSnapSymbol()
Symbol used to draw the snap location. |
int |
getStreamGroupingCount()
Controls the number of points to group together when streaming. |
double |
getStreamTolerance()
Controls the streaming tolerance, measured in map units. |
boolean |
isAutoSaveOnVersionRedefined()
Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification. |
boolean |
isStretchGeometry()
Indicates if the edit sketch is stretched when one of its vertices is moved. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAutoSaveOnVersionRedefined(boolean stretch)
Indicates whether the stop editing process should automatically reconcile an edit session and save the version without notification. |
void |
setReportPrecision(int numDecs)
Controls the number of decimal places the editor reports numbers with. |
void |
setSelectedVertexSymbolByRef(IMarkerSymbol symbol)
Symbol used to draw the active vertex of the edit sketch. |
void |
setSketchSymbolByRef(ILineSymbol symbol)
Symbol used to draw the lines of the edit sketch. |
void |
setSketchVertexSymbolByRef(IMarkerSymbol symbol)
Symbol used to draw the vertices of the edit sketch. |
void |
setSnapSymbolByRef(IMarkerSymbol symbol)
Symbol used to draw the snap location. |
void |
setStreamGroupingCount(int tol)
Controls the number of points to group together when streaming. |
void |
setStreamTolerance(double tol)
Controls the streaming tolerance, measured in map units. |
void |
setStretchGeometry(boolean stretch)
Indicates if the edit sketch is stretched when one of its vertices is moved. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IEditPropertiesProxy()
public IEditPropertiesProxy(Object obj) throws IOException
IOException
protected IEditPropertiesProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getReportPrecision() throws IOException, AutomationException
getReportPrecision
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReportPrecision(int numDecs) throws IOException, AutomationException
setReportPrecision
in interface IEditProperties
numDecs
- The numDecs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getStreamTolerance() throws IOException, AutomationException
getStreamTolerance
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStreamTolerance(double tol) throws IOException, AutomationException
setStreamTolerance
in interface IEditProperties
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStreamGroupingCount() throws IOException, AutomationException
getStreamGroupingCount
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStreamGroupingCount(int tol) throws IOException, AutomationException
setStreamGroupingCount
in interface IEditProperties
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStretchGeometry() throws IOException, AutomationException
This property determines whether or not the edit sketch is stretched proportionally when a vertex is moved. The following diagrams illustrate this point better. In both cases, the upper right vertex was moved.
Moving a vertex with StretchGeometry set to True:
Moving a vertex with StrechGeometry set to False:
isStretchGeometry
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStretchGeometry(boolean stretch) throws IOException, AutomationException
This property determines whether or not the edit sketch is stretched proportionally when a vertex is moved. The following diagrams illustrate this point better. In both cases, the upper right vertex was moved.
Moving a vertex with StretchGeometry set to True
Moving a vertex with StrechGeometry set to False:
setStretchGeometry
in interface IEditProperties
stretch
- The stretch (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getSketchSymbol() throws IOException, AutomationException
getSketchSymbol
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditProperties.getSelectedVertexSymbol()
,
IEditProperties.getSketchVertexSymbol()
,
IEditProperties.getSnapSymbol()
public void setSketchSymbolByRef(ILineSymbol symbol) throws IOException, AutomationException
setSketchSymbolByRef
in interface IEditProperties
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getSketchVertexSymbol() throws IOException, AutomationException
getSketchVertexSymbol
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditProperties.getSelectedVertexSymbol()
,
IEditProperties.getSnapSymbol()
,
IEditProperties.getSketchSymbol()
public void setSketchVertexSymbolByRef(IMarkerSymbol symbol) throws IOException, AutomationException
setSketchVertexSymbolByRef
in interface IEditProperties
symbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getSelectedVertexSymbol() throws IOException, AutomationException
getSelectedVertexSymbol
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditProperties.getSketchVertexSymbol()
,
IEditProperties.getSnapSymbol()
,
IEditProperties.getSketchSymbol()
public void setSelectedVertexSymbolByRef(IMarkerSymbol symbol) throws IOException, AutomationException
setSelectedVertexSymbolByRef
in interface IEditProperties
symbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerSymbol getSnapSymbol() throws IOException, AutomationException
getSnapSymbol
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditProperties.getSketchVertexSymbol()
,
IEditProperties.getSelectedVertexSymbol()
,
IEditor.invertAgent(com.esri.arcgis.geometry.IPoint, int)
public void setSnapSymbolByRef(IMarkerSymbol symbol) throws IOException, AutomationException
setSnapSymbolByRef
in interface IEditProperties
symbol
- A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAutoSaveOnVersionRedefined() throws IOException, AutomationException
AutoReconciliation provides the user the ability to delay the save process for after the reconciliation. This allows the user to inspect the results of the reconciliation prior to saving.
If AutoSaveOnVersionRedefined = True, auto reconciliation will automatically reconcile the edit session with the version's current database state and save, making changes available to others using the database.
If AutoSaveOnVersionRedefined = False, when a save occurs, the edit session will be reconciled with the version's current database state, and then a message will inform the user that the edit session has been reconciled but has not been saved.
isAutoSaveOnVersionRedefined
in interface IEditProperties
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoSaveOnVersionRedefined(boolean stretch) throws IOException, AutomationException
setAutoSaveOnVersionRedefined
in interface IEditProperties
stretch
- The stretch (in)
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 |