|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.framework.AppROT
public class AppROT
Esri application running object table.
Constructor Summary | |
---|---|
AppROT()
Constructs a AppROT using ArcGIS Engine. |
|
AppROT(Object obj)
Construct a AppROT using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
int |
add(IApplication pApp)
Adds an application reference to the running object table. |
void |
addIAppROTEventsListener(IAppROTEvents theListener)
addIAppROTEventsListener. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
int |
getCount()
The count of application references within the running object table. |
IApplication |
getItem(int index)
The application reference at the specified index in the running object table. |
int |
hashCode()
the hashcode for this object |
void |
remove(int cookie)
Removes an application reference from the running object table. |
void |
removeIAppROTEventsListener(IAppROTEvents theListener)
removeIAppROTEventsListener. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public AppROT() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AppROT(Object obj) throws IOException
obj
to AppROT
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
AppROT theAppROT = (AppROT) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIAppROTEventsListener(IAppROTEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.framework.IAppROTEvents interface.
IOException
- If there are communications problems.public void removeIAppROTEventsListener(IAppROTEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.framework.IAppROTEvents interface.
IOException
- If there are communications problems.public int add(IApplication pApp) throws IOException, AutomationException
add
in interface IAppROT
pApp
- A reference to a com.esri.arcgis.framework.IApplication (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IApplication
public void remove(int cookie) throws IOException, AutomationException
remove
in interface IAppROT
cookie
- The cookie (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
The following example uses AppROT's Count property to determine if any applications are already running. You would get m_app from the hook in ICommand::OnCreate().
getCount
in interface IAppROT
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IApplication getItem(int index) throws IOException, AutomationException
getItem
in interface IAppROT
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
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)
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 |