com.esri.arcgis.system
Class ComponentCategoryManager

java.lang.Object
  extended by com.esri.arcgis.system.ComponentCategoryManager
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IComponentCategoryInfo, IComponentCategoryManager, java.io.Serializable

public class ComponentCategoryManager
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IComponentCategoryManager, IComponentCategoryInfo

COM Class 'ComponentCategoryManager'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Component Category Manager 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
 
Fields inherited from interface com.esri.arcgis.system.IComponentCategoryManager
IID, IIDd9b58741_322d_11d2_a29a_080009b6f22b, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IComponentCategoryInfo
IID, IIDc5185fd4_557c_4e07_9a75_abf060f2ef41, xxDummy
 
Constructor Summary
ComponentCategoryManager()
          Constructs a ComponentCategoryManager using ArcGIS Engine.
ComponentCategoryManager(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ComponentCategoryManager theComponentCategoryManager = (ComponentCategoryManager) obj;
 
Method Summary
 void create(java.lang.String name, IUID category)
          Creates a component category.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IEnumUID getComponentsInCategory(IUID pCategoryID)
          Obtains a collection of component IDs matching the specified component category ID.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ComponentCategoryManager.
 void setup(java.lang.String pathname, IUID objectType, IUID category, boolean install)
          Installs or uninstalls the objects that match the object type into the given category.
 void setupObject(java.lang.String pathname, IUID obj, IUID category, boolean install)
          Installs or uninstalls the given object into the given category.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentCategoryManager

public ComponentCategoryManager()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a ComponentCategoryManager using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ComponentCategoryManager

public ComponentCategoryManager(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ComponentCategoryManager theComponentCategoryManager = (ComponentCategoryManager) obj;

Construct a ComponentCategoryManager using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ComponentCategoryManager.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ComponentCategoryManager.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

create

public void create(java.lang.String name,
                   IUID category)
            throws java.io.IOException,
                   AutomationException
Creates a component category.

Specified by:
create in interface IComponentCategoryManager
Parameters:
name - The name (in)
category - 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.

setup

public void setup(java.lang.String pathname,
                  IUID objectType,
                  IUID category,
                  boolean install)
           throws java.io.IOException,
                  AutomationException
Installs or uninstalls the objects that match the object type into the given category.

Specified by:
setup in interface IComponentCategoryManager
Parameters:
pathname - The pathname (in)
objectType - A reference to a com.esri.arcgis.system.IUID (in)
category - A reference to a com.esri.arcgis.system.IUID (in)
install - The install (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setupObject

public void setupObject(java.lang.String pathname,
                        IUID obj,
                        IUID category,
                        boolean install)
                 throws java.io.IOException,
                        AutomationException
Installs or uninstalls the given object into the given category.

Specified by:
setupObject in interface IComponentCategoryManager
Parameters:
pathname - The pathname (in)
obj - A reference to a com.esri.arcgis.system.IUID (in)
category - A reference to a com.esri.arcgis.system.IUID (in)
install - The install (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getComponentsInCategory

public IEnumUID getComponentsInCategory(IUID pCategoryID)
                                 throws java.io.IOException,
                                        AutomationException
Obtains a collection of component IDs matching the specified component category ID.

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