|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.networkanalyst.NAStreetDirectionsAgent
public class NAStreetDirectionsAgent
COM Class 'NAStreetDirectionsAgent'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'
Description 'Generates driving directions for network analysis results.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.networkanalyst.INAAgent |
|---|
IID, IIDa6af9d1f_a27c_4df8_b989_8844173c776f, xxDummy |
| Fields inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirectionsAgent3 |
|---|
IID, IID2497a983_b5e8_4f0c_a4e9_c70dc4ae62bc, xxDummy |
| Fields inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirectionsAgent2 |
|---|
IID165a238e_761e_440c_b8d9_f028ecd40b97 |
| Fields inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirectionsAgent |
|---|
IID67b62ed9_2ebb_488b_ae93_13c137ba4a84 |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.system.IXMLSerialize |
|---|
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
NAStreetDirectionsAgent()
Constructs a NAStreetDirectionsAgent using ArcGIS Engine. |
|
NAStreetDirectionsAgent(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAStreetDirectionsAgent theNAStreetDirectionsAgent = (NAStreetDirectionsAgent) obj; |
|
| Method Summary | |
|---|---|
boolean |
applies(IDENetworkDataset network,
INAContextHelper contextHelper)
Indicates if the agent is appropriate to use with the given network dataset. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
execute(ISet set,
ITrackCancel trackCancel)
Constructs the directions. |
IStringArray |
getAvailableStyleNames()
The collection of style names supported by the agent. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
INAStreetDirectionsContainer |
getDirectionsContainer()
The container for the directions. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getLanguage()
Language to use when generating directions. |
int |
getLengthUnits()
The length units. |
java.lang.String |
getName()
The name of the agent. |
ISpatialReference |
getOutputSpatialReference()
Output spatial reference to use for geometries returned by the directions objects. |
int |
getOutputType()
Output type to use when generating directions. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
java.lang.String |
getStyleName()
Style name to use when generating directions. |
IStringArray |
getSupportedLanguages()
The collection of languages supported by the agent. |
java.lang.String |
getTimeAttributeName()
The network attribute for time calculation. |
int |
hashCode()
the hashcode for this object |
void |
initialize(IDENetworkDataset network,
INAContextHelper contextHelper)
Get the agent ready for action. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAutoShowDirections()
Indicates if directions are automatically updated and shown when a route changes. |
void |
isDirty()
isDirty |
boolean |
isDisplayTime()
Indicates if time is displayed in directions. |
void |
load(IStream pstm)
load |
void |
onContextUpdated()
Called when the context is updated. |
void |
onResultUpdated()
Called when a result is updated. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a NAStreetDirectionsAgent. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAutoShowDirections(boolean show)
Indicates if directions are automatically updated and shown when a route changes. |
void |
setDisplayTime(boolean display)
Indicates if time is displayed in directions. |
void |
setLanguage(java.lang.String strLanguage)
Language to use when generating directions. |
void |
setLengthUnits(int units)
The length units. |
void |
setOutputSpatialReferenceByRef(ISpatialReference ppSpatialReference)
Output spatial reference to use for geometries returned by the directions objects. |
void |
setOutputType(int pOutputType)
Output type to use when generating directions. |
void |
setStyleName(java.lang.String pStyleName)
Style name to use when generating directions. |
void |
setTimeAttributeName(java.lang.String name)
The network attribute for time calculation. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public NAStreetDirectionsAgent()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public NAStreetDirectionsAgent(java.lang.Object obj)
throws java.io.IOException
NAStreetDirectionsAgent theNAStreetDirectionsAgent = (NAStreetDirectionsAgent) obj;
obj to NAStreetDirectionsAgent.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface INAAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(IDENetworkDataset network,
INAContextHelper contextHelper)
throws java.io.IOException,
AutomationException
applies in interface INAAgentnetwork - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)contextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initialize(IDENetworkDataset network,
INAContextHelper contextHelper)
throws java.io.IOException,
AutomationException
initialize in interface INAAgentnetwork - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)contextHelper - A reference to a com.esri.arcgis.networkanalyst.INAContextHelper (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onResultUpdated()
throws java.io.IOException,
AutomationException
onResultUpdated in interface INAAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onContextUpdated()
throws java.io.IOException,
AutomationException
onContextUpdated in interface INAAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLengthUnits()
throws java.io.IOException,
AutomationException
getLengthUnits in interface INAStreetDirectionsAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLengthUnits(int units)
throws java.io.IOException,
AutomationException
setLengthUnits in interface INAStreetDirectionsAgentunits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDisplayTime()
throws java.io.IOException,
AutomationException
isDisplayTime in interface INAStreetDirectionsAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayTime(boolean display)
throws java.io.IOException,
AutomationException
setDisplayTime in interface INAStreetDirectionsAgentdisplay - The display (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTimeAttributeName()
throws java.io.IOException,
AutomationException
getTimeAttributeName in interface INAStreetDirectionsAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeAttributeName(java.lang.String name)
throws java.io.IOException,
AutomationException
setTimeAttributeName in interface INAStreetDirectionsAgentname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoShowDirections()
throws java.io.IOException,
AutomationException
isAutoShowDirections in interface INAStreetDirectionsAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoShowDirections(boolean show)
throws java.io.IOException,
AutomationException
setAutoShowDirections in interface INAStreetDirectionsAgentshow - The show (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAStreetDirectionsContainer getDirectionsContainer()
throws java.io.IOException,
AutomationException
getDirectionsContainer in interface INAStreetDirectionsAgentjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void execute(ISet set,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
execute in interface INAStreetDirectionsAgentset - A reference to a com.esri.arcgis.system.ISet (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getLanguage()
throws java.io.IOException,
AutomationException
getLanguage in interface INAStreetDirectionsAgent2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLanguage(java.lang.String strLanguage)
throws java.io.IOException,
AutomationException
setLanguage in interface INAStreetDirectionsAgent2strLanguage - The strLanguage (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getOutputSpatialReference()
throws java.io.IOException,
AutomationException
getOutputSpatialReference in interface INAStreetDirectionsAgent3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputSpatialReferenceByRef(ISpatialReference ppSpatialReference)
throws java.io.IOException,
AutomationException
setOutputSpatialReferenceByRef in interface INAStreetDirectionsAgent3ppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getSupportedLanguages()
throws java.io.IOException,
AutomationException
getSupportedLanguages in interface INAStreetDirectionsAgent3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getAvailableStyleNames()
throws java.io.IOException,
AutomationException
getAvailableStyleNames in interface INAStreetDirectionsAgent3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getStyleName()
throws java.io.IOException,
AutomationException
getStyleName in interface INAStreetDirectionsAgent3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStyleName(java.lang.String pStyleName)
throws java.io.IOException,
AutomationException
setStyleName in interface INAStreetDirectionsAgent3pStyleName - The pStyleName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOutputType()
throws java.io.IOException,
AutomationException
getOutputType in interface INAStreetDirectionsAgent3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputType(int pOutputType)
throws java.io.IOException,
AutomationException
setOutputType in interface INAStreetDirectionsAgent3pOutputType - A com.esri.arcgis.networkanalyst.esriDirectionsOutputType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||