com.esri.arcgis.schematic
Class SchematicRelationController

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicRelationController
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicRelationController, ISchematicRelationControllerEdit, ISchematicRelationControllerEvent, Serializable

public class SchematicRelationController
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicRelationController, ISchematicRelationControllerEdit, ISchematicRelationControllerEvent

Schematic relation controller object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicRelationController()
          Constructs a SchematicRelationController using ArcGIS Engine.
SchematicRelationController(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicRelationController theSchematicRelationController = (SchematicRelationController) obj;
 
Method Summary
 void createRelation(ISchematicInMemoryFeature inMemoryChild, ISchematicInMemoryFeature inMemoryParent)
          Creates a schematic relation between the specified child feature and the specified parent.
 void deleteRelation(ISchematicInMemoryFeature inMemoryChild)
          Deletes the schematic relation defined for the specified child schematic feature.
 boolean equals(Object o)
          Compare this object with another
 IEnumSchematicInMemoryFeature findChildren(ISchematicInMemoryFeature inMemoryParent)
          Provides access to the children schematic features for the specified parent schematic feature.
 ISchematicInMemoryFeature findParent(ISchematicInMemoryFeature inMemoryChild)
          Provides access to the parent schematic feature for the specified child schematic feature.
 IEnumSchematicInMemoryFeature findParents(ISchematicInMemoryDiagram inMemoryDiagram)
          Provides access to all parent schematic features contained in the sprecified diagram.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isParent(ISchematicInMemoryFeature inMemoryFeature)
          Indicates if a schematic feature is a parent.
 void onMoveFeatures(IDisplay display, ILayer layer, IEnumSchematicInMemoryFeature inMemoryFeatures, ILine shift)
          Fires when the user moves a parent schematic features and its related children with the mouse.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SchematicRelationController

public SchematicRelationController()
                            throws IOException,
                                   UnknownHostException
Constructs a SchematicRelationController using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SchematicRelationController

public SchematicRelationController(Object obj)
                            throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicRelationController theSchematicRelationController = (SchematicRelationController) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

findParent

public ISchematicInMemoryFeature findParent(ISchematicInMemoryFeature inMemoryChild)
                                     throws IOException,
                                            AutomationException
Provides access to the parent schematic feature for the specified child schematic feature.

Product Availability

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

Specified by:
findParent in interface ISchematicRelationController
Parameters:
inMemoryChild - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (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.

findChildren

public IEnumSchematicInMemoryFeature findChildren(ISchematicInMemoryFeature inMemoryParent)
                                           throws IOException,
                                                  AutomationException
Provides access to the children schematic features for the specified parent schematic feature.

Product Availability

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

Specified by:
findChildren in interface ISchematicRelationController
Parameters:
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (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.

findParents

public IEnumSchematicInMemoryFeature findParents(ISchematicInMemoryDiagram inMemoryDiagram)
                                          throws IOException,
                                                 AutomationException
Provides access to all parent schematic features contained in the sprecified diagram.

Product Availability

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

Specified by:
findParents in interface ISchematicRelationController
Parameters:
inMemoryDiagram - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryDiagram (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.

isParent

public boolean isParent(ISchematicInMemoryFeature inMemoryFeature)
                 throws IOException,
                        AutomationException
Indicates if a schematic feature is a parent.

Product Availability

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

Specified by:
isParent in interface ISchematicRelationController
Parameters:
inMemoryFeature - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRelation

public void createRelation(ISchematicInMemoryFeature inMemoryChild,
                           ISchematicInMemoryFeature inMemoryParent)
                    throws IOException,
                           AutomationException
Creates a schematic relation between the specified child feature and the specified parent.

Product Availability

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

Specified by:
createRelation in interface ISchematicRelationControllerEdit
Parameters:
inMemoryChild - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRelation

public void deleteRelation(ISchematicInMemoryFeature inMemoryChild)
                    throws IOException,
                           AutomationException
Deletes the schematic relation defined for the specified child schematic feature.

Product Availability

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

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

onMoveFeatures

public void onMoveFeatures(IDisplay display,
                           ILayer layer,
                           IEnumSchematicInMemoryFeature inMemoryFeatures,
                           ILine shift)
                    throws IOException,
                           AutomationException
Fires when the user moves a parent schematic features and its related children with the mouse.

Product Availability

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

Specified by:
onMoveFeatures in interface ISchematicRelationControllerEvent
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
inMemoryFeatures - A reference to a com.esri.arcgis.schematic.IEnumSchematicInMemoryFeature (in)
shift - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.