|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.HookHelper
public class HookHelper
COM Class 'HookHelper'. Generated 3/19/2015 1:20:48 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'Helps commands work with the MapControl, PageLayoutControl, ArcMap, custom controls and applications.' 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 |
---|
Fields inherited from interface com.esri.arcgis.controls.IHookHelper |
---|
IID, IID128903ab_6017_47fd_81be_0109f61e9c09, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.controls.IHookActions |
---|
IID, IIDc81e082f_eaf8_4fd5_b309_00f75780f8ad, xxDummy |
Constructor Summary | |
---|---|
HookHelper()
Constructs a HookHelper using ArcGIS Engine. |
|
HookHelper(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. HookHelper theHookHelper = (HookHelper) obj; |
Method Summary | |
---|---|
void |
addIHookHelperEventsListener(IHookHelperEvents theListener)
addIHookHelperEventsListener. |
void |
doAction(java.lang.Object pUnknown,
int action)
Perform the action on the object. |
void |
doActionOnMultiple(IArray pArray,
int action)
Perform the action on the array of objects. |
void |
doActionWithName(java.lang.Object pUnknown,
java.lang.String name,
int action)
Perform the action on the object using the name. |
void |
doActionWithNameOnMultiple(IArray pArray,
IStringArray pNamesArray,
int action)
Perform the action on the array of objects using the array of names. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IActiveView |
getActiveView()
Active view of hooked control or application. |
static java.lang.String |
getClsid()
getClsid. |
IMap |
getFocusMap()
Focus map of hooked control or application. |
java.lang.Object |
getHook()
Hook object that should be the same as the hook object passed in ICommand::OnCreate. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IOperationStack |
getOperationStack()
Operation stack of hooked control or application used for undo/redo operations. |
IPageLayout |
getPageLayout()
Page layout of hooked control or application. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isActionSupported(java.lang.Object pUnknown,
int action)
Indicates whether the specified action can be performed on the object. |
boolean |
isActionSupportedOnMultiple(IArray pArray,
int action)
Indicates whether the specified action can be performed on the array of objects. |
void |
release()
Release a HookHelper. |
void |
removeIHookHelperEventsListener(IHookHelperEvents theListener)
removeIHookHelperEventsListener. |
void |
setHookByRef(java.lang.Object ppHook)
Hook object that should be the same as the hook object passed in ICommand::OnCreate. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HookHelper() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic HookHelper(java.lang.Object obj) throws java.io.IOException
HookHelper theHookHelper = (HookHelper) obj;
obj
to HookHelper
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIHookHelperEventsListener(IHookHelperEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IHookHelperEvents interface.
java.io.IOException
- If there are communications problems.public void removeIHookHelperEventsListener(IHookHelperEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IHookHelperEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setHookByRef(java.lang.Object ppHook) throws java.io.IOException, AutomationException
setHookByRef
in interface IHookHelper
ppHook
- A reference to another Automation Object (IDispatch) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getHook() throws java.io.IOException, AutomationException
getHook
in interface IHookHelper
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 IHookHelper
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 IHookHelper
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getFocusMap() throws java.io.IOException, AutomationException
getFocusMap
in interface IHookHelper
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws java.io.IOException, AutomationException
getOperationStack
in interface IHookHelper
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 interfaceSupportsErrorInfo(GUID riid) 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 isActionSupported(java.lang.Object pUnknown, int action) throws java.io.IOException, AutomationException
isActionSupported
in interface IHookActions
pUnknown
- A reference to another Object (IUnknown) (in)action
- A com.esri.arcgis.controls.esriHookActions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isActionSupportedOnMultiple(IArray pArray, int action) throws java.io.IOException, AutomationException
isActionSupportedOnMultiple
in interface IHookActions
pArray
- A reference to a com.esri.arcgis.system.IArray (in)action
- A com.esri.arcgis.controls.esriHookActions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void doAction(java.lang.Object pUnknown, int action) throws java.io.IOException, AutomationException
doAction
in interface IHookActions
pUnknown
- A reference to another Object (IUnknown) (in)action
- A com.esri.arcgis.controls.esriHookActions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void doActionWithName(java.lang.Object pUnknown, java.lang.String name, int action) throws java.io.IOException, AutomationException
doActionWithName
in interface IHookActions
pUnknown
- A reference to another Object (IUnknown) (in)name
- The name (in)action
- A com.esri.arcgis.controls.esriHookActions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void doActionOnMultiple(IArray pArray, int action) throws java.io.IOException, AutomationException
doActionOnMultiple
in interface IHookActions
pArray
- A reference to a com.esri.arcgis.system.IArray (in)action
- A com.esri.arcgis.controls.esriHookActions constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void doActionWithNameOnMultiple(IArray pArray, IStringArray pNamesArray, int action) throws java.io.IOException, AutomationException
doActionWithNameOnMultiple
in interface IHookActions
pArray
- A reference to a com.esri.arcgis.system.IArray (in)pNamesArray
- A reference to a com.esri.arcgis.system.IStringArray (in)action
- A com.esri.arcgis.controls.esriHookActions constant (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 |