com.esri.arcgis.geodatabase
Class IGraphProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IGraphProxy
All Implemented Interfaces:
IGraph, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IGeometricNetworkProxy

public class IGraphProxy
extends com.esri.arcgis.interop.Dispatch
implements IGraph, java.io.Serializable

Internal use class Proxy for COM Interface 'IGraph'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that manage graphs.' 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.geodatabase.IGraph
IID, IID436a48bc_56f6_11d1_ae55_0000f80372b4
 
Constructor Summary
  IGraphProxy()
          For internal use only
  IGraphProxy(java.lang.Object obj)
           
protected IGraphProxy(java.lang.Object obj, java.lang.String iid)
           
  IGraphProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGraphProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void add(IFeature newFeature)
          Adds the preexisting Feature to the graph.
 void addFeatureClass(IFeatureClass featureClass, java.lang.String enabledFieldName, int role, java.lang.String ancillaryRoleFieldName)
          Add the FeatureClass to this graph.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void deleteSet(ISet featuresToDelete)
          Removes the set of Feature from the graph.
 IDisplayFeedback getDisplayFeedback(IFeature feature, ISet features, IPoint point)
          The DisplayFeedback.
 IFeatureDataset getFeatureDataset()
          The FeatureDataset associated with the graph.
 void init(IFeatureDataset dataset, int graphID, java.lang.String graphName, boolean buildNormalizedTables, boolean createGraph)
          Initializes the graph.
 boolean isVertexBasedStretching()
          The stretching model to nearest vertex (true) or junction (false) based stretching.
 IEnumFeature merge(IEnumFeature mergingFeatures)
          Merges the Features together, returning the newly created Feature.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setVertexBasedStretching(boolean vertexBased)
          The stretching model to nearest vertex (true) or junction (false) based stretching.
 ISet split(IEdgeFeature splittingEdge, IGeometry point)
          Split the feature.
 void transformSet(ISet features, int type, IAffineTransformation2D tranformation)
          Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.
 
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

IGraphProxy

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

IGraphProxy

public IGraphProxy()
For internal use only


IGraphProxy

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

IGraphProxy

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

IGraphProxy

protected IGraphProxy(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

add

public void add(IFeature newFeature)
         throws java.io.IOException,
                AutomationException
Adds the preexisting Feature to the graph.

Specified by:
add in interface IGraph
Parameters:
newFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFeatureClass

public void addFeatureClass(IFeatureClass featureClass,
                            java.lang.String enabledFieldName,
                            int role,
                            java.lang.String ancillaryRoleFieldName)
                     throws java.io.IOException,
                            AutomationException
Add the FeatureClass to this graph.

Specified by:
addFeatureClass in interface IGraph
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
enabledFieldName - The enabledFieldName (in)
role - A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)
ancillaryRoleFieldName - The ancillaryRoleFieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteSet

public void deleteSet(ISet featuresToDelete)
               throws java.io.IOException,
                      AutomationException
Removes the set of Feature from the graph.

Specified by:
deleteSet in interface IGraph
Parameters:
featuresToDelete - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureDataset

public IFeatureDataset getFeatureDataset()
                                  throws java.io.IOException,
                                         AutomationException
The FeatureDataset associated with the graph.

Specified by:
getFeatureDataset in interface IGraph
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayFeedback

public IDisplayFeedback getDisplayFeedback(IFeature feature,
                                           ISet features,
                                           IPoint point)
                                    throws java.io.IOException,
                                           AutomationException
The DisplayFeedback.

Specified by:
getDisplayFeedback in interface IGraph
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
features - A reference to a com.esri.arcgis.system.ISet (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IFeatureDataset dataset,
                 int graphID,
                 java.lang.String graphName,
                 boolean buildNormalizedTables,
                 boolean createGraph)
          throws java.io.IOException,
                 AutomationException
Initializes the graph.

Specified by:
init in interface IGraph
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
graphID - The graphID (in)
graphName - The graphName (in)
buildNormalizedTables - The buildNormalizedTables (in)
createGraph - The createGraph (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

merge

public IEnumFeature merge(IEnumFeature mergingFeatures)
                   throws java.io.IOException,
                          AutomationException
Merges the Features together, returning the newly created Feature.

Specified by:
merge in interface IGraph
Parameters:
mergingFeatures - A reference to a com.esri.arcgis.geodatabase.IEnumFeature (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

split

public ISet split(IEdgeFeature splittingEdge,
                  IGeometry point)
           throws java.io.IOException,
                  AutomationException
Split the feature.

Specified by:
split in interface IGraph
Parameters:
splittingEdge - A reference to a com.esri.arcgis.geodatabase.IEdgeFeature (in)
point - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

transformSet

public void transformSet(ISet features,
                         int type,
                         IAffineTransformation2D tranformation)
                  throws java.io.IOException,
                         AutomationException
Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.

Specified by:
transformSet in interface IGraph
Parameters:
features - A reference to a com.esri.arcgis.system.ISet (in)
type - A com.esri.arcgis.geodatabase.esriTransformType constant (in)
tranformation - A reference to a com.esri.arcgis.geometry.IAffineTransformation2D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVertexBasedStretching

public boolean isVertexBasedStretching()
                                throws java.io.IOException,
                                       AutomationException
The stretching model to nearest vertex (true) or junction (false) based stretching.

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

setVertexBasedStretching

public void setVertexBasedStretching(boolean vertexBased)
                              throws java.io.IOException,
                                     AutomationException
The stretching model to nearest vertex (true) or junction (false) based stretching.

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