com.esri.arcgis.catalog
Interface IGxObjectFactories

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxCatalog

public interface IGxObjectFactories
extends Serializable

Provides access to members that manage a collection of GxObject factories.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void enableGxObjectFactory(int index, boolean enabled)
          Enables or disables a GxObject factory.
 int getCount()
          The number of registered GxObject factories.
 IEnumGxObjectFactory getEnabledGxObjectFactories()
          The enabled GxObject factories (sorted by priority).
 IGxObjectFactory getGxObjectFactory(int index)
          The specified GxObject factory.
 IUID getGxObjectFactoryCLSID(int index)
          The class ID of the specified GxObject factory.
 boolean isEnabled(int index)
          Indicates if a specific GxObject factory is enabled.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of registered GxObject factories.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnabled

boolean isEnabled(int index)
                  throws IOException,
                         AutomationException
Indicates if a specific GxObject factory is enabled.

Product Availability

Available with ArcGIS Desktop.

Parameters:
index - The index (in)
Returns:
The isEnabled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enableGxObjectFactory

void enableGxObjectFactory(int index,
                           boolean enabled)
                           throws IOException,
                                  AutomationException
Enables or disables a GxObject factory.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
index - The index (in)
enabled - The enabled (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObjectFactoryCLSID

IUID getGxObjectFactoryCLSID(int index)
                             throws IOException,
                                    AutomationException
The class ID of the specified GxObject factory.

Product Availability

Available with ArcGIS Desktop.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObjectFactory

IGxObjectFactory getGxObjectFactory(int index)
                                    throws IOException,
                                           AutomationException
The specified GxObject factory.

Product Availability

Available with ArcGIS Desktop.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.catalog.IGxObjectFactory
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnabledGxObjectFactories

IEnumGxObjectFactory getEnabledGxObjectFactories()
                                                 throws IOException,
                                                        AutomationException
The enabled GxObject factories (sorted by priority).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.catalog.IEnumGxObjectFactory
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.