com.esri.arcgis.schematic
Class ISchematicInMemoryDiagramProxy

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

public class ISchematicInMemoryDiagramProxy
extends com.esri.arcgis.interop.Dispatch
implements ISchematicInMemoryDiagram, Serializable

Provides access to members that manage the schematic in memory diagram.

Description

The ISchematicInMemoryDiagram is the central object allowing to access a schematic diagram when it is loaded in memory.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ISchematicInMemoryDiagramProxy()
           
  ISchematicInMemoryDiagramProxy(Object obj)
           
protected ISchematicInMemoryDiagramProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getName()
          Name of the schematic in memory diagram.
 ISchematicDiagram getSchematicDiagram()
          The schematic diagram relative to the schematic in memory diagram.
 ISchematicDiagramClass getSchematicDiagramClass()
          The schematic diagram class the schematic in memory diagram belongs to.
 ISchematicInMemoryFeature getSchematicInMemoryFeatureByType(int elementType, String name)
          Finds a schematic in memory feature referenced by the specified name and the specified element type within the schematic in memory net feature.
 IEnumSchematicInMemoryFeature getSchematicInMemoryFeatures()
          Schematic in memory features enumeration within the schematic in memory diagram.
 IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByClass(ISchematicElementClass schematicElementClass)
          Finds a schematic in memory features enumeration by the specified schematic element class within the schematic in memory net feature.
 IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByType(int elementType)
          Finds a schematic in memory features enumeration by the specified element type within the schematic in memory net feature.
 boolean isHasChanged()
          Indicates if the schematic in memory diagram has changed in the current session.
 boolean isLayoutHasChanged()
          Indicates if the saved layout of the schematic diagram is no more the initial layout.
 void refresh()
          Refreshes the schematic in memory diagram.
 void removeListener(String iidStr, Object theListener)
           
 void save(ILayer layer)
          Saves the schematic in memory diagram.
 void setHasChanged(boolean hasChanged)
          Indicates if the schematic in memory diagram has changed in the current session.
 void setLayoutHasChanged(boolean layoutHasChanged)
          Indicates if the saved layout of the schematic diagram is no more the initial layout.
 
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

noncastable

public boolean noncastable
Constructor Detail

ISchematicInMemoryDiagramProxy

public ISchematicInMemoryDiagramProxy()

ISchematicInMemoryDiagramProxy

public ISchematicInMemoryDiagramProxy(Object obj)
                               throws IOException
Throws:
IOException

ISchematicInMemoryDiagramProxy

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

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the schematic in memory diagram.

Product Availability

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

Specified by:
getName in interface ISchematicInMemoryDiagram
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicDiagram

public ISchematicDiagram getSchematicDiagram()
                                      throws IOException,
                                             AutomationException
The schematic diagram relative to the schematic in memory diagram.

Product Availability

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

Specified by:
getSchematicDiagram in interface ISchematicInMemoryDiagram
Returns:
A reference to a com.esri.arcgis.schematic.ISchematicDiagram
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicDiagramClass

public ISchematicDiagramClass getSchematicDiagramClass()
                                                throws IOException,
                                                       AutomationException
The schematic diagram class the schematic in memory diagram belongs to.

Product Availability

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

Specified by:
getSchematicDiagramClass in interface ISchematicInMemoryDiagram
Returns:
A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(ILayer layer)
          throws IOException,
                 AutomationException
Saves the schematic in memory diagram.

Description

During the diagram saving, the changes on the in-memory features in the in-memory diagram are reported on the related schematic elements in the schematic database.

Product Availability

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

Specified by:
save in interface ISchematicInMemoryDiagram
Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws IOException,
                    AutomationException
Refreshes the schematic in memory diagram.

Product Availability

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

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

getSchematicInMemoryFeatures

public IEnumSchematicInMemoryFeature getSchematicInMemoryFeatures()
                                                           throws IOException,
                                                                  AutomationException
Schematic in memory features enumeration within the schematic in memory diagram.

Product Availability

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

Specified by:
getSchematicInMemoryFeatures in interface ISchematicInMemoryDiagram
Returns:
A reference to a com.esri.arcgis.schematic.IEnumSchematicInMemoryFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicInMemoryFeatureByType

public ISchematicInMemoryFeature getSchematicInMemoryFeatureByType(int elementType,
                                                                   String name)
                                                            throws IOException,
                                                                   AutomationException
Finds a schematic in memory feature referenced by the specified name and the specified element type within the schematic in memory net feature.

Product Availability

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

Specified by:
getSchematicInMemoryFeatureByType in interface ISchematicInMemoryDiagram
Parameters:
elementType - A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
name - The name (in)
Returns:
A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicInMemoryFeaturesByType

public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByType(int elementType)
                                                                 throws IOException,
                                                                        AutomationException
Finds a schematic in memory features enumeration by the specified element type within the schematic in memory net feature.

Product Availability

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

Specified by:
getSchematicInMemoryFeaturesByType in interface ISchematicInMemoryDiagram
Parameters:
elementType - A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
Returns:
A reference to a com.esri.arcgis.schematic.IEnumSchematicInMemoryFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicInMemoryFeaturesByClass

public IEnumSchematicInMemoryFeature getSchematicInMemoryFeaturesByClass(ISchematicElementClass schematicElementClass)
                                                                  throws IOException,
                                                                         AutomationException
Finds a schematic in memory features enumeration by the specified schematic element class within the schematic in memory net feature.

Product Availability

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

Specified by:
getSchematicInMemoryFeaturesByClass in interface ISchematicInMemoryDiagram
Parameters:
schematicElementClass - A reference to a com.esri.arcgis.schematic.ISchematicElementClass (in)
Returns:
A reference to a com.esri.arcgis.schematic.IEnumSchematicInMemoryFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasChanged

public boolean isHasChanged()
                     throws IOException,
                            AutomationException
Indicates if the schematic in memory diagram has changed in the current session.

Product Availability

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

Specified by:
isHasChanged in interface ISchematicInMemoryDiagram
Returns:
The hasChanged
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHasChanged

public void setHasChanged(boolean hasChanged)
                   throws IOException,
                          AutomationException
Indicates if the schematic in memory diagram has changed in the current session.

Product Availability

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

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

isLayoutHasChanged

public boolean isLayoutHasChanged()
                           throws IOException,
                                  AutomationException
Indicates if the saved layout of the schematic diagram is no more the initial layout.

Product Availability

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

Specified by:
isLayoutHasChanged in interface ISchematicInMemoryDiagram
Returns:
The layoutHasChanged
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayoutHasChanged

public void setLayoutHasChanged(boolean layoutHasChanged)
                         throws IOException,
                                AutomationException
Indicates if the saved layout of the schematic diagram is no more the initial layout.

Product Availability

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

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