|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.controls.IMapControl2Proxy com.esri.arcgis.controls.IMapControl3Proxy com.esri.arcgis.controls.IMapControl4Proxy
public class IMapControl4Proxy
Provides access to members that control the MapControl.
The IMapControl4 interface provides additional members for tasks related to navigating the display of the MapControl using the keyboard and mouse.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IMapControl4Proxy()
|
|
IMapControl4Proxy(Object obj)
|
protected |
IMapControl4Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
isAutoKeyboardScrolling()
Indicates whether keyboard scrolling is enabled. |
boolean |
isAutoMouseWheel()
Indicates whether the mouse wheel is enabled. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAutoKeyboardScrolling(boolean enabled)
Indicates whether keyboard scrolling is enabled. |
void |
setAutoMouseWheel(boolean enabled)
Indicates whether the mouse wheel is enabled. |
Methods inherited from class com.esri.arcgis.controls.IMapControl3Proxy |
---|
getCustomProperty, getDocumentFilename, getDocumentMap, getKeyIntercept, getObject, getTipDelay, getTipStyle, isShowMapTips, setCustomProperty, setDocumentFilename, setDocumentMap, setKeyIntercept, setShowMapTips, setTipDelay, setTipStyle, suppressResizeDrawing |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.controls.IMapControl3 |
---|
getCustomProperty, getDocumentFilename, getDocumentMap, getKeyIntercept, getObject, getTipDelay, getTipStyle, isShowMapTips, setCustomProperty, setDocumentFilename, setDocumentMap, setKeyIntercept, setShowMapTips, setTipDelay, setTipStyle, suppressResizeDrawing |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IMapControl4Proxy()
public IMapControl4Proxy(Object obj) throws IOException
IOException
protected IMapControl4Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IMapControl3Proxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IMapControl3Proxy
IOException
public boolean isAutoMouseWheel() throws IOException, AutomationException
Determines whether the mouse wheel can be used to zoom in and zoom out of the control's display. This property is true by default.
isAutoMouseWheel
in interface IMapControl4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoMouseWheel(boolean enabled) throws IOException, AutomationException
setAutoMouseWheel
in interface IMapControl4
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAutoKeyboardScrolling() throws IOException, AutomationException
Determines whether the 'Home' (keyCode 36), 'End' (keyCode 35), 'Page Down' (keyCode 34), 'PageUp' (keyCode 33) and 'Arrow' (keyCode 37-40) keys on the keyboard can be used to pan around the control's display. This property is true by default.
Most development environments use the 'Arrow' keys to switch focus between the controls embedded in a form or container. In such environments the MapControl will not by default receive the 'Arrow' keys to pan the display. To ensure 'Arrow' keys are received by the MapControl the KeyIntercept property must be set to intercept the 'Arrow' keys in order to pan the display when AutoKeyboardScrolling is true.
isAutoKeyboardScrolling
in interface IMapControl4
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoKeyboardScrolling(boolean enabled) throws IOException, AutomationException
setAutoKeyboardScrolling
in interface IMapControl4
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |