public class InputDeviceManager extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IInputDeviceManager
Description 'Input Device Manager - a singleton.' 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 =
IID, IID52620d38_e275_4725_a976_65bcdd2c93fd, xxDummy
Constructor and Description |
---|
InputDeviceManager()
Constructs a InputDeviceManager using ArcGIS Engine.
|
InputDeviceManager(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
InputDeviceManager theInputDeviceManager = (InputDeviceManager) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addDevice(IUID pDeviceCLSID,
java.lang.Object initializationData)
Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IExtension |
findDevice(java.lang.Object nameOrID)
Finds the input device by CLSID (IUID) or name (String).
|
static java.lang.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.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
shutdownDevices()
Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.
|
void |
startupDevices(java.lang.Object initializationData)
Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.
|
public InputDeviceManager() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic InputDeviceManager(java.lang.Object obj) throws java.io.IOException
InputDeviceManager theInputDeviceManager = (InputDeviceManager) obj;
obj
to InputDeviceManager
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void startupDevices(java.lang.Object initializationData) throws java.io.IOException, AutomationException
startupDevices
in interface IInputDeviceManager
initializationData
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void shutdownDevices() throws java.io.IOException, AutomationException
shutdownDevices
in interface IInputDeviceManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addDevice(IUID pDeviceCLSID, java.lang.Object initializationData) throws java.io.IOException, AutomationException
addDevice
in interface IInputDeviceManager
pDeviceCLSID
- A reference to a com.esri.arcgis.system.IUID (in)initializationData
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDeviceCount() throws java.io.IOException, AutomationException
getDeviceCount
in interface IInputDeviceManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IExtension getDevice(int index) throws java.io.IOException, AutomationException
getDevice
in interface IInputDeviceManager
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IUID getDeviceCLSID(int index) throws java.io.IOException, AutomationException
getDeviceCLSID
in interface IInputDeviceManager
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IExtension findDevice(java.lang.Object nameOrID) throws java.io.IOException, AutomationException
findDevice
in interface IInputDeviceManager
nameOrID
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.