com.esri.arcgis.datasourcesfile
Class SMRouterEnvelope

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMRouterEnvelope
All Implemented Interfaces:
ISMRouterEnvelope, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SMRouterEnvelope
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMRouterEnvelope

Deprecated as of 10.1. The bounding envelope of the route path.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SMRouterEnvelope(Object obj)
          Construct a SMRouterEnvelope using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 double getBottom()
          The position of the bottom.
 double getLeft()
          The position of the left side.
 double getRight()
          The position of the right side.
 double getTop()
          The position of the top.
 int hashCode()
          the hashcode for this object
 void setBottom(double pVal)
          The position of the bottom.
 void setLeft(double pVal)
          The position of the left side.
 void setRight(double pVal)
          The position of the right side.
 void setTop(double pVal)
          The position of the top.
 
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

SMRouterEnvelope

public SMRouterEnvelope(Object obj)
                 throws IOException
Construct a SMRouterEnvelope using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SMRouterEnvelope.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
SMRouterEnvelope o = (SMRouterEnvelope)obj; // will not work

SMRouterEnvelope o = new SMRouterEnvelope(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems SMRouterEnvelope theSMRouterEnvelope = (SMRouterEnvelope) obj;
Method Detail

equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getTop

public double getTop()
              throws IOException,
                     AutomationException
The position of the top.

Description

Returns the top coordinate of the envelope.

Product Availability

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

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

setTop

public void setTop(double pVal)
            throws IOException,
                   AutomationException
The position of the top.

Description

Sets the top coordinate of the envelope.

Product Availability

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

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

getBottom

public double getBottom()
                 throws IOException,
                        AutomationException
The position of the bottom.

Description

Returns the bottom coordinate of the envelope.

Product Availability

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

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

setBottom

public void setBottom(double pVal)
               throws IOException,
                      AutomationException
The position of the bottom.

Description

Sets the bottom coordinate of the envelope.

Product Availability

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

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

getLeft

public double getLeft()
               throws IOException,
                      AutomationException
The position of the left side.

Description

Returns the left coordinate of the envelope.

Product Availability

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

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

setLeft

public void setLeft(double pVal)
             throws IOException,
                    AutomationException
The position of the left side.

Description

Sets the left coordinate of the envelope.

Product Availability

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

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

getRight

public double getRight()
                throws IOException,
                       AutomationException
The position of the right side.

Description

Returns the right coordinate of the envelope.

Product Availability

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

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

setRight

public void setRight(double pVal)
              throws IOException,
                     AutomationException
The position of the right side.

Description

Sets the right coordinate of the envelope.

Product Availability

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

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