|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.SchematicContainerManager
public class SchematicContainerManager
Schematic container manager object.
| Constructor Summary | |
|---|---|
SchematicContainerManager()
Constructs a SchematicContainerManager using ArcGIS Engine. |
|
SchematicContainerManager(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SchematicContainerManager theSchematicContainerManager = (SchematicContainerManager) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getBottomMargin(ISchematicInMemoryFeature container)
Bottom margin of the specified container. |
static String |
getClsid()
getClsid. |
double |
getLeftMargin(ISchematicInMemoryFeature container)
Left margin of the specified container. |
IGeometry |
getParentGeometry(ISchematicRelationController controller,
IDisplay display,
ILayer layer,
ISchematicInMemoryFeature inMemoryParent)
Geometry of the specified schematic parent. |
double |
getRightMargin(ISchematicInMemoryFeature container)
Right margin of the specified container. |
double |
getTopMargin(ISchematicInMemoryFeature container)
Top margin of the specified container. |
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. |
void |
setBottomMargin(ISchematicInMemoryFeature container,
double margin)
Changes the bottom margin of the specified container. |
void |
setLeftMargin(ISchematicInMemoryFeature container,
double margin)
Changes the left margin of the specified container. |
void |
setRightMargin(ISchematicInMemoryFeature container,
double margin)
Changes the right margin of the specified container. |
void |
setTopMargin(ISchematicInMemoryFeature container,
double margin)
Changes the top margin of the specified container. |
| 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 |
|---|
public SchematicContainerManager()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public SchematicContainerManager(Object obj)
throws IOException
SchematicContainerManager theSchematicContainerManager = (SchematicContainerManager) obj;
obj to SchematicContainerManager.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void moveParent(ISchematicRelationController controller,
IDisplay display,
ILayer layer,
ISchematicInMemoryFeature inMemoryParent,
IEnumSchematicInMemoryFeature inMemoryFeatures,
ILine shift)
throws IOException,
AutomationException
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).
moveParent in interface ISchematicRelationManagercontroller - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getParentGeometry(ISchematicRelationController controller,
IDisplay display,
ILayer layer,
ISchematicInMemoryFeature inMemoryParent)
throws IOException,
AutomationException
getParentGeometry in interface ISchematicRelationManagercontroller - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLeftMargin(ISchematicInMemoryFeature container)
throws IOException,
AutomationException
getLeftMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLeftMargin(ISchematicInMemoryFeature container,
double margin)
throws IOException,
AutomationException
setLeftMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)margin - The margin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getRightMargin(ISchematicInMemoryFeature container)
throws IOException,
AutomationException
getRightMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRightMargin(ISchematicInMemoryFeature container,
double margin)
throws IOException,
AutomationException
setRightMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)margin - The margin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTopMargin(ISchematicInMemoryFeature container)
throws IOException,
AutomationException
getTopMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTopMargin(ISchematicInMemoryFeature container,
double margin)
throws IOException,
AutomationException
setTopMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)margin - The margin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getBottomMargin(ISchematicInMemoryFeature container)
throws IOException,
AutomationException
getBottomMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBottomMargin(ISchematicInMemoryFeature container,
double margin)
throws IOException,
AutomationException
setBottomMargin in interface ISchematicContainerManagercontainer - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)margin - The margin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||