|
|||||||||
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.IEditProperties2Proxy
public class IEditProperties2Proxy
Provides access to more members that control the properties of an edit session.
The IEditProperties2 interface provides additional parameters to control the editor's behavior.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IEditProperties2Proxy()
|
|
IEditProperties2Proxy(Object obj)
|
protected |
IEditProperties2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getAngularCorrectionOffset()
Angular Correction Offset. |
int |
getAngularUnitPrecision()
Precision used to display angular units. |
int |
getDirectionType()
Direction Type. |
int |
getDirectionUnits()
Direction Units. |
double |
getDistanceCorrectionFactor()
Distance Correction Factor. |
int |
getStickyMoveTolerance()
Controls the sticky move tolerance. |
boolean |
isSnapTips()
Indicates whether to show the snap tips. |
boolean |
isUseGroundToGrid()
Indicates whether to use Ground to Grid. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAngularCorrectionOffset(double angOffset)
Angular Correction Offset. |
void |
setAngularUnitPrecision(int auPrecision)
Precision used to display angular units. |
void |
setDirectionType(int dirType)
Direction Type. |
void |
setDirectionUnits(int dirUnits)
Direction Units. |
void |
setDistanceCorrectionFactor(double distFactor)
Distance Correction Factor. |
void |
setSnapTips(boolean tips)
Indicates whether to show the snap tips. |
void |
setStickyMoveTolerance(int tol)
Controls the sticky move tolerance. |
void |
setUseGroundToGrid(boolean g2g)
Indicates whether to use Ground to Grid. |
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 IEditProperties2Proxy()
public IEditProperties2Proxy(Object obj) throws IOException
IOException
protected IEditProperties2Proxy(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 getStickyMoveTolerance() throws IOException, AutomationException
StickyMoveTolerance determines the minimum distance (measured in pixels) the cursor must move before the edit is completed. This can be helpful in preventing small inadvertent shifts of features when editing. The default value is 0.
getStickyMoveTolerance
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStickyMoveTolerance(int tol) throws IOException, AutomationException
setStickyMoveTolerance
in interface IEditProperties2
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSnapTips() throws IOException, AutomationException
isSnapTips
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapTips(boolean tips) throws IOException, AutomationException
setSnapTips
in interface IEditProperties2
tips
- The tips (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngularUnitPrecision(int auPrecision) throws IOException, AutomationException
setAngularUnitPrecision
in interface IEditProperties2
auPrecision
- The auPrecision (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAngularUnitPrecision() throws IOException, AutomationException
AngularUnitPrecision determines the number of digits displayed after the decimal place. The default is 4.
getAngularUnitPrecision
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDirectionType(int dirType) throws IOException, AutomationException
setDirectionType
in interface IEditProperties2
dirType
- A com.esri.arcgis.system.esriDirectionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDirectionType() throws IOException, AutomationException
IEditProperties::DirectionType determines the method of measurement for direction values. The default value is esriDTPolar.
getDirectionType
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDirectionUnits(int dirUnits) throws IOException, AutomationException
setDirectionUnits
in interface IEditProperties2
dirUnits
- A com.esri.arcgis.system.esriDirectionUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDirectionUnits() throws IOException, AutomationException
The direction units define how angles are specified; how many parts a complete circle is divided into and how to interpret the angle value entered. The default value is esriDUDecimalDegrees.
getDirectionUnits
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDistanceCorrectionFactor(double distFactor) throws IOException, AutomationException
setDistanceCorrectionFactor
in interface IEditProperties2
distFactor
- The distFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDistanceCorrectionFactor() throws IOException, AutomationException
Use this property to determine the distance amount applied when length measurements are input into the editor. The value may be accessed or modified at any time; however, it is applied only when IEditProperties::UseGroundToGrid is set to True. The default value is 0 (no correction).
getDistanceCorrectionFactor
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngularCorrectionOffset(double angOffset) throws IOException, AutomationException
setAngularCorrectionOffset
in interface IEditProperties2
angOffset
- The angOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngularCorrectionOffset() throws IOException, AutomationException
AngularCorrectionOffset determines the amount of correction applied to each entered angular value. The offset is specified in radians. This property may be accessed at any time; it is only applied when the IEditProperties2::UseGroundToGrid is True. The default value is 0 (no correction).
getAngularCorrectionOffset
in interface IEditProperties2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseGroundToGrid(boolean g2g) throws IOException, AutomationException
Use this property to control whether any distance or direction offsets are applied to angle or length values respectively when using the editor. If UseGroundToGrid is True then the distance offset specified by IEditProperties2::DistanceCorrectionFactor and the angular offset specified by IEditProperties2::AngularCorrectionFactor are used.
setUseGroundToGrid
in interface IEditProperties2
g2g
- The g2g (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseGroundToGrid() throws IOException, AutomationException
Use this property to control whether any distance or direction offsets are applied to angle or length values respectively when using the editor. If UseGroundToGrid is True then the distance offset specified by IEditProperties2::DistanceCorrectionFactor and the angular offset specified by IEditProperties2::AngularCorrectionFactor are used.
isUseGroundToGrid
in interface IEditProperties2
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 |