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, java.io.Serializable

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

COM Class 'SchematicRelationController'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSchematic.olb'

Description 'Schematic relation controller object.' 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
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRelationController
IID, IID28213779_9140_4a1e_b0fc_12a34f4dc82a, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRelationControllerEdit
IID, IID274c2518_e644_4421_984f_087f3fa435c6, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRelationControllerEvent
IID, IID30aa566f_a1c8_4bcc_b27d_d43312230704, xxDummy
 
Constructor Summary
SchematicRelationController()
          Constructs a SchematicRelationController using ArcGIS Engine.
SchematicRelationController(java.lang.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(java.lang.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 java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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.
 void release()
          Release a SchematicRelationController.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchematicRelationController

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

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SchematicRelationController

public SchematicRelationController(java.lang.Object obj)
                            throws java.io.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:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SchematicRelationController.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

findParent

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findChildren

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findParents

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isParent

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

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

createRelation

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRelation

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

Specified by:
deleteRelation in interface ISchematicRelationControllerEdit
Parameters:
inMemoryChild - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Throws:
java.io.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 java.io.IOException,
                           AutomationException
Fires when the user moves a parent schematic features and its related children with the mouse.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.