|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.Snapping
public class Snapping
COM Class 'Snapping'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'Provides the snapping environment for tools to use.' 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.controls.ISnappingEnvironment2 |
|---|
IID, IID8147026e_d1df_420b_851b_e699004f195a, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.ISnappingEnvironment |
|---|
IID89a22907_b646_491e_89f9_55f707daf009 |
| Fields inherited from interface com.esri.arcgis.system.IExtension |
|---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
| Constructor Summary | |
|---|---|
Snapping()
Constructs a Snapping using ArcGIS Engine. |
|
Snapping(java.lang.Object obj)
Construct a Snapping using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
The name of the extension. |
IPointSnapper |
getPointSnapper()
Returns the point snapper. |
int |
getSnappingType()
The types of snapping currently being considered. |
IColor |
getSnapSymbolColor()
The color of the snapping symbol. |
ITextSymbol |
getSnapTipSymbol()
The symbol that displays the snap tip. |
int |
getSnapTipType()
The types of snapping tip to be displayed. |
int |
getTolerance()
Sets the snap tolerance in pixels. |
int |
hashCode()
the hashcode for this object |
boolean |
isEnabled()
Toggles snapping on/off. |
boolean |
isIgnoreBasemapLayers()
Ignores basemap layers. |
boolean |
isIgnoreIMSLayers()
Ignores layers with slow response times. |
boolean |
isShowSnapTipBackground()
Toggles snap tip background on/off. |
boolean |
isShowSnapTips()
Toggles snap tips on/off. |
boolean |
isTextSnapping()
Toggles snapping to text on/off. |
void |
release()
Release a Snapping. |
void |
setEnabled(boolean snapping)
Toggles snapping on/off. |
void |
setIgnoreBasemapLayers(boolean flag)
Ignores basemap layers. |
void |
setIgnoreIMSLayers(boolean flag)
Ignores layers with slow response times. |
void |
setPointSnapperByRef(IPointSnapper snapper)
Returns the point snapper. |
void |
setShowSnapTipBackground(boolean show)
Toggles snap tip background on/off. |
void |
setShowSnapTips(boolean show)
Toggles snap tips on/off. |
void |
setSnappingType(int options)
The types of snapping currently being considered. |
void |
setSnapSymbolColorByRef(IColor color)
The color of the snapping symbol. |
void |
setSnapTipSymbolByRef(ITextSymbol symbol)
The symbol that displays the snap tip. |
void |
setSnapTipType(int options)
The types of snapping tip to be displayed. |
void |
setTextSnapping(boolean snapping)
Toggles snapping to text on/off. |
void |
setTolerance(int tol)
Sets the snap tolerance in pixels. |
void |
shutdown()
Shuts down the extension. |
void |
startup(java.lang.Object initializationData)
Starts up the extension with the given initialization data. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Snapping()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public Snapping(java.lang.Object obj)
throws java.io.IOException
obj to Snapping.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
Snapping theSnapping = (Snapping) obj;| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isEnabled()
throws java.io.IOException,
AutomationException
isEnabled in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnabled(boolean snapping)
throws java.io.IOException,
AutomationException
setEnabled in interface ISnappingEnvironmentsnapping - The snapping (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTextSnapping()
throws java.io.IOException,
AutomationException
isTextSnapping in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextSnapping(boolean snapping)
throws java.io.IOException,
AutomationException
setTextSnapping in interface ISnappingEnvironmentsnapping - The snapping (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnappingType()
throws java.io.IOException,
AutomationException
getSnappingType in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnappingType(int options)
throws java.io.IOException,
AutomationException
setSnappingType in interface ISnappingEnvironmentoptions - A com.esri.arcgis.controls.esriSnappingType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowSnapTips()
throws java.io.IOException,
AutomationException
isShowSnapTips in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowSnapTips(boolean show)
throws java.io.IOException,
AutomationException
setShowSnapTips in interface ISnappingEnvironmentshow - The show (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnapTipType()
throws java.io.IOException,
AutomationException
getSnapTipType in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapTipType(int options)
throws java.io.IOException,
AutomationException
setSnapTipType in interface ISnappingEnvironmentoptions - A com.esri.arcgis.controls.esriSnappingTipType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextSymbol getSnapTipSymbol()
throws java.io.IOException,
AutomationException
getSnapTipSymbol in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapTipSymbolByRef(ITextSymbol symbol)
throws java.io.IOException,
AutomationException
setSnapTipSymbolByRef in interface ISnappingEnvironmentsymbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowSnapTipBackground()
throws java.io.IOException,
AutomationException
isShowSnapTipBackground in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowSnapTipBackground(boolean show)
throws java.io.IOException,
AutomationException
setShowSnapTipBackground in interface ISnappingEnvironmentshow - The show (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getSnapSymbolColor()
throws java.io.IOException,
AutomationException
getSnapSymbolColor in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapSymbolColorByRef(IColor color)
throws java.io.IOException,
AutomationException
setSnapSymbolColorByRef in interface ISnappingEnvironmentcolor - A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTolerance(int tol)
throws java.io.IOException,
AutomationException
setTolerance in interface ISnappingEnvironmenttol - The tol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTolerance()
throws java.io.IOException,
AutomationException
getTolerance in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPointSnapper getPointSnapper()
throws java.io.IOException,
AutomationException
getPointSnapper in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPointSnapperByRef(IPointSnapper snapper)
throws java.io.IOException,
AutomationException
setPointSnapperByRef in interface ISnappingEnvironmentsnapper - A reference to a com.esri.arcgis.controls.IPointSnapper (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreIMSLayers()
throws java.io.IOException,
AutomationException
isIgnoreIMSLayers in interface ISnappingEnvironmentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreIMSLayers(boolean flag)
throws java.io.IOException,
AutomationException
setIgnoreIMSLayers in interface ISnappingEnvironmentflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreBasemapLayers()
throws java.io.IOException,
AutomationException
isIgnoreBasemapLayers in interface ISnappingEnvironment2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreBasemapLayers(boolean flag)
throws java.io.IOException,
AutomationException
setIgnoreBasemapLayers in interface ISnappingEnvironment2flag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startup(java.lang.Object initializationData)
throws java.io.IOException,
AutomationException
startup in interface IExtensioninitializationData - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws java.io.IOException,
AutomationException
shutdown in interface IExtensionjava.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 | ||||||||