|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicRulesHelper
public class SchematicRulesHelper
Schematic rule helper.
Constructor Summary | |
---|---|
SchematicRulesHelper()
Constructs a SchematicRulesHelper using ArcGIS Engine. |
|
SchematicRulesHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SchematicRulesHelper theSchematicRulesHelper = (SchematicRulesHelper) obj; |
Method Summary | |
---|---|
ISchematicInMemoryFeature |
alterLink(ISchematicInMemoryFeatureClass inMemoryFeatureClass,
String name,
IObject object,
IGeometry geometry,
int dataSourceID,
int objectSubID,
String fromName,
String toName,
int flowDirection,
int fromPort,
int toPort)
Modify or create a Link. |
ISchematicInMemoryFeature |
alterNode(ISchematicInMemoryFeatureClass inMemoryFeatureClass,
String name,
IObject object,
IGeometry geometry,
int dataSourceID,
int objectSubID)
Modify or create a Node. |
ISchematicInMemoryFeature |
alterNodeOnLink(ISchematicInMemoryFeatureClass inMemoryFeatureClass,
String name,
IObject object,
IGeometry geometry,
int dataSourceID,
int objectSubID,
String refLinkName,
double distance,
boolean asRatio)
Modify or create a NodeOnLink. |
boolean |
equals(Object o)
Compare this object with another |
int |
findDataSourceID(IWorkspace workspace,
boolean autoCreate)
Obtain or create the datasource id of the input workspace. |
static String |
getClsid()
getClsid. |
IEnumSchematicInMemoryFeature |
getDisplayedIncidentLinks(ISchematicInMemoryFeatureNode inMemoryNode,
int endPointType)
Hide a schematic feature. |
IPolyline |
getLinkPoints(ISchematicInMemoryFeatureLink inMemoryFeatureLink,
boolean reverseOrder)
Obtains the vertices of the input schematic link. |
IPoint |
getNodePoint(ISchematicInMemoryFeatureNode inMemoryFeatureNode)
Obtains the position of the input schematic node. |
ISchematicRelationController |
getRelationController()
Obtain the Relation Controller from the rules helper. |
int |
hashCode()
the hashcode for this object |
void |
hideFeature(ISchematicInMemoryFeature inMemoryFeature)
Hide a schematic feature. |
void |
initHelper(ISchematicInMemoryDiagram inMemoryDiagram)
Initialize the helper with the input schematic diagram. |
boolean |
isKeepVertices()
Indicates if the Schematic Rules Helper keeps the links vertices. |
void |
reportAssociations(ISchematicInMemoryFeature fromInMemoryFeature,
ISchematicInMemoryFeature toInMemoryFeature)
Report the associations of first schematic feature to the second schematic feature. |
void |
reportRelations(ISchematicInMemoryFeature fromInMemoryFeature,
ISchematicInMemoryFeature toInMemoryFeature,
boolean recursif)
Report the relations of first schematic feature to the second schematic feature. |
void |
setKeepVertices(boolean keepVertices)
Indicates if the Schematic Rules Helper keeps the links vertices. |
void |
setLinkPoints(ISchematicInMemoryFeatureLink inMemoryFeatureLink,
IPolyline polyline)
Defines the vertices of the input schematic link. |
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 SchematicRulesHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SchematicRulesHelper(Object obj) throws IOException
SchematicRulesHelper theSchematicRulesHelper = (SchematicRulesHelper) obj;
obj
to SchematicRulesHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ISchematicRelationController getRelationController() throws IOException, AutomationException
getRelationController
in interface ISchematicRulesHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isKeepVertices() throws IOException, AutomationException
isKeepVertices
in interface ISchematicRulesHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeepVertices(boolean keepVertices) throws IOException, AutomationException
setKeepVertices
in interface ISchematicRulesHelper
keepVertices
- The keepVertices (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initHelper(ISchematicInMemoryDiagram inMemoryDiagram) throws IOException, AutomationException
initHelper
in interface ISchematicRulesHelper
inMemoryDiagram
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryDiagram (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findDataSourceID(IWorkspace workspace, boolean autoCreate) throws IOException, AutomationException
findDataSourceID
in interface ISchematicRulesHelper
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)autoCreate
- The autoCreate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeature alterNode(ISchematicInMemoryFeatureClass inMemoryFeatureClass, String name, IObject object, IGeometry geometry, int dataSourceID, int objectSubID) throws IOException, AutomationException
alterNode
in interface ISchematicRulesHelper
inMemoryFeatureClass
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureClass (in)name
- The name (in)object
- A reference to a com.esri.arcgis.geodatabase.IObject (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)dataSourceID
- The dataSourceID (in)objectSubID
- The objectSubID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeature alterNodeOnLink(ISchematicInMemoryFeatureClass inMemoryFeatureClass, String name, IObject object, IGeometry geometry, int dataSourceID, int objectSubID, String refLinkName, double distance, boolean asRatio) throws IOException, AutomationException
alterNodeOnLink
in interface ISchematicRulesHelper
inMemoryFeatureClass
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureClass (in)name
- The name (in)object
- A reference to a com.esri.arcgis.geodatabase.IObject (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)dataSourceID
- The dataSourceID (in)objectSubID
- The objectSubID (in)refLinkName
- The refLinkName (in)distance
- The distance (in)asRatio
- The asRatio (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicInMemoryFeature alterLink(ISchematicInMemoryFeatureClass inMemoryFeatureClass, String name, IObject object, IGeometry geometry, int dataSourceID, int objectSubID, String fromName, String toName, int flowDirection, int fromPort, int toPort) throws IOException, AutomationException
alterLink
in interface ISchematicRulesHelper
inMemoryFeatureClass
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureClass (in)name
- The name (in)object
- A reference to a com.esri.arcgis.geodatabase.IObject (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)dataSourceID
- The dataSourceID (in)objectSubID
- The objectSubID (in)fromName
- The fromName (in)toName
- The toName (in)flowDirection
- A com.esri.arcgis.geodatabase.esriFlowDirection constant (in)fromPort
- The fromPort (in)toPort
- The toPort (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reportAssociations(ISchematicInMemoryFeature fromInMemoryFeature, ISchematicInMemoryFeature toInMemoryFeature) throws IOException, AutomationException
reportAssociations
in interface ISchematicRulesHelper
fromInMemoryFeature
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)toInMemoryFeature
- 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 reportRelations(ISchematicInMemoryFeature fromInMemoryFeature, ISchematicInMemoryFeature toInMemoryFeature, boolean recursif) throws IOException, AutomationException
reportRelations
in interface ISchematicRulesHelper
fromInMemoryFeature
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)toInMemoryFeature
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)recursif
- The recursif (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLinkPoints(ISchematicInMemoryFeatureLink inMemoryFeatureLink, IPolyline polyline) throws IOException, AutomationException
setLinkPoints
in interface ISchematicRulesHelper
inMemoryFeatureLink
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureLink (in)polyline
- A reference to a com.esri.arcgis.geometry.IPolyline (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPolyline getLinkPoints(ISchematicInMemoryFeatureLink inMemoryFeatureLink, boolean reverseOrder) throws IOException, AutomationException
getLinkPoints
in interface ISchematicRulesHelper
inMemoryFeatureLink
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureLink (in)reverseOrder
- The reverseOrder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getNodePoint(ISchematicInMemoryFeatureNode inMemoryFeatureNode) throws IOException, AutomationException
getNodePoint
in interface ISchematicRulesHelper
inMemoryFeatureNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryFeature getDisplayedIncidentLinks(ISchematicInMemoryFeatureNode inMemoryNode, int endPointType) throws IOException, AutomationException
getDisplayedIncidentLinks
in interface ISchematicRulesHelper
inMemoryNode
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeatureNode (in)endPointType
- A com.esri.arcgis.schematic.esriSchematicEndPointType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hideFeature(ISchematicInMemoryFeature inMemoryFeature) throws IOException, AutomationException
hideFeature
in interface ISchematicRulesHelper
inMemoryFeature
- A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (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 |