|
|||||||||
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.geodatabase.INetworkAttributeProxy com.esri.arcgis.geodatabase.INetworkAttribute2Proxy
public class INetworkAttribute2Proxy
Provides access to members that specify the properties of an attribute in a network dataset.
INetworkAttribute2 has been superseded by INetworkAttribute3.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetworkAttribute2Proxy()
|
|
INetworkAttribute2Proxy(Object obj)
|
protected |
INetworkAttribute2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IArray |
getParameters()
Array of parameters for this network attribute. |
boolean |
isUseByDefault()
Indicates if this network attribute is to be used by default. |
void |
refresh()
Refresh the network evaluators assigned to this network attribute. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setParametersByRef(IArray parameters)
Array of parameters for this network attribute. |
void |
setUseByDefault(boolean useByDefault)
Indicates if this network attribute is to be used by default. |
Methods inherited from class com.esri.arcgis.geodatabase.INetworkAttributeProxy |
---|
getDataType, getID, getName, getUnits, getUsageType, setDataType, setName, setUnits, setUsageType |
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.geodatabase.INetworkAttribute |
---|
getDataType, getID, getName, getUnits, getUsageType, setDataType, setName, setUnits, setUsageType |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetworkAttribute2Proxy()
public INetworkAttribute2Proxy(Object obj) throws IOException
IOException
protected INetworkAttribute2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class INetworkAttributeProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class INetworkAttributeProxy
IOException
public IArray getParameters() throws IOException, AutomationException
This property provides access to the IArray interface that holds the collection of NetworkAttributeParameter objects that are available for this NetworkAttribute.
getParameters
in interface INetworkAttribute2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParametersByRef(IArray parameters) throws IOException, AutomationException
This property provides access to the IArray interface that holds the collection of NetworkAttributeParameter objects that are available for this NetworkAttribute.
setParametersByRef
in interface INetworkAttribute2
parameters
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
Calling Refresh propogates the call to INetworkEvaluator2::Refresh on the attribute's underlying network evaluators that implement INetworkEvaluator2. This gives the evaluator an opportunity to update its state based on current data or parameter values. This method is called by the network analyst solvers after setting INetworkAttribute2::Parameters prior to performing the solve operation.
refresh
in interface INetworkAttribute2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseByDefault() throws IOException, AutomationException
If the UseByDefault property is set to True for a NetworkAttribute, the network attribute will automatically be set as an option (e.g., impedance, restriction, hierarchy) when a new network analysis layer is created in ArcMap.
isUseByDefault
in interface INetworkAttribute2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseByDefault(boolean useByDefault) throws IOException, AutomationException
setUseByDefault
in interface INetworkAttribute2
useByDefault
- The useByDefault (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 |