|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.networkanalysis.INetElementBarriersProxy com.esri.arcgis.networkanalysis.INetElementBarriers2Proxy
public class INetElementBarriers2Proxy
Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object.
Sets of junction barriers and edge barriers should be created seperately.
Use the INetElementBarriers2 interface to create a set of barriers to pass to the TraceFlowSolver object.
Barriers are stopping points affecting a trace. For example, a downed powerline can be a barrier that affects a trace. Barriers do not affect the flow through a network. If you want to change the flow through a stand-alone logical network you can disable individual elements using the INetAttributesEdit::SetDisabledState method. For geometric networks, set the INetworkFeature::Enabled property to False.
Not all members are callable from Java. Please use INetElementBarriersGEN instead.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetElementBarriers2Proxy()
|
|
INetElementBarriers2Proxy(Object obj)
|
protected |
INetElementBarriers2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setBarriersByEID(int count,
int[] eIDs)
Specifies a set of network element IDs to use as barriers. |
Methods inherited from class com.esri.arcgis.networkanalysis.INetElementBarriersProxy |
---|
getElementType, getNetwork, setBarriers, setElementType, setNetworkByRef |
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 |
Methods inherited from interface com.esri.arcgis.networkanalysis.INetElementBarriers |
---|
getElementType, getNetwork, setBarriers, setElementType, setNetworkByRef |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetElementBarriers2Proxy()
public INetElementBarriers2Proxy(Object obj) throws IOException
IOException
protected INetElementBarriers2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class INetElementBarriersProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class INetElementBarriersProxy
IOException
public void setBarriersByEID(int count, int[] eIDs) throws IOException, AutomationException
The Network and ElementType properties must be set before calling SetBarriersByEID.
If there are values in the array that do not correspond to a valid EID in the specified Network, then the NetElementBarriers object simply ignores these values.
This method is not callable from Java. Please use INetElementBarriersGEN::SetBarriersByEID.
setBarriersByEID
in interface INetElementBarriers2
count
- The count (in)eIDs
- The eIDs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |