com.esri.arcgis.controls
Class ICommandPoolEditProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.ICommandPoolEditProxy
All Implemented Interfaces:
ICommandPoolEdit, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'ICommandPoolEdit'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description: 'Provides access to members that control the command pool.' 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 =

public class ICommandPoolEditProxy
extends com.esri.arcgis.interop.Dispatch
implements ICommandPoolEdit, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.controls.ICommandPoolEdit
IID, IIDcbb44409_c9b4_400b_be35_446516674392
 
Constructor Summary
  ICommandPoolEditProxy()
          Deprecated. For internal use only
  ICommandPoolEditProxy(java.lang.Object obj)
          Deprecated.  
protected ICommandPoolEditProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  ICommandPoolEditProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected ICommandPoolEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addCommand(ICommand command, IUID pUID)
          Deprecated. Adds the specified command to the command pool.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 IArray addUID(IUID uID)
          Deprecated. Adds the given UID to the command pool and returns an array of command objects.
 void callOnCreate(ICommand pCommand)
          Deprecated. Calls the specified command OnCreate method if the Hook is set and OnCreate has not already been called.
 java.lang.Object getHook()
          Deprecated. The object that is passed as a hook to the OnCreate method on the command.
 void remove(ICommand command)
          Deprecated. Decrements the usage count of the command.
 void removeAll()
          Deprecated. Removes all commands from the command pool, regardless of each commands usage count.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setHook(java.lang.Object pHook)
          Deprecated. Sets the object that is passed as a hook to the OnCreate method on the command.
 
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
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

ICommandPoolEditProxy

public ICommandPoolEditProxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

ICommandPoolEditProxy

public ICommandPoolEditProxy()
Deprecated. 
For internal use only


ICommandPoolEditProxy

public ICommandPoolEditProxy(java.lang.Object obj)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ICommandPoolEditProxy

protected ICommandPoolEditProxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ICommandPoolEditProxy

protected ICommandPoolEditProxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

addCommand

public void addCommand(ICommand command,
                       IUID pUID)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Adds the specified command to the command pool. If the command already exists its usage count incremented by 1.

Specified by:
addCommand in interface ICommandPoolEdit
Parameters:
command - A reference to a com.esri.arcgis.systemUI.ICommand (in)
pUID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addUID

public IArray addUID(IUID uID)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Adds the given UID to the command pool and returns an array of command objects.

Specified by:
addUID in interface ICommandPoolEdit
Parameters:
uID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(ICommand command)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Decrements the usage count of the command. If this reaches zero the command is removed from the command pool.

Specified by:
remove in interface ICommandPoolEdit
Parameters:
command - A reference to a com.esri.arcgis.systemUI.ICommand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Removes all commands from the command pool, regardless of each commands usage count.

Specified by:
removeAll in interface ICommandPoolEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

callOnCreate

public void callOnCreate(ICommand pCommand)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Calls the specified command OnCreate method if the Hook is set and OnCreate has not already been called.

Specified by:
callOnCreate in interface ICommandPoolEdit
Parameters:
pCommand - A reference to a com.esri.arcgis.systemUI.ICommand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHook

public void setHook(java.lang.Object pHook)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Sets the object that is passed as a hook to the OnCreate method on the command.

Specified by:
setHook in interface ICommandPoolEdit
Parameters:
pHook - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHook

public java.lang.Object getHook()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
The object that is passed as a hook to the OnCreate method on the command.

Specified by:
getHook in interface ICommandPoolEdit
Returns:
A reference to another Automation Object (IDispatch)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.