com.esri.arcgis.geoprocessing
Class IGPToolbox2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGPToolbox2Proxy
All Implemented Interfaces:
IGPToolbox2, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IGPToolbox3Proxy

public class IGPToolbox2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IGPToolbox2, java.io.Serializable

Internal use class Proxy for COM Interface 'IGPToolbox2'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to methods on the toolbox object.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.geoprocessing.IGPToolbox2
IID, IID2feacd0b_9351_4c88_b424_c39f1dbf3230
 
Constructor Summary
  IGPToolbox2Proxy()
          For internal use only
  IGPToolbox2Proxy(java.lang.Object obj)
           
protected IGPToolbox2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IGPToolbox2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGPToolbox2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void alterAlias(java.lang.String newAlias)
          Alters the alias of the toolbox.
 void alterDisplayName(java.lang.String newDisplayName)
          Modifies the display name property of the toolbox.
 void alterHelpInfo(java.lang.String file, int context)
          Sets the help (CHM) file and help context identifier containing help for this toolbox.
 boolean canAlterDisplayName()
          Returns whether or not the display name property can be modified.
 boolean canCreateTool()
          Returns whether or not a new tool can be created in the toolbox.
 IGPTool createTool(int type, java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String toolCategory, IGPToolExtension toolExtension)
          Creates a new tool in the toolbox.
 java.lang.String getAlias()
          The alias of the toolbox.
 java.lang.String getDisplayName()
          The display name of the toolbox.
 int getHelpContext()
          The context identifier of the topic within the help file for this toolbox.
 java.lang.String getHelpFile()
          Name of the (CHM) file containing help information for this toolbox.
 java.lang.String getPathName()
          The path name of the toolbox.
 IEnumGPToolName getToolNames()
          An enumeration of all the geoprocessing tool name objects contained within the toolbox.
 IEnumGPTool getTools()
          An enumeration of all the geoprocessing tools contained within the toolbox.
 boolean isDeleted()
          Indicates if the toolbox has been deleted.
 IGPTool openTool(java.lang.String name)
          Returns a specific tool (by name) within the toolbox.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IGPToolbox2Proxy

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

IGPToolbox2Proxy

public IGPToolbox2Proxy()
For internal use only


IGPToolbox2Proxy

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

IGPToolbox2Proxy

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

IGPToolbox2Proxy

protected IGPToolbox2Proxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
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
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
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getPathName

public java.lang.String getPathName()
                             throws java.io.IOException,
                                    AutomationException
The path name of the toolbox.

Specified by:
getPathName in interface IGPToolbox2
Returns:
The path
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAlias

public java.lang.String getAlias()
                          throws java.io.IOException,
                                 AutomationException
The alias of the toolbox.

Specified by:
getAlias in interface IGPToolbox2
Returns:
The alias
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToolNames

public IEnumGPToolName getToolNames()
                             throws java.io.IOException,
                                    AutomationException
An enumeration of all the geoprocessing tool name objects contained within the toolbox.

Specified by:
getToolNames in interface IGPToolbox2
Returns:
A reference to a com.esri.arcgis.geoprocessing.IEnumGPToolName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTools

public IEnumGPTool getTools()
                     throws java.io.IOException,
                            AutomationException
An enumeration of all the geoprocessing tools contained within the toolbox.

Specified by:
getTools in interface IGPToolbox2
Returns:
A reference to a com.esri.arcgis.geoprocessing.IEnumGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openTool

public IGPTool openTool(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Returns a specific tool (by name) within the toolbox.

Specified by:
openTool in interface IGPToolbox2
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDeleted

public boolean isDeleted()
                  throws java.io.IOException,
                         AutomationException
Indicates if the toolbox has been deleted.

Specified by:
isDeleted in interface IGPToolbox2
Returns:
The deleted
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCreateTool

public boolean canCreateTool()
                      throws java.io.IOException,
                             AutomationException
Returns whether or not a new tool can be created in the toolbox.

Specified by:
canCreateTool in interface IGPToolbox2
Returns:
The canCreateTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createTool

public IGPTool createTool(int type,
                          java.lang.String name,
                          java.lang.String displayName,
                          java.lang.String description,
                          java.lang.String toolCategory,
                          IGPToolExtension toolExtension)
                   throws java.io.IOException,
                          AutomationException
Creates a new tool in the toolbox.

Specified by:
createTool in interface IGPToolbox2
Parameters:
type - A com.esri.arcgis.geoprocessing.esriGPToolType constant (in)
name - The name (in)
displayName - The displayName (in)
description - The description (in)
toolCategory - The toolCategory (in)
toolExtension - A reference to a com.esri.arcgis.geoprocessing.IGPToolExtension (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterAlias

public void alterAlias(java.lang.String newAlias)
                throws java.io.IOException,
                       AutomationException
Alters the alias of the toolbox.

Specified by:
alterAlias in interface IGPToolbox2
Parameters:
newAlias - The newAlias (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpFile

public java.lang.String getHelpFile()
                             throws java.io.IOException,
                                    AutomationException
Name of the (CHM) file containing help information for this toolbox.

Specified by:
getHelpFile in interface IGPToolbox2
Returns:
The file
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHelpContext

public int getHelpContext()
                   throws java.io.IOException,
                          AutomationException
The context identifier of the topic within the help file for this toolbox.

Specified by:
getHelpContext in interface IGPToolbox2
Returns:
The context
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterHelpInfo

public void alterHelpInfo(java.lang.String file,
                          int context)
                   throws java.io.IOException,
                          AutomationException
Sets the help (CHM) file and help context identifier containing help for this toolbox.

Specified by:
alterHelpInfo in interface IGPToolbox2
Parameters:
file - The file (in)
context - The context (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayName

public java.lang.String getDisplayName()
                                throws java.io.IOException,
                                       AutomationException
The display name of the toolbox.

Specified by:
getDisplayName in interface IGPToolbox2
Returns:
The displayName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canAlterDisplayName

public boolean canAlterDisplayName()
                            throws java.io.IOException,
                                   AutomationException
Returns whether or not the display name property can be modified.

Specified by:
canAlterDisplayName in interface IGPToolbox2
Returns:
The canAlterDisplayName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterDisplayName

public void alterDisplayName(java.lang.String newDisplayName)
                      throws java.io.IOException,
                             AutomationException
Modifies the display name property of the toolbox.

Specified by:
alterDisplayName in interface IGPToolbox2
Parameters:
newDisplayName - The newDisplayName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.