com.esri.arcgis.geoprocessing
Class IGPToolboxProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGPToolboxProxy
All Implemented Interfaces:
IGPToolbox, java.io.Externalizable, java.io.Serializable

public class IGPToolboxProxy
extends com.esri.arcgis.interop.Dispatch
implements IGPToolbox, java.io.Serializable

Internal use class Proxy for COM Interface 'IGPToolbox'. Generated 3/19/2015 1:20:58 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.IGPToolbox
IID, IID8df04717_e331_49d9_980b_1079d4e61e37
 
Constructor Summary
  IGPToolboxProxy()
          For internal use only
  IGPToolboxProxy(java.lang.Object obj)
           
protected IGPToolboxProxy(java.lang.Object obj, java.lang.String iid)
           
  IGPToolboxProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGPToolboxProxy(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)
          Changes the alias 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 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, used when referencing a tool: name_alias.
 int getHelpContext()
          The context identifier of the topic within the help file for this toolbox.
 java.lang.String getHelpFile()
          The name of the (CHM) file containing help information for this toolbox.
 java.lang.String getPathName()
          The path name to 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

IGPToolboxProxy

public IGPToolboxProxy(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

IGPToolboxProxy

public IGPToolboxProxy()
For internal use only


IGPToolboxProxy

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

IGPToolboxProxy

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

IGPToolboxProxy

protected IGPToolboxProxy(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 to the toolbox.

Specified by:
getPathName in interface IGPToolbox
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, used when referencing a tool: name_alias.

Specified by:
getAlias in interface IGPToolbox
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 IGPToolbox
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 IGPToolbox
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 IGPToolbox
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 IGPToolbox
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 IGPToolbox
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 IGPToolbox
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
Changes the alias of the toolbox.

Specified by:
alterAlias in interface IGPToolbox
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
The name of the (CHM) file containing help information for this toolbox.

Specified by:
getHelpFile in interface IGPToolbox
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 IGPToolbox
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 IGPToolbox
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.