com.esri.arcgis.controls
Interface ICommandHook

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ICommandHookProxy

public interface ICommandHook
extends java.io.Serializable

COM Interface 'ICommandHook'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description: 'Provides access to members that work with HookHelper. Custom control or application needs to implement ICommandHook to be recognized by HookHelper.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDf04eb71a_f15d_42c9_80cf_6d152d56e220
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IActiveView getActiveView()
          Active view of control or application.
 IOperationStack getOperationStack()
          Operation stack of control or application used for undo/redo operation.
 IPageLayout getPageLayout()
          Page layout of control or application.
 

Field Detail

IIDf04eb71a_f15d_42c9_80cf_6d152d56e220

static final int IIDf04eb71a_f15d_42c9_80cf_6d152d56e220
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getActiveView

IActiveView getActiveView()
                          throws java.io.IOException,
                                 AutomationException
Active view of control or application.

Returns:
A reference to a com.esri.arcgis.carto.IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageLayout

IPageLayout getPageLayout()
                          throws java.io.IOException,
                                 AutomationException
Page layout of control or application. Return NULL if not supporting page layout.

Returns:
A reference to a com.esri.arcgis.carto.IPageLayout
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOperationStack

IOperationStack getOperationStack()
                                  throws java.io.IOException,
                                         AutomationException
Operation stack of control or application used for undo/redo operation. Return NULL if control or application does not have its own operation stack.

Returns:
A reference to a com.esri.arcgis.systemUI.IOperationStack
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.