|
|||||||||
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
public class INetElementBarriersProxy
Provides access to members that specify a set of barriers for the TraceFlowSolver object.
Sets of junction barriers and edge barriers should be created seperately.
Use the INetElementBarriers 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.
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetElementBarriersProxy()
|
|
INetElementBarriersProxy(Object obj)
|
protected |
INetElementBarriersProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getElementType()
Type of network element on which the barriers are placed. |
INetwork |
getNetwork()
Network on which the barrier set is placed. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setBarriers(int userClassID,
int count,
int[] userIDs)
Specifies a set of network features to use as barriers. |
void |
setElementType(int elementType)
Type of network element on which the barriers are placed. |
void |
setNetworkByRef(INetwork network)
Network on which the barrier set is placed. |
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public INetElementBarriersProxy()
public INetElementBarriersProxy(Object obj) throws IOException
IOException
protected INetElementBarriersProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void setNetworkByRef(INetwork network) throws IOException, AutomationException
setNetworkByRef
in interface INetElementBarriers
network
- A reference to a com.esri.arcgis.geodatabase.INetwork (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetwork getNetwork() throws IOException, AutomationException
getNetwork
in interface INetElementBarriers
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElementType(int elementType) throws IOException, AutomationException
setElementType
in interface INetElementBarriers
elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getElementType() throws IOException, AutomationException
getElementType
in interface INetElementBarriers
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBarriers(int userClassID, int count, int[] userIDs) throws IOException, AutomationException
The Network and ElementType properties must be set before calling SetBarriers.
This method is not callable from Java. Please use INetElementBarriersGEN::SetBarriers.
setBarriers
in interface INetElementBarriers
userClassID
- The userClassID (in)count
- The count (in)userIDs
- The userIDs (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 |