|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalyst.NAContext
public class NAContext
COM Class 'NAContext'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'
Description 'The analysis and problem definition container.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.networkanalyst.INAContext |
---|
IID, IIDc719fa92_cd10_4fcd_aa0b_38921f1d40e9, xxDummy |
Fields inherited from interface com.esri.arcgis.networkanalyst.INAContextEdit |
---|
IID, IID83fb4cbe_4f5c_451e_89ba_db9f01244f4f, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Constructor Summary | |
---|---|
NAContext()
Constructs a NAContext using ArcGIS Engine. |
|
NAContext(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAContext theNAContext = (NAContext) obj; |
Method Summary | |
---|---|
void |
abortEditOperation()
Cancels an edit operation in progress. |
void |
addINAContextEvents2Listener(INAContextEvents2 theListener)
addINAContextEvents2Listener. |
void |
addINAContextEventsListener(INAContextEvents theListener)
addINAContextEventsListener. |
void |
bind(INetworkDataset pNetworkDataset,
IGPMessages pGPMessages)
Prepare the context for analysis based upon the current network dataset schema. |
void |
clearInputNAObjects()
Empty NAClasses that are defined as input or input/output. |
void |
clearOutputNAObjects()
Empty NAClasses that are defined as output only. |
void |
contextChanged()
Message all of the network analysis agents that the analysis context has changed. |
INAClass |
createAnalysisClass(INAClassDefinition classDef)
Create a new analysis class based upon the given class definition. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
INamedSet |
getAgents()
The collection of agents associated with the analysis. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
INALocator |
getLocator()
The locator used for finding network locations for class items. |
INamedSet |
getNAClasses()
The collection of classes associated with the analysis. |
java.lang.String |
getName()
The name of the analysis. |
INetworkDataset |
getNetworkDataset()
The associated network dataset. |
IName |
getNetworkDatasetName()
The associated network dataset name. |
INAResult |
getResult()
The result for the analysis. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
INASolver |
getSolver()
The function used for the analysis. |
ISpatialReference |
getSpatialReference()
The spatial reference of the analysis. |
int |
hashCode()
the hashcode for this object |
boolean |
hasRedos()
Indicates if any redo operations are available. |
boolean |
hasUndos()
Indicates if any undo operations are available. |
void |
initialize(java.lang.String name,
IDENetworkDataset network)
Prepare the context for analysis. |
boolean |
isBeingEdited()
Indicates if the class is currently being edited. |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
redoEditOperation()
Repeats the last edit operation. |
void |
release()
Release a NAContext. |
void |
removeINAContextEvents2Listener(INAContextEvents2 theListener)
removeINAContextEvents2Listener. |
void |
removeINAContextEventsListener(INAContextEvents theListener)
removeINAContextEventsListener. |
void |
resultChanged()
Message all of the network analysis agents that the analysis results have changed. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setLocatorByRef(INALocator rhs1)
The locator used for finding network locations. |
void |
setResultByRef(INAResult rhs1)
The result of the analysis. |
void |
setSolverByRef(INASolver rhs1)
The function used for the analysis. |
void |
startEditing(boolean withUndoRedo)
Starts an edit session. |
void |
startEditOperation()
Starts an edit operation. |
void |
stopEditing(boolean saveEdits)
Stops an edit session. |
void |
stopEditOperation()
Stops an edit operation. |
void |
undoEditOperation()
Cancels the last edit operation and returns to the state before it was started. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public NAContext() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic NAContext(java.lang.Object obj) throws java.io.IOException
NAContext theNAContext = (NAContext) obj;
obj
to NAContext
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addINAContextEventsListener(INAContextEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalyst.INAContextEvents interface.
java.io.IOException
- If there are communications problems.public void removeINAContextEventsListener(INAContextEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalyst.INAContextEvents interface.
java.io.IOException
- If there are communications problems.public void addINAContextEvents2Listener(INAContextEvents2 theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalyst.INAContextEvents2 interface.
java.io.IOException
- If there are communications problems.public void removeINAContextEvents2Listener(INAContextEvents2 theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.networkanalyst.INAContextEvents2 interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INASolver getSolver() throws java.io.IOException, AutomationException
getSolver
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INamedSet getAgents() throws java.io.IOException, AutomationException
getAgents
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAResult getResult() throws java.io.IOException, AutomationException
getResult
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INamedSet getNAClasses() throws java.io.IOException, AutomationException
getNAClasses
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INALocator getLocator() throws java.io.IOException, AutomationException
getLocator
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetworkDataset getNetworkDataset() throws java.io.IOException, AutomationException
getNetworkDataset
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getNetworkDatasetName() throws java.io.IOException, AutomationException
getNetworkDatasetName
in interface INAContext
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResultByRef(INAResult rhs1) throws java.io.IOException, AutomationException
setResultByRef
in interface INAContextEdit
rhs1
- A reference to a com.esri.arcgis.networkanalyst.INAResult (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSolverByRef(INASolver rhs1) throws java.io.IOException, AutomationException
setSolverByRef
in interface INAContextEdit
rhs1
- A reference to a com.esri.arcgis.networkanalyst.INASolver (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocatorByRef(INALocator rhs1) throws java.io.IOException, AutomationException
setLocatorByRef
in interface INAContextEdit
rhs1
- A reference to a com.esri.arcgis.networkanalyst.INALocator (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(java.lang.String name, IDENetworkDataset network) throws java.io.IOException, AutomationException
initialize
in interface INAContextEdit
name
- The name (in)network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void bind(INetworkDataset pNetworkDataset, IGPMessages pGPMessages) throws java.io.IOException, AutomationException
bind
in interface INAContextEdit
pNetworkDataset
- A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)pGPMessages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearInputNAObjects() throws java.io.IOException, AutomationException
clearInputNAObjects
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearOutputNAObjects() throws java.io.IOException, AutomationException
clearOutputNAObjects
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contextChanged() throws java.io.IOException, AutomationException
contextChanged
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resultChanged() throws java.io.IOException, AutomationException
resultChanged
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAClass createAnalysisClass(INAClassDefinition classDef) throws java.io.IOException, AutomationException
createAnalysisClass
in interface INAContextEdit
classDef
- A reference to a com.esri.arcgis.networkanalyst.INAClassDefinition (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startEditing(boolean withUndoRedo) throws java.io.IOException, AutomationException
startEditing
in interface INAContextEdit
withUndoRedo
- The withUndoRedo (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stopEditing(boolean saveEdits) throws java.io.IOException, AutomationException
stopEditing
in interface INAContextEdit
saveEdits
- The saveEdits (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startEditOperation() throws java.io.IOException, AutomationException
startEditOperation
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stopEditOperation() throws java.io.IOException, AutomationException
stopEditOperation
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void abortEditOperation() throws java.io.IOException, AutomationException
abortEditOperation
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void undoEditOperation() throws java.io.IOException, AutomationException
undoEditOperation
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void redoEditOperation() throws java.io.IOException, AutomationException
redoEditOperation
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasRedos() throws java.io.IOException, AutomationException
hasRedos
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasUndos() throws java.io.IOException, AutomationException
hasUndos
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBeingEdited() throws java.io.IOException, AutomationException
isBeingEdited
in interface INAContextEdit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |