com.esri.arcgis.networkanalyst
Class INACompactStreetDirection2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalyst.INACompactStreetDirectionProxy
          extended by com.esri.arcgis.networkanalyst.INACompactStreetDirection2Proxy
All Implemented Interfaces:
INACompactStreetDirection, INACompactStreetDirection2, Externalizable, Serializable

public class INACompactStreetDirection2Proxy
extends INACompactStreetDirectionProxy
implements INACompactStreetDirection2, Serializable

Provides access to a compact street direction item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  INACompactStreetDirection2Proxy()
           
  INACompactStreetDirection2Proxy(Object obj)
           
protected INACompactStreetDirection2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getDepartBearing()
          The depart bearing of the item.
 IArray getEvents()
          The collection of events along the item.
 double getGeneralBearing()
          The general bearing of the item.
 String getString(int index)
          The direction string by its index.
 int getStringCount()
          The number of direction strings in this item.
 int getStringType(int index)
          The direction string type by its index.
 double getTurnAngle()
          The turn angle at the maneuver point of the item.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.networkanalyst.INACompactStreetDirectionProxy
getCompressedGeometry, getETA, getLength, getManeuverType, getText, getTime
 
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
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INACompactStreetDirection
getCompressedGeometry, getETA, getLength, getManeuverType, getText, getTime
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INACompactStreetDirection2Proxy

public INACompactStreetDirection2Proxy()

INACompactStreetDirection2Proxy

public INACompactStreetDirection2Proxy(Object obj)
                                throws IOException
Throws:
IOException

INACompactStreetDirection2Proxy

protected INACompactStreetDirection2Proxy(Object obj,
                                          String iid)
                                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class INACompactStreetDirectionProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class INACompactStreetDirectionProxy
Throws:
IOException

getTurnAngle

public double getTurnAngle()
                    throws IOException,
                           AutomationException
The turn angle at the maneuver point of the item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTurnAngle in interface INACompactStreetDirection2
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDepartBearing

public double getDepartBearing()
                        throws IOException,
                               AutomationException
The depart bearing of the item.

Remarks

The travel bearing, in degrees measured clockwise from north, at the beginning of the maneuver covered by this direction item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDepartBearing in interface INACompactStreetDirection2
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeneralBearing

public double getGeneralBearing()
                         throws IOException,
                                AutomationException
The general bearing of the item.

Remarks

The general bearing, in degrees measured clockwise from north, of the maneuver covered by this direction item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGeneralBearing in interface INACompactStreetDirection2
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEvents

public IArray getEvents()
                 throws IOException,
                        AutomationException
The collection of events along the item.

Remarks

An event in a direction item is something that occurs during themaneuver that is not an action item. Crossing a time zone or jurisdictional boundary are examples of direction events.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getEvents in interface INACompactStreetDirection2
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringCount

public int getStringCount()
                   throws IOException,
                          AutomationException
The number of direction strings in this item.

Remarks

A direction item can be made up of multiple strings of the types delineated by esriDirectionsStringType. You can access an item's strings by using StringCount to loop over String.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getStringCount in interface INACompactStreetDirection2
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getString

public String getString(int index)
                 throws IOException,
                        AutomationException
The direction string by its index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getString in interface INACompactStreetDirection2
Parameters:
index - The index (in)
Returns:
The directionString
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringType

public int getStringType(int index)
                  throws IOException,
                         AutomationException
The direction string type by its index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getStringType in interface INACompactStreetDirection2
Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.networkanalyst.esriDirectionsStringType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.