|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.esri.arcgis.beans.map.MapBean
public class MapBean
The MapBean
is a wrapper class of MapControl
to
facilitate the use of MapControl
at the design time. Users could access
the actual control by getMapControl
method.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
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 | |
---|---|
static java.lang.String |
LAYER_SEPARATER
|
protected MapControl |
m_mapControl
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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.IMapControl3 |
---|
DISPID_41_GET_NAME, DISPID_41_PUT_NAME, DISPID_42_NAME, DISPID_43_GET_NAME, DISPID_43_PUT_NAME, DISPID_44_GET_NAME, DISPID_44_PUT_NAME, DISPID_45_GET_NAME, DISPID_46_GET_NAME, DISPID_46_PUT_NAME, DISPID_47_GET_NAME, DISPID_47_PUT_NAME, DISPID_48_GET_NAME, DISPID_48_PUT_NAME, DISPID_49_GET_NAME, DISPID_49_PUT_NAME, IID, IID62c52249_8a87_4f7b_83f1_829064f5438e, xxDummy |
Fields inherited from interface com.esri.arcgis.controls.IMapControl2 |
---|
IID423dbca0_b7e6_11d5_a9de_00104bb6fc1c |
Fields inherited from interface com.esri.arcgis.controls.ITOCBuddy |
---|
IID, IID5eeb268c_9b77_406d_8fc5_489324d0758b, xxDummy |
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 | |
---|---|
MapBean()
Default constructor. |
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the MapControl. |
void |
addIMapControlEvents2Listener(IMapControlEvents2Adapter theListener)
|
void |
addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
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 |
addShapeFile(java.lang.String path,
java.lang.String name)
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 |
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. |
java.lang.Object |
getBuddyControl()
returns com.esri.arcgis.beans.ui.BuddyControl object. |
void |
getClassID(GUID[] gUIDArray)
getClassID |
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()
|
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. |
MapControl |
getMapControl()
Returns the actual 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 gUID)
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 |
paint(java.awt.Graphics g)
Paints this component in desing tome |
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()
|
void |
removeIMapControlEvents2Listener(IMapControlEvents2Adapter theListener)
|
void |
removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
void |
save(IStream pStm,
int fClearDirty)
save |
void |
setAppearance(int appearance)
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 filename)
The filename of the last map document loaded into the control. |
void |
setDocumentMap(java.lang.String map)
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 key)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLayout(java.awt.LayoutManager layout)
Overrides the setLayout method of super class. |
void |
setMapByRef(IMap rhs1)
The Map contained by the MapControl. |
void |
setMapScale(double s)
Scale of the map as a representative fraction. |
void |
setMapUnits(int i)
The geographical units of the map. |
void |
setMouseIconByRef(Picture picture)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int pointer)
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 d)
Reference scale of the Map as a representative fraction. |
void |
setRotation(double rotate)
Determines how many degrees the map display is rotated. |
void |
setShowMapTips(boolean tips)
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 style)
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 javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected MapControl m_mapControl
public static final java.lang.String LAYER_SEPARATER
Constructor Detail |
---|
public MapBean()
Method Detail |
---|
public MapControl getMapControl()
public java.lang.Object getBuddyControl()
getBuddyControl
in interface BuddyControl
public void setLayout(java.awt.LayoutManager layout)
setLayout
method of super class.
setLayout
in class java.awt.Container
layout
- LayoutManager - a LayoutManager object.public void paint(java.awt.Graphics g)
paint
in class javax.swing.JComponent
g
- the graphics context to use for paintingpublic void addShapeFile(java.lang.String path, java.lang.String name) throws java.io.IOException
addShapeFile
in interface IMapControl2
addShapeFile
in interface IMapControlDefault
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 setDocumentMap(java.lang.String map) throws java.io.IOException
setDocumentMap
in interface IMapControl3
setDocumentMap
in interface IMapControlDefault
rhs1
- 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
getDocumentMap
in interface IMapControl3
getDocumentMap
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRotation(double rotate) throws java.io.IOException
setRotation
in interface IMapControl2
setRotation
in interface IMapControlDefault
rhs1
- 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
getRotation
in interface IMapControl2
getRotation
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapUnits(int i) throws java.io.IOException
setMapUnits
in interface IMapControl2
setMapUnits
in interface IMapControlDefault
rhs1
- 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 int getMapUnits() throws java.io.IOException
getMapUnits
in interface IMapControl2
getMapUnits
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapScale(double s) throws java.io.IOException
setMapScale
in interface IMapControl2
setMapScale
in interface IMapControlDefault
rhs1
- 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
getMapScale
in interface IMapControl2
getMapScale
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReferenceScale(double d) throws java.io.IOException
setReferenceScale
in interface IMapControl2
setReferenceScale
in interface IMapControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getReferenceScale() throws java.io.IOException
getReferenceScale
in interface IMapControl2
getReferenceScale
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException
getAppearance
in interface IMapControl2
getAppearance
in interface IMapControlDefault
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
setAppearance
in interface IMapControl2
setAppearance
in interface IMapControlDefault
rhs1
- 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 getBorderStyle() throws java.io.IOException
getBorderStyle
in interface IMapControl2
getBorderStyle
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBorderStyle(int rhs1) throws java.io.IOException
setBorderStyle
in interface IMapControl2
setBorderStyle
in interface IMapControlDefault
rhs1
- 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 getMousePointer() throws java.io.IOException
getMousePointer
in interface IMapControl2
getMousePointer
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int pointer) throws java.io.IOException
setMousePointer
in interface IMapControl2
setMousePointer
in interface IMapControlDefault
rhs1
- 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 getTipStyle() throws java.io.IOException
getTipStyle
in interface IMapControl3
getTipStyle
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTipStyle(int style) throws java.io.IOException
setTipStyle
in interface IMapControl3
setTipStyle
in interface IMapControlDefault
rhs1
- 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 boolean esri_isEnabled() throws java.io.IOException
esri_isEnabled
in interface IMapControl2
esri_isEnabled
in interface IMapControlDefault
java.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
esri_setEnabled
in interface IMapControl2
esri_setEnabled
in interface IMapControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowScrollbars() throws java.io.IOException
isShowScrollbars
in interface IMapControl2
isShowScrollbars
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowScrollbars(boolean rhs1) throws java.io.IOException
setShowScrollbars
in interface IMapControl2
setShowScrollbars
in interface IMapControlDefault
rhs1
- 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
isOleDropEnabled
in interface IMapControl2
isOleDropEnabled
in interface IMapControlDefault
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
setOleDropEnabled
in interface IMapControl2
setOleDropEnabled
in interface IMapControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowMapTips(boolean tips) throws java.io.IOException
setShowMapTips
in interface IMapControl3
setShowMapTips
in interface IMapControlDefault
rhs1
- 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
isShowMapTips
in interface IMapControl3
isShowMapTips
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getKeyIntercept() throws java.io.IOException
getKeyIntercept
in interface IMapControl3
getKeyIntercept
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeyIntercept(int key) throws java.io.IOException
setKeyIntercept
in interface IMapControl3
setKeyIntercept
in interface IMapControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBackColor() throws java.io.IOException
getBackColor
in interface IMapControl2
getBackColor
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackColor(int rhs1) throws java.io.IOException
setBackColor
in interface IMapControl2
setBackColor
in interface IMapControlDefault
rhs1
- The rhs1 (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDocumentFilename(java.lang.String filename) throws java.io.IOException
setDocumentFilename
in interface IMapControl3
setDocumentFilename
in interface IMapControlDefault
rhs1
- The rhs1 (in)
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
getDocumentFilename
in interface IMapControl3
getDocumentFilename
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addIMapControlEvents2Listener(IMapControlEvents2Adapter theListener) throws java.io.IOException
java.io.IOException
public void removeIMapControlEvents2Listener(IMapControlEvents2Adapter theListener) throws java.io.IOException
java.io.IOException
public void addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener) throws java.io.IOException
java.io.IOException
public void removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener) throws java.io.IOException
java.io.IOException
public void setMapByRef(IMap rhs1) throws java.io.IOException, AutomationException
setMapByRef
in interface IMapControl2
setMapByRef
in interface IMapControlDefault
rhs1
- 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 IMxdContents
getMap
in interface IMapControl2
getMap
in interface IMapControlDefault
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 IMxdContents
getActiveView
in interface IMapControl2
getActiveView
in interface IMapControlDefault
getActiveView
in interface ITOCBuddy
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
getLayerCount
in interface IMapControlDefault
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
getLayer
in interface IMapControlDefault
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
getExtent
in interface IMapControlDefault
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 IMapControl3
getObject
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IMapControl2
getHWnd
in interface IMapControlDefault
java.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 IMapControl2
setExtent
in interface IMapControlDefault
rhs1
- 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
getFullExtent
in interface IMapControlDefault
java.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 IMapControl2
setFullExtent
in interface IMapControlDefault
rhs1
- 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 void setVisibleRegion(IGeometry rhs1) throws java.io.IOException, AutomationException
setVisibleRegion
in interface IMapControl2
setVisibleRegion
in interface IMapControlDefault
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
getSpatialReference
in interface IMapControlDefault
java.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 IMapControl2
setSpatialReferenceByRef
in interface IMapControlDefault
rhs1
- 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 ITool getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IMapControl2
getCurrentTool
in interface IMapControlDefault
getCurrentTool
in interface IToolbarBuddy
java.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 IMapControl2
setCurrentToolByRef
in interface IMapControlDefault
setCurrentToolByRef
in interface IToolbarBuddy
rhs1
- 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
addLayer
in interface IMapControlDefault
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
addLayerFromFile
in interface IMapControlDefault
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
clearLayers
in interface IMapControlDefault
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
deleteLayer
in interface IMapControlDefault
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
moveLayerTo
in interface IMapControlDefault
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
loadMxFile
in interface IMapControlDefault
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
refresh
in interface IMapControlDefault
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
pan
in interface IMapControlDefault
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
centerAt
in interface IMapControlDefault
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
trackRectangle
in interface IMapControlDefault
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
trackPolygon
in interface IMapControlDefault
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
trackLine
in interface IMapControlDefault
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
trackCircle
in interface IMapControlDefault
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
drawShape
in interface IMapControlDefault
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
flashShape
in interface IMapControlDefault
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
fromMapPoint
in interface IMapControlDefault
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
toMapPoint
in interface IMapControlDefault
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 drawText(IGeometry pGeometry, java.lang.String text, java.lang.Object pSymbol) throws java.io.IOException, AutomationException
drawText
in interface IMapControl2
drawText
in interface IMapControlDefault
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
checkMxFile
in interface IMapControlDefault
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
readMxMaps
in interface IMapControlDefault
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 ITrackCancel getTrackCancel() throws java.io.IOException, AutomationException
getTrackCancel
in interface IMapControl2
getTrackCancel
in interface IMapControlDefault
java.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 IMapControl2
setTrackCancelByRef
in interface IMapControlDefault
rhs1
- 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 IMapControl3
getCustomProperty
in interface IMapControlDefault
java.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 IMapControl3
setCustomProperty
in interface IMapControlDefault
rhs1
- 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 IMapControl3
suppressResizeDrawing
in interface IMapControlDefault
suppressResize
- 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 void setTipDelay(int rhs1) throws java.io.IOException, AutomationException
setTipDelay
in interface IMapControl3
setTipDelay
in interface IMapControlDefault
rhs1
- 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 IMapControl3
getTipDelay
in interface IMapControlDefault
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 ITOCBuddy
pBasicMap
- 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 IMxdContents
java.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 IConnectionPointContainer
ppEnum
- 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 IConnectionPointContainer
riid
- 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 IPersistStreamInit
java.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 IPersistStreamInit
pStm
- 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 IPersistStreamInit
pStm
- 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 IPersistStreamInit
pCbSize
- 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 IPersistStreamInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture picture) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface IMapControl2
setMouseIconByRef
in interface IMapControlDefault
rhs1
- 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
getMouseIcon
in interface IMapControlDefault
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
aboutBox
in interface IMapControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void getClassID(GUID[] gUIDArray) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- 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 gUID) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- 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.public boolean isAutoMouseWheel() throws java.io.IOException, AutomationException
isAutoMouseWheel
in interface IMapControlDefault
java.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 IMapControlDefault
rhs1
- 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 IMapControlDefault
java.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 IMapControlDefault
rhs1
- The rhs1 (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 |