|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.InputDeviceManager
public class InputDeviceManager
Input Device Manager - a singleton.
Constructor Summary | |
---|---|
InputDeviceManager()
Constructs a InputDeviceManager using ArcGIS Engine. |
|
InputDeviceManager(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. InputDeviceManager theInputDeviceManager = (InputDeviceManager) obj; |
Method Summary | |
---|---|
void |
addDevice(IUID pDeviceCLSID,
Object initializationData)
Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup. |
boolean |
equals(Object o)
Compare this object with another |
IExtension |
findDevice(Object nameOrID)
Finds the input device by CLSID (IUID) or name (String). |
static String |
getClsid()
getClsid. |
IExtension |
getDevice(int index)
The input device at the specified index. |
IUID |
getDeviceCLSID(int index)
The CLSID of the input device at the specified index. |
int |
getDeviceCount()
The number of input devices loaded in the application. |
int |
hashCode()
the hashcode for this object |
void |
shutdownDevices()
Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown. |
void |
startupDevices(Object initializationData)
Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup. |
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 InputDeviceManager() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic InputDeviceManager(Object obj) throws IOException
InputDeviceManager theInputDeviceManager = (InputDeviceManager) obj;
obj
to InputDeviceManager
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void startupDevices(Object initializationData) throws IOException, AutomationException
startupDevices
in interface IInputDeviceManager
initializationData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdownDevices() throws IOException, AutomationException
shutdownDevices
in interface IInputDeviceManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDevice(IUID pDeviceCLSID, Object initializationData) throws IOException, AutomationException
addDevice
in interface IInputDeviceManager
pDeviceCLSID
- A reference to a com.esri.arcgis.system.IUID (in)initializationData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDeviceCount() throws IOException, AutomationException
getDeviceCount
in interface IInputDeviceManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension getDevice(int index) throws IOException, AutomationException
getDevice
in interface IInputDeviceManager
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getDeviceCLSID(int index) throws IOException, AutomationException
getDeviceCLSID
in interface IInputDeviceManager
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IExtension findDevice(Object nameOrID) throws IOException, AutomationException
findDevice
in interface IInputDeviceManager
nameOrID
- A Variant (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 |