com.esri.arcgis.datasourcesfile
Class ISMFlagProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMFlagProxy
All Implemented Interfaces:
ISMFlag, Externalizable, Serializable

public class ISMFlagProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMFlag, Serializable

Provides access to the information about a stop's geographic location.

Description

Provides information such as stop location on the street, street side, and position on the street segment.

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
  ISMFlagProxy()
           
  ISMFlagProxy(Object obj)
           
protected ISMFlagProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getObjectID()
          Flag ID.
 float getPercentAlong()
          Flag position along the street segment as a percent of the segment length.
 int getSide()
          The side of the street that the flag is on.
 ISMRouterPoint getStreetPoint()
          The geographic location of the flag.
 void removeListener(String iidStr, Object theListener)
           
 void setObjectID(int pVal)
          Flag ID.
 void setPercentAlong(float pVal)
          Flag position along the street segment as a percent of the segment length.
 void setSide(int pVal)
          The side of the street that the flag is on.
 void setStreetPoint(ISMRouterPoint pVal)
          The geographic location of the flag.
 
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

noncastable

public boolean noncastable
Constructor Detail

ISMFlagProxy

public ISMFlagProxy()

ISMFlagProxy

public ISMFlagProxy(Object obj)
             throws IOException
Throws:
IOException

ISMFlagProxy

protected ISMFlagProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getObjectID

public int getObjectID()
                throws IOException,
                       AutomationException
Flag ID.

Description

Read the street flag ID

Product Availability

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

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

setObjectID

public void setObjectID(int pVal)
                 throws IOException,
                        AutomationException
Flag ID.

Description

Write the street flag ID.

Product Availability

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

Specified by:
setObjectID in interface ISMFlag
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPercentAlong

public float getPercentAlong()
                      throws IOException,
                             AutomationException
Flag position along the street segment as a percent of the segment length.

Description

Indicates the flag position along the street in percent.

Product Availability

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

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

setPercentAlong

public void setPercentAlong(float pVal)
                     throws IOException,
                            AutomationException
Flag position along the street segment as a percent of the segment length.

Description

Write the flag position along the street in percent.

Product Availability

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

Specified by:
setPercentAlong in interface ISMFlag
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSide

public int getSide()
            throws IOException,
                   AutomationException
The side of the street that the flag is on. Returns an esriSMStreetSideType constant.

Description

Indicates what street direction can be used in the stop.

Remarks

Side property indicates what street direction can be used in stop. It equals esriSMStreetSideLeft value if right side of street (forward direction) is allowed, it equals esriSMStreetSideRight value for left side (backward direction). It equals esriSMStreetSideUndefined if both directions are allowed.

Product Availability

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

Specified by:
getSide in interface ISMFlag
Returns:
A com.esri.arcgis.datasourcesfile.esriSMStreetSideType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSide

public void setSide(int pVal)
             throws IOException,
                    AutomationException
The side of the street that the flag is on. Returns an esriSMStreetSideType constant.

Description

Write the street direction that can be used in the stop.

Remarks

Side property indicates what street direction can be used in stop. It equals esriSMStreetSideLeft value if right side of street (forward direction) is allowed, it equals esriSMStreetSideRight value for left side (backward direction). It equals esriSMStreetSideUndefined if both directions are allowed.

Product Availability

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

Specified by:
setSide in interface ISMFlag
Parameters:
pVal - A com.esri.arcgis.datasourcesfile.esriSMStreetSideType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStreetPoint

public ISMRouterPoint getStreetPoint()
                              throws IOException,
                                     AutomationException
The geographic location of the flag.

Description

Provides the geographic location of the flag.

Product Availability

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

Specified by:
getStreetPoint in interface ISMFlag
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStreetPoint

public void setStreetPoint(ISMRouterPoint pVal)
                    throws IOException,
                           AutomationException
The geographic location of the flag.

Description

Writes the geographic location of the flag.

Product Availability

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

Specified by:
setStreetPoint in interface ISMFlag
Parameters:
pVal - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.