|
|||||||||
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.datasourcesfile.ISMRouterSetupProxy
public class ISMRouterSetupProxy
Provides access to router settings, such as restrictions, backtrack policy, length units.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISMRouterSetupProxy()
|
|
ISMRouterSetupProxy(Object obj)
|
protected |
ISMRouterSetupProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clearAllRestrictions()
Removes all restrictions set on the route solver. |
int |
getBacktrackPolicy()
Controls the backtrack policy of the route solver. |
int |
getDirectionsLengthUnits()
The output length units used in driving directions. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setBacktrackPolicy(int pVal)
Controls the backtrack policy of the route solver. |
void |
setDirectionsLengthUnits(int pVal)
The output length units used in driving directions. |
void |
setRestriction(ISMRestriction pRestriction)
Sets a restriction to be used by the route solver. |
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 ISMRouterSetupProxy()
public ISMRouterSetupProxy(Object obj) throws IOException
IOException
protected ISMRouterSetupProxy(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 void setRestriction(ISMRestriction pRestriction) throws IOException, AutomationException
The SetRestriction method can be called multiple times to set multiple restrictions on the route solver.
setRestriction
in interface ISMRouterSetup
pRestriction
- A reference to a com.esri.arcgis.datasourcesfile.ISMRestriction (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearAllRestrictions() throws IOException, AutomationException
clearAllRestrictions
in interface ISMRouterSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBacktrackPolicy() throws IOException, AutomationException
The BacktrackPolicy affects how the solver handles U-turns. Please see the esriSMBacktrackPolicy enumeration for possible options.
getBacktrackPolicy
in interface ISMRouterSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBacktrackPolicy(int pVal) throws IOException, AutomationException
setBacktrackPolicy
in interface ISMRouterSetup
pVal
- A com.esri.arcgis.datasourcesfile.esriSMBacktrackPolicy constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDirectionsLengthUnits() throws IOException, AutomationException
getDirectionsLengthUnits
in interface ISMRouterSetup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDirectionsLengthUnits(int pVal) throws IOException, AutomationException
setDirectionsLengthUnits
in interface ISMRouterSetup
pVal
- A com.esri.arcgis.datasourcesfile.esriSMDirectionsLengthUnits constant (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 |