|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapControl4
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.
Method Summary | |
---|---|
boolean |
isAutoKeyboardScrolling()
Indicates whether keyboard scrolling is enabled. |
boolean |
isAutoMouseWheel()
Indicates whether the mouse wheel is enabled. |
void |
setAutoKeyboardScrolling(boolean enabled)
Indicates whether keyboard scrolling is enabled. |
void |
setAutoMouseWheel(boolean enabled)
Indicates whether the mouse wheel is enabled. |
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 |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoMouseWheel(boolean enabled) throws IOException, AutomationException
enabled
- The enabled (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAutoKeyboardScrolling(boolean enabled) throws IOException, AutomationException
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 |