|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPageLayoutControl3
Provides access to members that control the PageLayoutControl.
The IPageLayoutControl3 interface provides additional members for tasks related to navigating the display of the PageLayoutControl 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.IPageLayoutControl2 |
---|
getCustomProperty, getDocumentFilename, getKeyIntercept, getObject, setCustomProperty, setDocumentFilename, setKeyIntercept, 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 PageLayoutControl will not by default receive the 'Arrow' keys to pan the display. To ensure 'Arrow' keys are received by the PageLayoutControl 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 |