|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRouteLocatorOperations2
Provides access to operations on the route locator.
The IRouteLocatorOperations2 interface provides methods and properties to create an event table, ITable, in several ways:
Method Summary | |
---|---|
IFeatureClass |
getRouteFeatureClass()
The route feature class (Polyline with M feature class). |
ISelectionSet |
getRouteFeatureSelection()
A selection set of route features. |
String |
getRouteIDFieldName()
The route feature identifier. |
void |
setRouteFeatureClassByRef(IFeatureClass routeFeatureClass)
The route feature class (Polyline with M feature class). |
void |
setRouteFeatureSelectionByRef(ISelectionSet selection)
A selection set of route features. |
void |
setRouteIDFieldName(String routeIDFieldName)
The route feature identifier. |
Methods inherited from interface com.esri.arcgis.location.IRouteLocatorOperations |
---|
getInputFeatureClass, getInputFeatureSelection, getRouteLocator, locateLineFeatures, locatePointEvents, locatePointFeatures, locatePolygonFeatures, setInputFeatureClassByRef, setInputFeatureSelectionByRef, setRouteLocatorByRef |
Method Detail |
---|
void setRouteFeatureClassByRef(IFeatureClass routeFeatureClass) throws IOException, AutomationException
routeFeatureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeatureClass getRouteFeatureClass() throws IOException, AutomationException
Use this property instead of IRouteLocatorOperations::RouteLocator. When using this property, you must also specify the RouteIDFieldName.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRouteFeatureSelectionByRef(ISelectionSet selection) throws IOException, AutomationException
selection
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelectionSet getRouteFeatureSelection() throws IOException, AutomationException
If you use this method, there is no need to specify the RouteFeatureClass (as it is implied). You still must set the RouteIDFieldName, however.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRouteIDFieldName(String routeIDFieldName) throws IOException, AutomationException
routeIDFieldName
- The routeIDFieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRouteIDFieldName() throws IOException, AutomationException
Use this property with the RouteFeatureClass (or RouteFeatureSelection) properties.
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 |