|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Canvas
com.esri.arcgis.interop.Ocx
com.esri.arcgis.controls.MapControl
public class MapControl
COM Class 'MapControl'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'Esri 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 =
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Canvas |
|---|
java.awt.Canvas.AccessibleAWTCanvas |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Ocx |
|---|
rootParentContainers, rootWindows |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.esri.arcgis.controls.ITOCBuddy |
|---|
IID, IID5eeb268c_9b77_406d_8fc5_489324d0758b, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.IMapControl4 |
|---|
DISPID_50_GET_NAME, DISPID_50_PUT_NAME, DISPID_51_GET_NAME, DISPID_51_PUT_NAME, IID, IID49f7f61a_4c0b_44db_b0be_8dac2562a935, xxDummy |
| Fields inherited from interface com.esri.arcgis.controls.IMapControl3 |
|---|
IID62c52249_8a87_4f7b_83f1_829064f5438e |
| Fields inherited from interface com.esri.arcgis.controls.IMapControl2 |
|---|
IID423dbca0_b7e6_11d5_a9de_00104bb6fc1c |
| Fields inherited from interface com.esri.arcgis.controls.IToolbarBuddy |
|---|
IID, IIDd00f1736_7a95_4f5e_b54f_e2863c425dc3, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IMxdContents |
|---|
IID, IIDbe202904_9c7f_4d51_80b2_dbc960224e7f, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
|---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IPersistStreamInit |
|---|
IID, IID7fd52380_4e07_101b_ae2d_08002b2ec713, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MapControl()
Constructs a MapControl using ArcGIS Engine. |
|
MapControl(java.lang.Object o)
Constructs a MapControl. |
|
| Method Summary | |
|---|---|
void |
aboutBox()
Displays a dialog of information about the MapControl. |
void |
addIMapControlEvents2Listener(IMapControlEvents2 theListener)
addIMapControlEvents2Listener. |
void |
addITOCBuddyEventsListener(ITOCBuddyEvents theListener)
addITOCBuddyEventsListener. |
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 |
addNotify()
|
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. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
boolean |
esri_isEnabled()
Indicates whether the MapControl can respond to user generated events. |
void |
esri_setEnabled(boolean rhs1)
Indicates whether the MapControl can respond to user generated events. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
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. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
ITool |
getCurrentTool()
Current active tool for the MapControl. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
java.lang.String |
getDocumentFilename()
The filename of the last map document loaded into the control. |
java.lang.String |
getDocumentMap()
The name of the map that was last loaded into the control from a map document. |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
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. |
java.lang.Object |
getObject()
A property that returns the underlying control. |
IPageLayout |
getPageLayout()
The PageLayout object. |
double |
getReferenceScale()
Reference scale of the Map as a representative fraction. |
double |
getRotation()
Determines how many degrees the map display is rotated. |
double |
getScale(IBasicMap pBasicMap)
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap. |
void |
getSizeMax(_ULARGE_INTEGER[] pCbSize)
getSizeMax |
ISpatialReference |
getSpatialReference()
Spatial reference of the Map. |
int |
getTipDelay()
The delay before map tips are shown. |
int |
getTipStyle()
The style of map tips. |
ITrackCancel |
getTrackCancel()
The object used by the MapControl to check if drawing has been aborted. |
void |
initNew()
initNew |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAutoKeyboardScrolling()
Indicates whether keyboard scrolling is enabled. |
boolean |
isAutoMouseWheel()
Indicates whether the mouse wheel is enabled. |
void |
isDirty()
isDirty |
boolean |
isOleDropEnabled()
Indicates if the MapControl will fire events when data is dragged over the control's window. |
boolean |
isShowMapTips()
Indicates if map tips are shown. |
boolean |
isShowScrollbars()
Indicates whether or not the Map's scrollbars are visible. |
void |
load(IStream pStm)
load |
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 |
release()
Release a MapControl. |
void |
removeIMapControlEvents2Listener(IMapControlEvents2 theListener)
removeIMapControlEvents2Listener. |
void |
removeITOCBuddyEventsListener(ITOCBuddyEvents theListener)
removeITOCBuddyEventsListener. |
void |
save(IStream pStm,
int fClearDirty)
save |
void |
setAppearance(int rhs1)
The appearance of the MapControl. |
void |
setAutoKeyboardScrolling(boolean rhs1)
Indicates whether keyboard scrolling is enabled. |
void |
setAutoMouseWheel(boolean rhs1)
Indicates whether the mouse wheel is enabled. |
void |
setBackColor(int rhs1)
Background color of the MapControl. |
void |
setBorderStyle(int rhs1)
The border style of the MapControl. |
void |
setCurrentToolByRef(ITool rhs1)
Current active tool for the MapControl. |
void |
setCustomProperty(java.lang.Object rhs1)
A property to associate data with a control. |
void |
setDocumentFilename(java.lang.String rhs1)
The filename of the last map document loaded into the control. |
void |
setDocumentMap(java.lang.String rhs1)
The name of the map that was last loaded into the control from a map document. |
void |
setExtent(IEnvelope rhs1)
Current extent of the Map in map units. |
void |
setFullExtent(IEnvelope rhs1)
Rectangular shape that encloses all features of all layers in the Map. |
void |
setKeyIntercept(int rhs1)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setMapByRef(IMap rhs1)
The Map contained by the MapControl. |
void |
setMapScale(double rhs1)
Scale of the map as a representative fraction. |
void |
setMapUnits(int rhs1)
The geographical units of the map. |
void |
setMouseIconByRef(Picture rhs1)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int rhs1)
The mouse pointer displayed over the MapControl. |
void |
setOleDropEnabled(boolean rhs1)
Indicates if the MapControl will fire events when data is dragged over the control's window. |
void |
setReferenceScale(double rhs1)
Reference scale of the Map as a representative fraction. |
void |
setRotation(double rhs1)
Determines how many degrees the map display is rotated. |
void |
setShowMapTips(boolean rhs1)
Indicates if map tips are shown. |
void |
setShowScrollbars(boolean rhs1)
Indicates whether or not the Map's scrollbars are visible. |
void |
setSpatialReferenceByRef(ISpatialReference rhs1)
Spatial reference of the Map. |
void |
setTipDelay(int rhs1)
The delay before map tips are shown. |
void |
setTipStyle(int rhs1)
The style of map tips. |
void |
setTrackCancelByRef(ITrackCancel rhs1)
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. |
void |
suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
Suppress full redraw of control during resize operations. |
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.Ocx |
|---|
checkIfVisible, dispose, finalize, getCanvasWindowHandle, getControlWindowHandle, getMinimumSize, getObjRef, getPreferredSize, paint, removeNotify, setBounds, setBounds, setSize, setSize, zz_doQueuedSets, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet |
| Methods inherited from class java.awt.Canvas |
|---|
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapControl()
public MapControl(java.lang.Object o)
| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef
public void addIMapControlEvents2Listener(IMapControlEvents2 theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.controls.IMapControlEvents2 interface.
java.io.IOException - If there are communications problems.
public void removeIMapControlEvents2Listener(IMapControlEvents2 theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.controls.IMapControlEvents2 interface.
java.io.IOException - If there are communications problems.
public void addITOCBuddyEventsListener(ITOCBuddyEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.controls.ITOCBuddyEvents interface.
java.io.IOException - If there are communications problems.
public void removeITOCBuddyEventsListener(ITOCBuddyEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.controls.ITOCBuddyEvents interface.
java.io.IOException - If there are communications problems.public void addNotify()
addNotify in class com.esri.arcgis.interop.Ocxpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public int getHWnd()
throws java.io.IOException,
AutomationException
getHWnd in interface IMapControl2getHWnd in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackColor(int rhs1)
throws java.io.IOException,
AutomationException
setBackColor in interface IMapControl2setBackColor in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2getBackColor in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMousePointer(int rhs1)
throws java.io.IOException,
AutomationException
setMousePointer in interface IMapControl2setMousePointer in interface IMapControlDefaultrhs1 - 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 IMapControl2getMousePointer in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMouseIconByRef(Picture rhs1)
throws java.io.IOException,
AutomationException
setMouseIconByRef in interface IMapControl2setMouseIconByRef in interface IMapControlDefaultrhs1 - 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 IMapControl2getMouseIcon in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBorderStyle(int rhs1)
throws java.io.IOException,
AutomationException
setBorderStyle in interface IMapControl2setBorderStyle in interface IMapControlDefaultrhs1 - 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 IMapControl2getBorderStyle in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void esri_setEnabled(boolean rhs1)
throws java.io.IOException,
AutomationException
esri_setEnabled in interface IMapControl2esri_setEnabled in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2esri_isEnabled in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAppearance(int rhs1)
throws java.io.IOException,
AutomationException
setAppearance in interface IMapControl2setAppearance in interface IMapControlDefaultrhs1 - 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 IMapControl2getAppearance in interface IMapControlDefaultjava.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 IMapControl2aboutBox in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapByRef(IMap rhs1)
throws java.io.IOException,
AutomationException
setMapByRef in interface IMapControl2setMapByRef in interface IMapControlDefaultrhs1 - 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 IMxdContentsgetMap in interface IMapControl2getMap in interface IMapControlDefaultjava.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 IMxdContentsgetActiveView in interface IMapControl2getActiveView in interface IMapControlDefaultgetActiveView in interface ITOCBuddyjava.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 IMapControl2getLayerCount in interface IMapControlDefaultjava.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 IMapControl2getLayer in interface IMapControlDefaultindex - 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 IMapControl2getExtent in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope rhs1)
throws java.io.IOException,
AutomationException
setExtent in interface IMapControl2setExtent in interface IMapControlDefaultrhs1 - 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 IMapControl2getFullExtent in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFullExtent(IEnvelope rhs1)
throws java.io.IOException,
AutomationException
setFullExtent in interface IMapControl2setFullExtent in interface IMapControlDefaultrhs1 - 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 IMapControl2isShowScrollbars in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowScrollbars(boolean rhs1)
throws java.io.IOException,
AutomationException
setShowScrollbars in interface IMapControl2setShowScrollbars in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2setVisibleRegion in interface IMapControlDefaultrhs1 - 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 IMapControl2getSpatialReference in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference rhs1)
throws java.io.IOException,
AutomationException
setSpatialReferenceByRef in interface IMapControl2setSpatialReferenceByRef in interface IMapControlDefaultrhs1 - 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 IMapControl2getReferenceScale in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double rhs1)
throws java.io.IOException,
AutomationException
setReferenceScale in interface IMapControl2setReferenceScale in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2getMapScale in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapScale(double rhs1)
throws java.io.IOException,
AutomationException
setMapScale in interface IMapControl2setMapScale in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2getCurrentTool in interface IMapControlDefaultgetCurrentTool in interface IToolbarBuddyjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentToolByRef(ITool rhs1)
throws java.io.IOException,
AutomationException
setCurrentToolByRef in interface IMapControl2setCurrentToolByRef in interface IMapControlDefaultsetCurrentToolByRef in interface IToolbarBuddyrhs1 - 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 IMapControl2addLayer in interface IMapControlDefaultlayer - 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 IMapControl2addLayerFromFile in interface IMapControlDefaultlyrPath - 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 IMapControl2clearLayers in interface IMapControlDefaultjava.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 IMapControl2deleteLayer in interface IMapControlDefaultindex - 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 IMapControl2moveLayerTo in interface IMapControlDefaultfromIndex - 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 IMapControl2loadMxFile in interface IMapControlDefaultmxPath - 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 IMapControl2refresh in interface IMapControlDefaultphase - 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 IMapControl2pan in interface IMapControlDefaultjava.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 IMapControl2centerAt in interface IMapControlDefaultcenterPoint - 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 IMapControl2trackRectangle in interface IMapControlDefaultjava.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 IMapControl2trackPolygon in interface IMapControlDefaultjava.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 IMapControl2trackLine in interface IMapControlDefaultjava.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 IMapControl2trackCircle in interface IMapControlDefaultjava.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 IMapControl2drawShape in interface IMapControlDefaultshape - 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 IMapControl2flashShape in interface IMapControlDefaultpShape - 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 IMapControl2fromMapPoint in interface IMapControlDefaultpt - 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 IMapControl2toMapPoint in interface IMapControlDefaultx - 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 IMapControl2addShapeFile in interface IMapControlDefaultpath - 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 IMapControl2drawText in interface IMapControlDefaultpGeometry - 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 IMapControl2checkMxFile in interface IMapControlDefaultfileName - 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 IMapControl2readMxMaps in interface IMapControlDefaultfileName - 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 rhs1)
throws java.io.IOException,
AutomationException
setOleDropEnabled in interface IMapControl2setOleDropEnabled in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2isOleDropEnabled in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotation(double rhs1)
throws java.io.IOException,
AutomationException
setRotation in interface IMapControl2setRotation in interface IMapControlDefaultrhs1 - The rhs1 (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 IMapControl2getRotation in interface IMapControlDefaultjava.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 IMapControl2getMapUnits in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapUnits(int rhs1)
throws java.io.IOException,
AutomationException
setMapUnits in interface IMapControl2setMapUnits in interface IMapControlDefaultrhs1 - 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 IMapControl2getTrackCancel in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTrackCancelByRef(ITrackCancel rhs1)
throws java.io.IOException,
AutomationException
setTrackCancelByRef in interface IMapControl2setTrackCancelByRef in interface IMapControlDefaultrhs1 - 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.
public java.lang.Object getCustomProperty()
throws java.io.IOException,
AutomationException
getCustomProperty in interface IMapControl3getCustomProperty in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(java.lang.Object rhs1)
throws java.io.IOException,
AutomationException
setCustomProperty in interface IMapControl3setCustomProperty in interface IMapControlDefaultrhs1 - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void suppressResizeDrawing(boolean suppressResize,
int resizeHWnd)
throws java.io.IOException,
AutomationException
suppressResizeDrawing in interface IMapControl3suppressResizeDrawing in interface IMapControlDefaultsuppressResize - The suppressResize (in)resizeHWnd - The resizeHWnd (in, optional, pass 0 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDocumentFilename()
throws java.io.IOException,
AutomationException
getDocumentFilename in interface IMapControl3getDocumentFilename in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDocumentFilename(java.lang.String rhs1)
throws java.io.IOException,
AutomationException
setDocumentFilename in interface IMapControl3setDocumentFilename in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDocumentMap()
throws java.io.IOException,
AutomationException
getDocumentMap in interface IMapControl3getDocumentMap in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDocumentMap(java.lang.String rhs1)
throws java.io.IOException,
AutomationException
setDocumentMap in interface IMapControl3setDocumentMap in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getObject()
throws java.io.IOException,
AutomationException
getObject in interface IMapControl3getObject in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowMapTips(boolean rhs1)
throws java.io.IOException,
AutomationException
setShowMapTips in interface IMapControl3setShowMapTips in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowMapTips()
throws java.io.IOException,
AutomationException
isShowMapTips in interface IMapControl3isShowMapTips in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTipStyle(int rhs1)
throws java.io.IOException,
AutomationException
setTipStyle in interface IMapControl3setTipStyle in interface IMapControlDefaultrhs1 - A com.esri.arcgis.systemUI.esriTipStyle constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTipStyle()
throws java.io.IOException,
AutomationException
getTipStyle in interface IMapControl3getTipStyle in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTipDelay(int rhs1)
throws java.io.IOException,
AutomationException
setTipDelay in interface IMapControl3setTipDelay in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTipDelay()
throws java.io.IOException,
AutomationException
getTipDelay in interface IMapControl3getTipDelay in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getKeyIntercept()
throws java.io.IOException,
AutomationException
getKeyIntercept in interface IMapControl3getKeyIntercept in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKeyIntercept(int rhs1)
throws java.io.IOException,
AutomationException
setKeyIntercept in interface IMapControl3setKeyIntercept in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoMouseWheel()
throws java.io.IOException,
AutomationException
isAutoMouseWheel in interface IMapControl4isAutoMouseWheel in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoMouseWheel(boolean rhs1)
throws java.io.IOException,
AutomationException
setAutoMouseWheel in interface IMapControl4setAutoMouseWheel in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoKeyboardScrolling()
throws java.io.IOException,
AutomationException
isAutoKeyboardScrolling in interface IMapControl4isAutoKeyboardScrolling in interface IMapControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoKeyboardScrolling(boolean rhs1)
throws java.io.IOException,
AutomationException
setAutoKeyboardScrolling in interface IMapControl4setAutoKeyboardScrolling in interface IMapControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getScale(IBasicMap pBasicMap)
throws java.io.IOException,
AutomationException
getScale in interface ITOCBuddypBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPageLayout getPageLayout()
throws java.io.IOException,
AutomationException
getPageLayout in interface IMxdContentsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws java.io.IOException,
AutomationException
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws java.io.IOException,
AutomationException
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pStm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pStm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pCbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreamInitpCbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initNew()
throws java.io.IOException,
AutomationException
initNew in interface IPersistStreamInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 | ||||||||