|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMRoadPreferences
public class SMRoadPreferences
The object for retrieving and modifying road preferences.
Constructor Summary | |
---|---|
SMRoadPreferences(Object obj)
Construct a SMRoadPreferences using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
short |
getItem(int roadType)
The preference value for the specified road type. |
int |
hashCode()
the hashcode for this object |
void |
setItem(int roadType,
short pVal)
The preference value for the specified road type. |
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 SMRoadPreferences(Object obj) throws IOException
obj
to SMRoadPreferences
. *
SMRoadPreferences o = (SMRoadPreferences)obj; // will not work
SMRoadPreferences o = new SMRoadPreferences(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SMRoadPreferences theSMRoadPreferences = (SMRoadPreferences) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public short getItem(int roadType) throws IOException, AutomationException
getItem
in interface ISMRoadPreferences
roadType
- A com.esri.arcgis.datasourcesfile.esriSMRoadType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setItem(int roadType, short pVal) throws IOException, AutomationException
setItem
in interface ISMRoadPreferences
roadType
- A com.esri.arcgis.datasourcesfile.esriSMRoadType constant (in)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 |