|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IRouteLocatorName getRouteLocatorName(ILayer layer) throws IOException, AutomationException
getRouteLocatorName
in interface IRouteLayerExtension
layer
- 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 IRouteLayerExtension
IOException
- 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 IRouteLayerExtension
layer
- 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 ILayerExtensionDraw
pLayer
- 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 ILayerExtensionDraw
pLayer
- 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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 ISupportErrorInfo
riid
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |