|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.controls.IARMapProxy
public class IARMapProxy
Provides access to members that control the ARMap.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IARMapProxy()
|
|
IARMapProxy(Object obj)
|
protected |
IARMapProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
centerAt(double xCoord,
double yCoord)
Moves the center of the map to the specified point. |
void |
centerAtBookmark(Object vBookmarkID)
Centers the map display on the bookmark. |
IARLayer |
getARLayer(int index)
The layer at the specified index. |
int |
getARLayerCount()
The number of layer in the map's layer collection. |
int |
getBookmarkCount()
The number of bookmarks in the map's bookmark collection. |
String |
getBookmarkName(int index)
The name of the bookmark. |
Object |
getCustomProperty()
A property to associate data with an object. |
String |
getDescription()
The description of the map. |
int |
getDistanceUnits()
The distance units of the map. |
void |
getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The visible extent of the map. |
void |
getFullExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The extent of all the data within the map. |
Object |
getInternalObject()
The internal ArcObjects IMap object. |
double |
getMapScale()
The scale of the map as a representative fraction. |
int |
getMapUnits()
The geographical units of the map. |
String |
getName()
The name of the map. |
double |
getReferenceScale()
The reference scale of the map as a representative fraction. |
double |
getRotation()
The number of degrees the map display is rotated. |
String |
getSpatialReferenceName()
The name of the map's spatial reference. |
boolean |
isCanRedoExtent()
Indicates if there is a map extent that can be redone. |
boolean |
isCanUndoExtent()
Indicates if there is a map extent that can be undone. |
void |
pan(int direction,
double screenPercentage)
Pans the map by a factor in a specified direction. |
IARFeatureSet |
queryARFeatures(IARSearchDef pSearchDef)
Searches the map using a search definition and returns an ARFeatureSet. |
void |
readExternal(ObjectInput in)
|
void |
redoExtent()
Redo the next map extent in the stack. |
void |
refresh(boolean refreshNow)
Redraws the map display area. |
void |
removeListener(String iidStr,
Object theListener)
|
IARFeatureCursor |
searchARFeatures(IARSearchDef pSearchDef)
Searches the map using a search definition and returns an ARFeatureCursor. |
void |
setCustomProperty(Object pVal)
A property to associate data with an object. |
void |
setExtent(double xMin,
double yMin,
double xMax,
double yMax)
Sets the visible extent of the map. |
void |
setMapScale(double mapScale)
The scale of the map as a representative fraction. |
void |
setRotation(double mapRotation)
The number of degrees the map display is rotated. |
void |
toMapPoint(int x,
int y,
double[] xCoord,
double[] yCoord)
Converts a point in device coordinates (typically pixels) to coordinates in map units. |
void |
undoExtent()
Undo to the previous map extent in the stack. |
void |
writeExternal(ObjectOutput out)
|
void |
zoomIn(double factor)
Zooms in on the map by a factor. |
void |
zoomOut(double factor)
Zooms out on the map by a factor. |
void |
zoomToBookmark(Object vBookmarkID)
Zooms the map display to the bookmark. |
void |
zoomToFullExtent()
Zoom to the full extent of all data within the map. |
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IARMapProxy()
public IARMapProxy(Object obj)
throws IOException
IOException
protected IARMapProxy(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.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void setMapScale(double mapScale)
throws IOException,
AutomationException
setMapScale in interface IARMapmapScale - The mapScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMapScale()
throws IOException,
AutomationException
getMapScale in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(boolean refreshNow)
throws IOException,
AutomationException
refresh in interface IARMaprefreshNow - The refreshNow (in, optional, pass false if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
getName in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getARLayerCount()
throws IOException,
AutomationException
getARLayerCount in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARLayer getARLayer(int index)
throws IOException,
AutomationException
getARLayer in interface IARMapindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription()
throws IOException,
AutomationException
getDescription in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getSpatialReferenceName()
throws IOException,
AutomationException
getSpatialReferenceName in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapUnits()
throws IOException,
AutomationException
getMapUnits in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDistanceUnits()
throws IOException,
AutomationException
getDistanceUnits in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(double xMin,
double yMin,
double xMax,
double yMax)
throws IOException,
AutomationException
setExtent in interface IARMapxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
getExtent in interface IARMapxMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getFullExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
getFullExtent in interface IARMapxMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws IOException,
AutomationException
getReferenceScale in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomIn(double factor)
throws IOException,
AutomationException
zoomIn in interface IARMapfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomOut(double factor)
throws IOException,
AutomationException
zoomOut in interface IARMapfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void pan(int direction,
double screenPercentage)
throws IOException,
AutomationException
pan in interface IARMapdirection - A com.esri.arcgis.controls.esriARDirection constant (in)screenPercentage - The screenPercentage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void centerAt(double xCoord,
double yCoord)
throws IOException,
AutomationException
centerAt in interface IARMapxCoord - The xCoord (in)yCoord - The yCoord (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotation(double mapRotation)
throws IOException,
AutomationException
setRotation in interface IARMapmapRotation - The mapRotation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getRotation()
throws IOException,
AutomationException
getRotation in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARFeatureSet queryARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
queryARFeatures in interface IARMappSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void toMapPoint(int x,
int y,
double[] xCoord,
double[] yCoord)
throws IOException,
AutomationException
toMapPoint in interface IARMapx - The x (in)y - The y (in)xCoord - The xCoord (in/out: use single element array)yCoord - The yCoord (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanUndoExtent()
throws IOException,
AutomationException
isCanUndoExtent in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void undoExtent()
throws IOException,
AutomationException
undoExtent in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanRedoExtent()
throws IOException,
AutomationException
isCanRedoExtent in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void redoExtent()
throws IOException,
AutomationException
redoExtent in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getInternalObject()
throws IOException,
AutomationException
getInternalObject in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBookmarkCount()
throws IOException,
AutomationException
getBookmarkCount in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getBookmarkName(int index)
throws IOException,
AutomationException
getBookmarkName in interface IARMapindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToBookmark(Object vBookmarkID)
throws IOException,
AutomationException
zoomToBookmark in interface IARMapvBookmarkID - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void centerAtBookmark(Object vBookmarkID)
throws IOException,
AutomationException
centerAtBookmark in interface IARMapvBookmarkID - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToFullExtent()
throws IOException,
AutomationException
zoomToFullExtent in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
getCustomProperty in interface IARMapIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object pVal)
throws IOException,
AutomationException
setCustomProperty in interface IARMappVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARFeatureCursor searchARFeatures(IARSearchDef pSearchDef)
throws IOException,
AutomationException
searchARFeatures in interface IARMappSearchDef - A reference to a com.esri.arcgis.controls.IARSearchDef (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||