com.esri.arcgis.schematic
Class SchematicBarycenterManager

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicBarycenterManager
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicBarycenterManager, ISchematicRelationManager, Serializable

public class SchematicBarycenterManager
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicRelationManager, ISchematicBarycenterManager

Schematic barycenter manager object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicBarycenterManager()
          Constructs a SchematicBarycenterManager using ArcGIS Engine.
SchematicBarycenterManager(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicBarycenterManager theSchematicBarycenterManager = (SchematicBarycenterManager) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IGeometry getParentGeometry(ISchematicRelationController controller, IDisplay display, ILayer layer, ISchematicInMemoryFeature inMemoryParent)
          Geometry of the specified schematic parent.
 int hashCode()
          the hashcode for this object
 void moveParent(ISchematicRelationController controller, IDisplay display, ILayer layer, ISchematicInMemoryFeature inMemoryParent, IEnumSchematicInMemoryFeature inMemoryFeatures, ILine shift)
          Moves the specified parent schematic feature.
 
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

SchematicBarycenterManager

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

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

SchematicBarycenterManager

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

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

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

moveParent

public void moveParent(ISchematicRelationController controller,
                       IDisplay display,
                       ILayer layer,
                       ISchematicInMemoryFeature inMemoryParent,
                       IEnumSchematicInMemoryFeature inMemoryFeatures,
                       ILine shift)
                throws IOException,
                       AutomationException
Moves the specified parent schematic feature.

Remarks

It’s the developer responsibility to call the appropriate ISchematicRelationController or ISchematicRelationManager methods for the related objects as the containers to be automatically redrawn when he uses any "Move" method on schematic element. Please also note that programming the relations redraw on the INgProjectEvents::OnMoveElements or ISchematicRelationControllerEvent::OnMoveElements events will be completely unuseful because these events are only triggered when schematic elements are moved using the GUI tools; that is when end-users move schematic elements using the mouse or the keyboard arrows. So when elements are moved by programming using any "Move" method, the custom code specified on these events will be not fired. In this case, you must either force the redraw at the end of the move operations sequences in your custom procedure or customize the SchematicAlgorithmEvents::AfterExecuteAlgorithm event (when the "Move" methods are called during a custom algorithm).

Product Availability

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

Specified by:
moveParent in interface ISchematicRelationManager
Parameters:
controller - A reference to a com.esri.arcgis.schematic.ISchematicRelationController (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (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.

getParentGeometry

public IGeometry getParentGeometry(ISchematicRelationController controller,
                                   IDisplay display,
                                   ILayer layer,
                                   ISchematicInMemoryFeature inMemoryParent)
                            throws IOException,
                                   AutomationException
Geometry of the specified schematic parent.

Product Availability

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

Specified by:
getParentGeometry in interface ISchematicRelationManager
Parameters:
controller - A reference to a com.esri.arcgis.schematic.ISchematicRelationController (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
inMemoryParent - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.