| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.location.RouteLayerExtension
public class RouteLayerExtension
Layer Extension for route feature class.
The RouteLayerExtension is a FeatureLayer extension which provides information about RouteMeasureLocatorName, and allows you to set the route reference's route identifier. In ArcMap, RouteLayerExtension object gets created everytime a PolylineM feature class is added.
| Constructor Summary | |
|---|---|
RouteLayerExtension()
Constructs a RouteLayerExtension using ArcGIS Engine.  | 
|
RouteLayerExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  RouteLayerExtension theRouteLayerExtension = (RouteLayerExtension) obj; | 
|
| Method Summary | |
|---|---|
 void | 
afterLayerDraw(ILayer pLayer,
               int drawPhase,
               IDisplay pDisplay,
               ITrackCancel pTrackCancel)
Drawing event called after layer draws.  | 
 void | 
beforeLayerDraw(ILayer pLayer,
                int drawPhase,
                IDisplay pDisplay,
                ITrackCancel pTrackCancel)
Drawing event called before layer draws.  | 
 boolean | 
equals(Object o)
Compare this object with another  | 
 void | 
getClassID(GUID[] pClassID)
getClassID  | 
static String | 
getClsid()
getClsid.  | 
 String | 
getRouteIDFieldName()
The route id field name.  | 
 IRouteLocatorName | 
getRouteLocatorName(ILayer layer)
The route locator name.  | 
 void | 
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax  | 
 int | 
hashCode()
the hashcode for this object  | 
 void | 
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo  | 
 void | 
isDirty()
isDirty  | 
 void | 
load(IStream pstm)
load  | 
 void | 
readExternal(ObjectInput in)
 | 
 void | 
save(IStream pstm,
     int fClearDirty)
save  | 
 void | 
setRouteIDFieldName(ILayer layer,
                    String fieldName)
Set the route id field name.  | 
 void | 
writeExternal(ObjectOutput out)
 | 
| 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 RouteLayerExtension()
                    throws IOException,
                           UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RouteLayerExtension(Object obj)
                    throws IOException
 RouteLayerExtension theRouteLayerExtension = (RouteLayerExtension) obj;
obj to RouteLayerExtension.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IRouteLocatorName getRouteLocatorName(ILayer layer)
                                      throws IOException,
                                             AutomationException
getRouteLocatorName in interface IRouteLayerExtensionlayer - A reference to a com.esri.arcgis.carto.ILayer  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getRouteIDFieldName()
                           throws IOException,
                                  AutomationException
This is used to get the route identifer (RouteIDFieldName) from the IRouteLocatorName interface.
getRouteIDFieldName in interface IRouteLayerExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteIDFieldName(ILayer layer,
                                String fieldName)
                         throws IOException,
                                AutomationException
This sets the RouteIDFieldName for the route layer.
setRouteIDFieldName in interface IRouteLayerExtensionlayer - A reference to a com.esri.arcgis.carto.ILayer  (in)fieldName - The fieldName  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void beforeLayerDraw(ILayer pLayer,
                            int drawPhase,
                            IDisplay pDisplay,
                            ITrackCancel pTrackCancel)
                     throws IOException,
                            AutomationException
beforeLayerDraw in interface ILayerExtensionDrawpLayer - A reference to a com.esri.arcgis.carto.ILayer  (in)drawPhase - A com.esri.arcgis.system.esriDrawPhase constant  (in)pDisplay - A reference to a com.esri.arcgis.display.IDisplay  (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void afterLayerDraw(ILayer pLayer,
                           int drawPhase,
                           IDisplay pDisplay,
                           ITrackCancel pTrackCancel)
                    throws IOException,
                           AutomationException
afterLayerDraw in interface ILayerExtensionDrawpLayer - A reference to a com.esri.arcgis.carto.ILayer  (in)drawPhase - A com.esri.arcgis.system.esriDrawPhase constant  (in)pDisplay - A reference to a com.esri.arcgis.display.IDisplay  (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
             throws IOException,
                    AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)fClearDirty - The fClearDirty  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||