|
|||||||||
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.controls.IMapControl2Proxy
public class IMapControl2Proxy
Internal use class Proxy for COM Interface 'IMapControl2'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description: 'Provides access to members that control the MapControl.' 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 | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IMapControl2Proxy()
For internal use only |
|
IMapControl2Proxy(java.lang.Object obj)
|
protected |
IMapControl2Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IMapControl2Proxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IMapControl2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the MapControl. |
void |
addLayer(ILayer layer,
int toIndex)
Adds a layer to the Map's collection of layers at the specified index position. |
void |
addLayerFromFile(java.lang.String lyrPath,
int toIndex)
Loads a layer file and adds it to the Map's collection of layers at the specified index position. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
|
void |
addShapeFile(java.lang.String path,
java.lang.String fileName)
Adds a shapefile as a layer to the Map. |
void |
centerAt(IPoint centerPoint)
Moves the center of the MapControl to the specified location. |
boolean |
checkMxFile(java.lang.String fileName)
Checks the specified filename to see if it is a map document that can be loaded into the MapControl. |
void |
clearLayers()
Removes all layers from the Map. |
void |
deleteLayer(int index)
Removes a Layer from the Map's collection of layers at the specified index position. |
void |
drawShape(IGeometry shape,
java.lang.Object symbol)
Draws a geometry shape on the MapControl. |
void |
drawText(IGeometry pGeometry,
java.lang.String text,
java.lang.Object pSymbol)
Draws text along the supplied geometry. |
boolean |
esri_isEnabled()
Indicates whether the MapControl can respond to user generated events. |
void |
esri_setEnabled(boolean enabled)
Indicates whether the MapControl can respond to user generated events. |
void |
flashShape(IGeometry pShape,
int nFlashes,
int flashInterval,
java.lang.Object symbol)
Flashes a shape on the MapControl, duration is in milliseconds. |
void |
fromMapPoint(IPoint pt,
int[] x,
int[] y)
Converts a point on the Map (in map units) to device co-ordinates (typically pixels). |
IActiveView |
getActiveView()
The active view of the Map contained by the MapControl. |
int |
getAppearance()
The appearance of the MapControl. |
int |
getBackColor()
Background color of the MapControl. |
int |
getBorderStyle()
The border style of the MapControl. |
ITool |
getCurrentTool()
Current active tool for the MapControl. |
IEnvelope |
getExtent()
Current extent of the Map in map units. |
IEnvelope |
getFullExtent()
Rectangular shape that encloses all features of all layers in the Map. |
int |
getHWnd()
Handle to the window associated with the MapControl. |
ILayer |
getLayer(int index)
Layer at the supplied index. |
int |
getLayerCount()
Number of layers in the Map. |
IMap |
getMap()
The Map contained by the MapControl. |
double |
getMapScale()
Scale of the map as a representative fraction. |
int |
getMapUnits()
The geographical units of the map. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the MapControl. |
double |
getReferenceScale()
Reference scale of the Map as a representative fraction. |
double |
getRotation()
Determines how many degrees the map display is rotated. |
ISpatialReference |
getSpatialReference()
Spatial reference of the Map. |
ITrackCancel |
getTrackCancel()
The object used by the MapControl to check if drawing has been aborted. |
boolean |
isOleDropEnabled()
Indicates if the MapControl will fire events when data is dragged over the control's window. |
boolean |
isShowScrollbars()
Indicates whether or not the Map's scrollbars are visible. |
void |
loadMxFile(java.lang.String mxPath,
java.lang.Object mapNameOrIndex,
java.lang.Object password)
Loads the specified Map from the map document into the MapControl. |
void |
moveLayerTo(int fromIndex,
int toIndex)
Moves a layer within the Map's collection from its current index position to a new index position. |
void |
pan()
Tracks the mouse while panning the MapControl. |
IArray |
readMxMaps(java.lang.String fileName,
java.lang.Object password)
Opens a map document specified by the supplied filename and reads the maps into an array object. |
void |
refresh(int phase,
java.lang.Object layerOrElement,
java.lang.Object envelope)
Redraws the Map, optionally just redraw specified phases or envelope. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setAppearance(int appearance)
The appearance of the MapControl. |
void |
setBackColor(int backColor)
Background color of the MapControl. |
void |
setBorderStyle(int borderStyle)
The border style of the MapControl. |
void |
setCurrentToolByRef(ITool pTool)
Current active tool for the MapControl. |
void |
setExtent(IEnvelope extent)
Current extent of the Map in map units. |
void |
setFullExtent(IEnvelope fullExtent)
Rectangular shape that encloses all features of all layers in the Map. |
void |
setMapByRef(IMap pMap)
The Map contained by the MapControl. |
void |
setMapScale(double mapScale)
Scale of the map as a representative fraction. |
void |
setMapUnits(int units)
The geographical units of the map. |
void |
setMouseIconByRef(Picture mouseIcon)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int mousePointer)
The mouse pointer displayed over the MapControl. |
void |
setOleDropEnabled(boolean enabled)
Indicates if the MapControl will fire events when data is dragged over the control's window. |
void |
setReferenceScale(double referenceScale)
Reference scale of the Map as a representative fraction. |
void |
setRotation(double rotation)
Determines how many degrees the map display is rotated. |
void |
setShowScrollbars(boolean showScrollbars)
Indicates whether or not the Map's scrollbars are visible. |
void |
setSpatialReferenceByRef(ISpatialReference spRef)
Spatial reference of the Map. |
void |
setTrackCancelByRef(ITrackCancel ppTrackCancel)
The object used by the MapControl to check if drawing has been aborted. |
void |
setVisibleRegion(IGeometry rhs1)
The geometry specifying the visible region of the Map. |
IPoint |
toMapPoint(int x,
int y)
Converts a point in device co-ordinates (typically pixels) to a point on the Map (in map units). |
IGeometry |
trackCircle()
Rubber-bands a circle on the MapControl. |
IGeometry |
trackLine()
Rubber-bands a polyline on the MapControl. |
IGeometry |
trackPolygon()
Rubber-bands a polygon on the MapControl. |
IEnvelope |
trackRectangle()
Rubber-bands a rectangle on the MapControl. |
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 static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IMapControl2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IMapControl2Proxy()
public IMapControl2Proxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMapControl2Proxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMapControl2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackColor(int backColor) throws java.io.IOException, AutomationException
setBackColor
in interface IMapControl2
backColor
- The backColor (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBackColor() throws java.io.IOException, AutomationException
getBackColor
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int mousePointer) throws java.io.IOException, AutomationException
setMousePointer
in interface IMapControl2
mousePointer
- A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMousePointer() throws java.io.IOException, AutomationException
getMousePointer
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture mouseIcon) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface IMapControl2
mouseIcon
- A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Picture getMouseIcon() throws java.io.IOException, AutomationException
getMouseIcon
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBorderStyle(int borderStyle) throws java.io.IOException, AutomationException
setBorderStyle
in interface IMapControl2
borderStyle
- A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws java.io.IOException, AutomationException
getBorderStyle
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean enabled) throws java.io.IOException, AutomationException
esri_setEnabled
in interface IMapControl2
enabled
- The enabled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws java.io.IOException, AutomationException
esri_isEnabled
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int appearance) throws java.io.IOException, AutomationException
setAppearance
in interface IMapControl2
appearance
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException, AutomationException
getAppearance
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws java.io.IOException, AutomationException
aboutBox
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapByRef(IMap pMap) throws java.io.IOException, AutomationException
setMapByRef
in interface IMapControl2
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap() throws java.io.IOException, AutomationException
getMap
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws java.io.IOException, AutomationException
getActiveView
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerCount() throws java.io.IOException, AutomationException
getLayerCount
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int index) throws java.io.IOException, AutomationException
getLayer
in interface IMapControl2
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
getExtent
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(IEnvelope extent) throws java.io.IOException, AutomationException
setExtent
in interface IMapControl2
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getFullExtent() throws java.io.IOException, AutomationException
getFullExtent
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFullExtent(IEnvelope fullExtent) throws java.io.IOException, AutomationException
setFullExtent
in interface IMapControl2
fullExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowScrollbars() throws java.io.IOException, AutomationException
isShowScrollbars
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowScrollbars(boolean showScrollbars) throws java.io.IOException, AutomationException
setShowScrollbars
in interface IMapControl2
showScrollbars
- The showScrollbars (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisibleRegion(IGeometry rhs1) throws java.io.IOException, AutomationException
setVisibleRegion
in interface IMapControl2
rhs1
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spRef) throws java.io.IOException, AutomationException
setSpatialReferenceByRef
in interface IMapControl2
spRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getReferenceScale() throws java.io.IOException, AutomationException
getReferenceScale
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReferenceScale(double referenceScale) throws java.io.IOException, AutomationException
setReferenceScale
in interface IMapControl2
referenceScale
- The referenceScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMapScale() throws java.io.IOException, AutomationException
getMapScale
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapScale(double mapScale) throws java.io.IOException, AutomationException
setMapScale
in interface IMapControl2
mapScale
- The mapScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITool getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentToolByRef(ITool pTool) throws java.io.IOException, AutomationException
setCurrentToolByRef
in interface IMapControl2
pTool
- A reference to a com.esri.arcgis.systemUI.ITool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayer(ILayer layer, int toIndex) throws java.io.IOException, AutomationException
addLayer
in interface IMapControl2
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)toIndex
- The toIndex (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayerFromFile(java.lang.String lyrPath, int toIndex) throws java.io.IOException, AutomationException
addLayerFromFile
in interface IMapControl2
lyrPath
- The lyrPath (in)toIndex
- The toIndex (in, optional, pass 0 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearLayers() throws java.io.IOException, AutomationException
clearLayers
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteLayer(int index) throws java.io.IOException, AutomationException
deleteLayer
in interface IMapControl2
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveLayerTo(int fromIndex, int toIndex) throws java.io.IOException, AutomationException
moveLayerTo
in interface IMapControl2
fromIndex
- The fromIndex (in)toIndex
- The toIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadMxFile(java.lang.String mxPath, java.lang.Object mapNameOrIndex, java.lang.Object password) throws java.io.IOException, AutomationException
loadMxFile
in interface IMapControl2
mxPath
- The mxPath (in)mapNameOrIndex
- A Variant (in, optional, pass null if not required)password
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(int phase, java.lang.Object layerOrElement, java.lang.Object envelope) throws java.io.IOException, AutomationException
refresh
in interface IMapControl2
phase
- A com.esri.arcgis.carto.esriViewDrawPhase constant (in, optional, pass 65535 if not required)layerOrElement
- A Variant (in, optional, pass null if not required)envelope
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pan() throws java.io.IOException, AutomationException
pan
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void centerAt(IPoint centerPoint) throws java.io.IOException, AutomationException
centerAt
in interface IMapControl2
centerPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope trackRectangle() throws java.io.IOException, AutomationException
trackRectangle
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry trackPolygon() throws java.io.IOException, AutomationException
trackPolygon
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry trackLine() throws java.io.IOException, AutomationException
trackLine
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry trackCircle() throws java.io.IOException, AutomationException
trackCircle
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawShape(IGeometry shape, java.lang.Object symbol) throws java.io.IOException, AutomationException
drawShape
in interface IMapControl2
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)symbol
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void flashShape(IGeometry pShape, int nFlashes, int flashInterval, java.lang.Object symbol) throws java.io.IOException, AutomationException
flashShape
in interface IMapControl2
pShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)nFlashes
- The nFlashes (in, optional, pass 3 if not required)flashInterval
- The flashInterval (in, optional, pass 300 if not required)symbol
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void fromMapPoint(IPoint pt, int[] x, int[] y) throws java.io.IOException, AutomationException
fromMapPoint
in interface IMapControl2
pt
- A reference to a com.esri.arcgis.geometry.IPoint (in)x
- The x (in/out: use single element array)y
- The y (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint toMapPoint(int x, int y) throws java.io.IOException, AutomationException
toMapPoint
in interface IMapControl2
x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addShapeFile(java.lang.String path, java.lang.String fileName) throws java.io.IOException, AutomationException
addShapeFile
in interface IMapControl2
path
- The path (in)fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawText(IGeometry pGeometry, java.lang.String text, java.lang.Object pSymbol) throws java.io.IOException, AutomationException
drawText
in interface IMapControl2
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)text
- The text (in)pSymbol
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean checkMxFile(java.lang.String fileName) throws java.io.IOException, AutomationException
checkMxFile
in interface IMapControl2
fileName
- The fileName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray readMxMaps(java.lang.String fileName, java.lang.Object password) throws java.io.IOException, AutomationException
readMxMaps
in interface IMapControl2
fileName
- The fileName (in)password
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOleDropEnabled(boolean enabled) throws java.io.IOException, AutomationException
setOleDropEnabled
in interface IMapControl2
enabled
- The enabled (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOleDropEnabled() throws java.io.IOException, AutomationException
isOleDropEnabled
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotation(double rotation) throws java.io.IOException, AutomationException
setRotation
in interface IMapControl2
rotation
- The rotation (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getRotation() throws java.io.IOException, AutomationException
getRotation
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapUnits() throws java.io.IOException, AutomationException
getMapUnits
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapUnits(int units) throws java.io.IOException, AutomationException
setMapUnits
in interface IMapControl2
units
- A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITrackCancel getTrackCancel() throws java.io.IOException, AutomationException
getTrackCancel
in interface IMapControl2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackCancelByRef(ITrackCancel ppTrackCancel) throws java.io.IOException, AutomationException
setTrackCancelByRef
in interface IMapControl2
ppTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (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 |