|
|||||||||
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.ISMTripPlanSettingsProxy
public class ISMTripPlanSettingsProxy
Deprecated as of 10.1. Provides access to the trip planning settings.
Trip planning settings interface for controlling time intervals for driving, for rest, stop durations, and so on.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISMTripPlanSettingsProxy()
|
|
ISMTripPlanSettingsProxy(Object obj)
|
protected |
ISMTripPlanSettingsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
Date |
getDayDriveEnd()
Time from midnight when driving must stop every day. |
Date |
getDayDriveStart()
Time from midnight when driving must start every day. |
short |
getDriveBetweenRest()
Driving time between rest breaks in minutes. |
short |
getDriveFlexibility()
Amount of driving time allowed after the DayDriveEnd time is reached. |
short |
getRestDuration()
The duration of rest breaks in minutes. |
Date |
getTripStart()
The start date of the trip. |
boolean |
isRestBreaksEnable()
Indicates whether periodic rest breaks are enabled. |
boolean |
isTripPlanningEnable()
Indicates whether trip planning is enabled. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDayDriveEnd(Date pVal)
Time from midnight when driving must stop every day. |
void |
setDayDriveStart(Date pVal)
Time from midnight when driving must start every day. |
void |
setDriveBetweenRest(short pVal)
Driving time between rest breaks in minutes. |
void |
setDriveFlexibility(short pVal)
Amount of driving time allowed after the DayDriveEnd time is reached. |
void |
setRestBreaksEnable(boolean pVal)
Indicates whether periodic rest breaks are enabled. |
void |
setRestDuration(short pVal)
The duration of rest breaks in minutes. |
void |
setTripPlanningEnable(boolean pVal)
Indicates whether trip planning is enabled. |
void |
setTripStart(Date pVal)
The start date of the trip. |
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 ISMTripPlanSettingsProxy()
public ISMTripPlanSettingsProxy(Object obj) throws IOException
IOException
protected ISMTripPlanSettingsProxy(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 boolean isTripPlanningEnable() throws IOException, AutomationException
Reads the value which enables trip planning during the route finding.
If TripPlanningEnable is set to True then router finds the route and generates directions using all settings made in ISMTripPlanSettings interface. Otherwise no trip planning is performed.
isTripPlanningEnable
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTripPlanningEnable(boolean pVal) throws IOException, AutomationException
Sets the enabled value of the trip planning during the route finding.
If TripPlanningEnable is set to True then router finds the route and generates directions using all settings made in ISMTripPlanSettings interface. Otherwise no trip planning is performed.
setTripPlanningEnable
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getTripStart() throws IOException, AutomationException
Returns the departure time for the first day of
travel.
getTripStart
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTripStart(Date pVal) throws IOException, AutomationException
Sets the departure time for the first day of travel.
setTripStart
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getDayDriveStart() throws IOException, AutomationException
Returns the departure time starting with day two.
getDayDriveStart
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDayDriveStart(Date pVal) throws IOException, AutomationException
Sets the departure time starting with day two.
setDayDriveStart
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getDayDriveEnd() throws IOException, AutomationException
Returns the time when driving must end everyday.
getDayDriveEnd
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDayDriveEnd(Date pVal) throws IOException, AutomationException
Sets the time when driving must end everyday.
setDayDriveEnd
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDriveFlexibility() throws IOException, AutomationException
Returns the time (in minutes) that driving is allowed after the Drive End Time.
DriveFlexibility sets an additional time interval (in minutes) after drive day end that may be spent to reach the stop.
getDriveFlexibility
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDriveFlexibility(short pVal) throws IOException, AutomationException
Sets the time (in minutes) that driving is allowed after the Drive End Time.
DriveFlexibility sets an additional time interval (in minutes) after drive day end that may be spent to reach the stop.
setDriveFlexibility
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRestBreaksEnable() throws IOException, AutomationException
Returns the periodic rest breaks property that the route may require during the drive day.
isRestBreaksEnable
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRestBreaksEnable(boolean pVal) throws IOException, AutomationException
Sets the periodic rest breaks property that the route may require during the drive day.
setRestBreaksEnable
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getRestDuration() throws IOException, AutomationException
Returns the duration of the rest break in minutes.
getRestDuration
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRestDuration(short pVal) throws IOException, AutomationException
Sets the duration of the rest break in minutes.
setRestDuration
in interface ISMTripPlanSettings
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDriveBetweenRest() throws IOException, AutomationException
Returns the amount of time (in minutes) to drive between rest breaks.
getDriveBetweenRest
in interface ISMTripPlanSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDriveBetweenRest(short pVal) throws IOException, AutomationException
Sets the amount of time (in minutes) to drive between rest breaks.
setDriveBetweenRest
in interface ISMTripPlanSettings
pVal
- The pVal (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 |