|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.editor.DigitizerExtension
public class DigitizerExtension
Extension for working with the digitizer.
The DigitizerExtension connects a digitizing board and puck with ArcMap. This object is primarily responsible for the transformation between digitizing space and map space. After a transformation has been established, the location of the puck directly correlates to a location on the focus map.
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.system.IExtension |
|---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
| Constructor Summary | |
|---|---|
DigitizerExtension(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(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. |
String |
getName()
The name of the extension. |
ITransformation |
getTransformation()
The transformation used by the digitizer. |
int |
hashCode()
the hashcode for this object |
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(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 |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public DigitizerExtension(Object obj)
throws 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
IOException - if there are interop problems
DigitizerExtension theDigitizerExtension = (DigitizerExtension) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
getName in interface IExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startup(Object initializationData)
throws IOException,
AutomationException
startup in interface IExtensioninitializationData - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws IOException,
AutomationException
shutdown in interface IExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransformationByRef(ITransformation transform)
throws IOException,
AutomationException
setTransformationByRef in interface IDigitizerSetuptransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITransformation getTransformation()
throws IOException,
AutomationException
getTransformation in interface IDigitizerSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IDigitizerButtons,
ITransformation,
IEditAttributeProperties
public int getControlPointCount()
throws IOException,
AutomationException
getControlPointCount in interface IDigitizerSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IDigitizerButtons,
ITransformation,
IEditAttributeProperties
public void clearControlPoints()
throws IOException,
AutomationException
clearControlPoints in interface IDigitizerSetupIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IDigitizerButtons,
ITransformation,
IEditAttributeProperties
public void getControlPoint(int index,
double[] xDigitizer,
double[] yDigitizer,
double[] xMap,
double[] yMap)
throws IOException,
AutomationException
getControlPoint in interface IDigitizerSetupindex - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IDigitizerButtons,
ITransformation,
IEditAttributeProperties
public void addControlPoint(double xDigitizer,
double yDigitizer,
double xMap,
double yMap)
throws IOException,
AutomationException
addControlPoint in interface IDigitizerSetupxDigitizer - The xDigitizer (in)yDigitizer - The yDigitizer (in)xMap - The xMap (in)yMap - The yMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IDigitizerButtons,
ITransformation,
IEditAttributeProperties
public void setButton(int button,
IUID cmdID)
throws IOException,
AutomationException
setButton in interface IDigitizerButtonsbutton - The button (in)cmdID - A reference to a com.esri.arcgis.system.IUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getButton(int button)
throws IOException,
AutomationException
getButton in interface IDigitizerButtonsbutton - The button (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 | ||||||||