com.esri.arcgis.location
Class RouteMeasureLineLocation

java.lang.Object
  extended by com.esri.arcgis.location.RouteMeasureLineLocation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRouteLocation, IRouteLocation2, IRouteMeasureLineLocation, ISupportErrorInfo, java.io.Serializable

public class RouteMeasureLineLocation
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRouteLocation2, IRouteMeasureLineLocation, ISupportErrorInfo

COM Class 'RouteMeasureLineLocation'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'

Description 'A route measure line location.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.location.IRouteLocation2
IID, IIDdc709919_fadb_4008_a90a_7be613557170, xxDummy
 
Fields inherited from interface com.esri.arcgis.location.IRouteLocation
IID354b908d_3bba_11d4_9fcc_00c04f6bdf06
 
Fields inherited from interface com.esri.arcgis.location.IRouteMeasureLineLocation
IID, IID354b908f_3bba_11d4_9fcc_00c04f6bdf06, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RouteMeasureLineLocation()
          Constructs a RouteMeasureLineLocation using ArcGIS Engine.
RouteMeasureLineLocation(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasureLineLocation theRouteMeasureLineLocation = (RouteMeasureLineLocation) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 double getFromMeasure()
          The 'from' measure value.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getLateralOffset()
          The route location's lateral offset (default 0.0).
 int getMeasureUnit()
          The route location's measure units.
 java.lang.Object getRouteID()
          The route identifier (string, integer or double).
 double getToMeasure()
          The 'to' measure value.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isMDirectionOffsetting()
          Indicates if the offset should based on the M direction or the digitized direction.
 void release()
          Release a RouteMeasureLineLocation.
 void setFromMeasure(double value)
          The 'from' measure value.
 void setLateralOffset(double value)
          The route location's lateral offset (default 0.0).
 void setMDirectionOffsetting(boolean value)
          Indicates if the offset should based on the M direction or the digitized direction.
 void setMeasureUnit(int units)
          The route location's measure units.
 void setRouteID(java.lang.Object rid)
          The route identifier (string, integer or double).
 void setToMeasure(double value)
          The 'to' measure value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteMeasureLineLocation

public RouteMeasureLineLocation()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a RouteMeasureLineLocation using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RouteMeasureLineLocation

public RouteMeasureLineLocation(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasureLineLocation theRouteMeasureLineLocation = (RouteMeasureLineLocation) obj;

Construct a RouteMeasureLineLocation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RouteMeasureLineLocation.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RouteMeasureLineLocation.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setMDirectionOffsetting

public void setMDirectionOffsetting(boolean value)
                             throws java.io.IOException,
                                    AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Specified by:
setMDirectionOffsetting in interface IRouteLocation2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMDirectionOffsetting

public boolean isMDirectionOffsetting()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Specified by:
isMDirectionOffsetting in interface IRouteLocation2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRouteID

public void setRouteID(java.lang.Object rid)
                throws java.io.IOException,
                       AutomationException
The route identifier (string, integer or double).

Specified by:
setRouteID in interface IRouteLocation
Parameters:
rid - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRouteID

public java.lang.Object getRouteID()
                            throws java.io.IOException,
                                   AutomationException
The route identifier (string, integer or double).

Specified by:
getRouteID in interface IRouteLocation
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasureUnit

public void setMeasureUnit(int units)
                    throws java.io.IOException,
                           AutomationException
The route location's measure units.

Specified by:
setMeasureUnit in interface IRouteLocation
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasureUnit

public int getMeasureUnit()
                   throws java.io.IOException,
                          AutomationException
The route location's measure units.

Specified by:
getMeasureUnit in interface IRouteLocation
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLateralOffset

public void setLateralOffset(double value)
                      throws java.io.IOException,
                             AutomationException
The route location's lateral offset (default 0.0).

Specified by:
setLateralOffset in interface IRouteLocation
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLateralOffset

public double getLateralOffset()
                        throws java.io.IOException,
                               AutomationException
The route location's lateral offset (default 0.0).

Specified by:
getLateralOffset in interface IRouteLocation
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromMeasure

public void setFromMeasure(double value)
                    throws java.io.IOException,
                           AutomationException
The 'from' measure value.

Specified by:
setFromMeasure in interface IRouteMeasureLineLocation
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFromMeasure

public double getFromMeasure()
                      throws java.io.IOException,
                             AutomationException
The 'from' measure value.

Specified by:
getFromMeasure in interface IRouteMeasureLineLocation
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToMeasure

public void setToMeasure(double value)
                  throws java.io.IOException,
                         AutomationException
The 'to' measure value.

Specified by:
setToMeasure in interface IRouteMeasureLineLocation
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToMeasure

public double getToMeasure()
                    throws java.io.IOException,
                           AutomationException
The 'to' measure value.

Specified by:
getToMeasure in interface IRouteMeasureLineLocation
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.