|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.DigitizerExtension
public class DigitizerExtension
COM Class 'DigitizerExtension'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'
Description 'Extension for working with the digitizer.' 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.system.IExtension |
---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
Fields inherited from interface com.esri.arcgis.editor.IDigitizerSetup |
---|
IID, IIDd319724c_db13_11d2_9f26_00c04f6bc979, xxDummy |
Fields inherited from interface com.esri.arcgis.editor.IDigitizerButtons |
---|
IID, IIDd319724d_db13_11d2_9f26_00c04f6bc979, xxDummy |
Constructor Summary | |
---|---|
DigitizerExtension(java.lang.Object obj)
Construct a DigitizerExtension using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addControlPoint(double xDigitizer,
double yDigitizer,
double xMap,
double yMap)
Adds a control point to the transformation. |
void |
clearControlPoints()
Removes all control points. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IUID |
getButton(int button)
Button to map on the digitizer puck. |
void |
getControlPoint(int index,
double[] xDigitizer,
double[] yDigitizer,
double[] xMap,
double[] yMap)
A control point's X,Y coordinates in Digitizer and Map units. |
int |
getControlPointCount()
The number of control points used for digitizing. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
The name of the extension. |
ITransformation |
getTransformation()
The transformation used by the digitizer. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a DigitizerExtension. |
void |
setButton(int button,
IUID cmdID)
Button to map on the digitizer puck. |
void |
setTransformationByRef(ITransformation transform)
The transformation used by the digitizer. |
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 DigitizerExtension(java.lang.Object obj) throws java.io.IOException
obj
to DigitizerExtension
. *
DigitizerExtension o = (DigitizerExtension)obj; // will not work
DigitizerExtension o = new DigitizerExtension(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
DigitizerExtension theDigitizerExtension = (DigitizerExtension) obj;
Method Detail |
---|
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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IExtension
java.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 IExtension
initializationData
- 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 IExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransformationByRef(ITransformation transform) throws java.io.IOException, AutomationException
setTransformationByRef
in interface IDigitizerSetup
transform
- A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITransformation getTransformation() throws java.io.IOException, AutomationException
getTransformation
in interface IDigitizerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getControlPointCount() throws java.io.IOException, AutomationException
getControlPointCount
in interface IDigitizerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearControlPoints() throws java.io.IOException, AutomationException
clearControlPoints
in interface IDigitizerSetup
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getControlPoint(int index, double[] xDigitizer, double[] yDigitizer, double[] xMap, double[] yMap) throws java.io.IOException, AutomationException
getControlPoint
in interface IDigitizerSetup
index
- The index (in)xDigitizer
- The xDigitizer (out: use single element array)yDigitizer
- The yDigitizer (out: use single element array)xMap
- The xMap (out: use single element array)yMap
- The yMap (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addControlPoint(double xDigitizer, double yDigitizer, double xMap, double yMap) throws java.io.IOException, AutomationException
addControlPoint
in interface IDigitizerSetup
xDigitizer
- The xDigitizer (in)yDigitizer
- The yDigitizer (in)xMap
- The xMap (in)yMap
- The yMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setButton(int button, IUID cmdID) throws java.io.IOException, AutomationException
setButton
in interface IDigitizerButtons
button
- The button (in)cmdID
- A reference to a com.esri.arcgis.system.IUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getButton(int button) throws java.io.IOException, AutomationException
getButton
in interface IDigitizerButtons
button
- The button (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 |