com.esri.arcgis.carto
Class INetworkSourceRendererProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.INetworkSourceRendererProxy
All Implemented Interfaces:
INetworkSourceRenderer, Externalizable, Serializable

public class INetworkSourceRendererProxy
extends com.esri.arcgis.interop.Dispatch
implements INetworkSourceRenderer, Serializable

Provides access to members that control the display properties of the sources consumed by the renderer.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  INetworkSourceRendererProxy()
           
  INetworkSourceRendererProxy(Object obj)
           
protected INetworkSourceRendererProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void bindSources(INetworkDataset pNetworkDataset)
          Caches the subset of network sources that can be drawn by this renderer.
 void getSourceNames(IStringArray ppSourceNames)
          The cached subset of network sources that can be drawn by this renderer.
 String getSourceQueryExpression(String sourceName)
          The query expression used to identify the subset of source features whose elements should be rendered.
 boolean isSourceVisible(String sourceName)
          Indicates if elements of the specified source should be rendered.
 boolean isTrafficElementsOnly()
          Indicates if only traffic features should be included in the subset of source features whose elements should be rendered.
 void removeListener(String iidStr, Object theListener)
           
 void setIsSourceVisible(String sourceName, boolean visible)
          Indicates if elements of the specified source should be rendered.
 void setSourceQueryExpression(String sourceName, String expression)
          The query expression used to identify the subset of source features whose elements should be rendered.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INetworkSourceRendererProxy

public INetworkSourceRendererProxy()

INetworkSourceRendererProxy

public INetworkSourceRendererProxy(Object obj)
                            throws IOException
Throws:
IOException

INetworkSourceRendererProxy

protected INetworkSourceRendererProxy(Object obj,
                                      String iid)
                               throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

bindSources

public void bindSources(INetworkDataset pNetworkDataset)
                 throws IOException,
                        AutomationException
Caches the subset of network sources that can be drawn by this renderer.

Product Availability

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

Specified by:
bindSources in interface INetworkSourceRenderer
Parameters:
pNetworkDataset - A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceNames

public void getSourceNames(IStringArray ppSourceNames)
                    throws IOException,
                           AutomationException
The cached subset of network sources that can be drawn by this renderer.

Product Availability

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

Specified by:
getSourceNames in interface INetworkSourceRenderer
Parameters:
ppSourceNames - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSourceVisible

public boolean isSourceVisible(String sourceName)
                        throws IOException,
                               AutomationException
Indicates if elements of the specified source should be rendered.

Product Availability

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

Specified by:
isSourceVisible in interface INetworkSourceRenderer
Parameters:
sourceName - The sourceName (in)
Returns:
The visible
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsSourceVisible

public void setIsSourceVisible(String sourceName,
                               boolean visible)
                        throws IOException,
                               AutomationException
Indicates if elements of the specified source should be rendered.

Product Availability

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

Specified by:
setIsSourceVisible in interface INetworkSourceRenderer
Parameters:
sourceName - The sourceName (in)
visible - The visible (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSourceQueryExpression

public String getSourceQueryExpression(String sourceName)
                                throws IOException,
                                       AutomationException
The query expression used to identify the subset of source features whose elements should be rendered.

Product Availability

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

Specified by:
getSourceQueryExpression in interface INetworkSourceRenderer
Parameters:
sourceName - The sourceName (in)
Returns:
The expression
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceQueryExpression

public void setSourceQueryExpression(String sourceName,
                                     String expression)
                              throws IOException,
                                     AutomationException
The query expression used to identify the subset of source features whose elements should be rendered.

Product Availability

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

Specified by:
setSourceQueryExpression in interface INetworkSourceRenderer
Parameters:
sourceName - The sourceName (in)
expression - The expression (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTrafficElementsOnly

public boolean isTrafficElementsOnly()
                              throws IOException,
                                     AutomationException
Indicates if only traffic features should be included in the subset of source features whose elements should be rendered.

Product Availability

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

Specified by:
isTrafficElementsOnly in interface INetworkSourceRenderer
Returns:
The trafficElementsOnly
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.