com.esri.arcgis.schematic
Class INgDiagramsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.schematic.INgDiagramsProxy
All Implemented Interfaces:
INgDiagrams, Externalizable, Serializable

public class INgDiagramsProxy
extends com.esri.arcgis.interop.Dispatch
implements INgDiagrams, Serializable

Provides access to an enumeration of graphic diagrams.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
INgDiagram, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  INgDiagramsProxy()
           
  INgDiagramsProxy(Object obj)
           
protected INgDiagramsProxy(Object obj, String iid)
           
 
Method Summary
 void add(INgDiagram item)
          Adds a new diagram in the collection.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void clear()
          Removes all the diagrams from the collection.
 Enumeration get_NewEnum()
          Retrieves an IEnumVariant interface that enumerates the collection's content.
 int getCount()
          Number of diagrams in the collection.
 INgDiagram getItem(int index)
          The diagram 'index' item in the collection.
 void readExternal(ObjectInput in)
           
 void remove(int index)
          Removes the diagram 'index' item from the collection.
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

INgDiagramsProxy

public INgDiagramsProxy()

INgDiagramsProxy

public INgDiagramsProxy(Object obj)
                 throws IOException
Throws:
IOException

INgDiagramsProxy

protected INgDiagramsProxy(Object obj,
                           String iid)
                    throws IOException
Throws:
IOException
Method Detail

addListener

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

removeListener

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

get_NewEnum

public Enumeration get_NewEnum()
                        throws IOException,
                               AutomationException
Retrieves an IEnumVariant interface that enumerates the collection's content. This method supports the FOR EACH statement in VB.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
get_NewEnum in interface INgDiagrams
Returns:
An enumeration.
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

public INgDiagram getItem(int index)
                   throws IOException,
                          AutomationException
The diagram 'index' item in the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getItem in interface INgDiagrams
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.schematic.INgDiagram
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
Number of diagrams in the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCount in interface INgDiagrams
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(INgDiagram item)
         throws IOException,
                AutomationException
Adds a new diagram in the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
add in interface INgDiagrams
Parameters:
item - A reference to a com.esri.arcgis.schematic.INgDiagram (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws IOException,
                   AutomationException
Removes the diagram 'index' item from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
remove in interface INgDiagrams
Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws IOException,
                  AutomationException
Removes all the diagrams from the collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
clear in interface INgDiagrams
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException