|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesfile.SMFlag
public class SMFlag
The object that represents flag properties.
| Constructor Summary | |
|---|---|
SMFlag(Object obj)
Construct a SMFlag using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
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. |
int |
hashCode()
the hashcode for this object |
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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public SMFlag(Object obj)
throws IOException
obj to SMFlag. *
SMFlag o = (SMFlag)obj; // will not work
SMFlag o = new SMFlag(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
SMFlag theSMFlag = (SMFlag) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getObjectID()
throws IOException,
AutomationException
Read the street flag ID
getObjectID in interface ISMFlagIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setObjectID(int pVal)
throws IOException,
AutomationException
Write the street flag ID.
setObjectID in interface ISMFlagpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public float getPercentAlong()
throws IOException,
AutomationException
Indicates the flag position along the street in percent.
getPercentAlong in interface ISMFlagIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPercentAlong(float pVal)
throws IOException,
AutomationException
Write the flag position along the street in percent.
setPercentAlong in interface ISMFlagpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSide()
throws IOException,
AutomationException
Indicates what street direction can be used in the stop.
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.
getSide in interface ISMFlagIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSide(int pVal)
throws IOException,
AutomationException
Write the street direction that can be used in the stop.
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.
setSide in interface ISMFlagpVal - A com.esri.arcgis.datasourcesfile.esriSMStreetSideType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMRouterPoint getStreetPoint()
throws IOException,
AutomationException
Provides the geographic location of the flag.
getStreetPoint in interface ISMFlagIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStreetPoint(ISMRouterPoint pVal)
throws IOException,
AutomationException
Writes the geographic location of the flag.
setStreetPoint in interface ISMFlagpVal - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (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 | ||||||||