|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.location.IRouteLocatorProxy
public class IRouteLocatorProxy
Provides access to properties and methods of a route locator.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IRouteLocatorProxy()
|
|
IRouteLocatorProxy(Object obj)
|
protected |
IRouteLocatorProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IEnvelope |
getExtent()
The route locator's extent (same a route feature class' extent). |
int |
getMeasureUnit()
The units of the route measures. |
IFeatureClass |
getRouteFeatureClass()
The route feature class (Polyline with M feature class). |
void |
getRouteGeometry(IRouteLocation routeLocation,
IGeometry[] routeGeometry,
int[] locatingError)
The route(s) corresponding to the route location. |
int |
getRouteIDFieldIndex()
The field index of the route identifier. |
String |
getRouteIDFieldName()
The route identifier field from the route feature class. |
String |
getRouteIDFieldNameDelimited()
The delimited route identifier field of the route feature class. |
String |
getRouteWhereClause()
The where clause that limits the routes events can be located on. |
ISpatialReference |
getSpatialReference()
The route locator's spatial reference (same as route feature class' spatial reference). |
boolean |
isHasSpatialIndex()
Indicates if the route feature class has a spatial index. |
boolean |
isRouteIDIsString()
Indicates if the route identifier field type is string. |
boolean |
isRouteIDIsUnique()
Indicates whether the route ID is unique (Obsolete). |
void |
locate(IRouteLocation routeLocation,
IGeometry[] result,
int[] locatingError)
Locates a point or line route location. |
void |
locateRow(IRouteEventProperties eventProperties,
IRow row,
IGeometry[] result,
int[] locatingError)
Locates an event table row containing a point or line route location. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setRouteWhereClause(String whereClause)
The where clause that limits the routes events can be located on. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IRouteLocatorProxy()
public IRouteLocatorProxy(Object obj) throws IOException
IOException
protected IRouteLocatorProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IFeatureClass getRouteFeatureClass() throws IOException, AutomationException
getRouteFeatureClass
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteIDFieldName() throws IOException, AutomationException
getRouteIDFieldName
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRouteIDFieldIndex() throws IOException, AutomationException
getRouteIDFieldIndex
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteIDFieldNameDelimited() throws IOException, AutomationException
getRouteIDFieldNameDelimited
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRouteIDIsUnique() throws IOException, AutomationException
isRouteIDIsUnique
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRouteIDIsString() throws IOException, AutomationException
isRouteIDIsString
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteWhereClause(String whereClause) throws IOException, AutomationException
setRouteWhereClause
in interface IRouteLocator
whereClause
- The whereClause (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteWhereClause() throws IOException, AutomationException
getRouteWhereClause
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMeasureUnit() throws IOException, AutomationException
getMeasureUnit
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
getExtent
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws IOException, AutomationException
getSpatialReference
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasSpatialIndex() throws IOException, AutomationException
isHasSpatialIndex
in interface IRouteLocator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void locate(IRouteLocation routeLocation, IGeometry[] result, int[] locatingError) throws IOException, AutomationException
locate
in interface IRouteLocator
routeLocation
- A reference to a com.esri.arcgis.location.IRouteLocation (in)result
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)locatingError
- A com.esri.arcgis.geodatabase.esriLocatingError constant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void locateRow(IRouteEventProperties eventProperties, IRow row, IGeometry[] result, int[] locatingError) throws IOException, AutomationException
locateRow
in interface IRouteLocator
eventProperties
- A reference to a com.esri.arcgis.geodatabase.IRouteEventProperties (in)row
- A reference to a com.esri.arcgis.geodatabase.IRow (in)result
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)locatingError
- A com.esri.arcgis.geodatabase.esriLocatingError constant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getRouteGeometry(IRouteLocation routeLocation, IGeometry[] routeGeometry, int[] locatingError) throws IOException, AutomationException
getRouteGeometry
in interface IRouteLocator
routeLocation
- A reference to a com.esri.arcgis.location.IRouteLocation (in)routeGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)locatingError
- A com.esri.arcgis.geodatabase.esriLocatingError constant (out: use single element array)
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 |