com.esri.arcgis.system
Class InputDeviceManager

java.lang.Object
  extended by com.esri.arcgis.system.InputDeviceManager
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IInputDeviceManager, java.io.Serializable

public class InputDeviceManager
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IInputDeviceManager

COM Class 'InputDeviceManager'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IInputDeviceManager
IID, IID52620d38_e275_4725_a976_65bcdd2c93fd, xxDummy
 
Constructor Summary
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;
 
Method Summary
 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()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a InputDeviceManager.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputDeviceManager

public InputDeviceManager()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a InputDeviceManager using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

InputDeviceManager

public InputDeviceManager(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
InputDeviceManager theInputDeviceManager = (InputDeviceManager) obj;

Construct a InputDeviceManager using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to InputDeviceManager.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a InputDeviceManager.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

startupDevices

public void startupDevices(java.lang.Object initializationData)
                    throws java.io.IOException,
                           AutomationException
Creates and starts the devices for Inut Device component category, passing initializationData to each in IInputDevice::Startup.

Specified by:
startupDevices in interface IInputDeviceManager
Parameters:
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdownDevices

public void shutdownDevices()
                     throws java.io.IOException,
                            AutomationException
Shuts down and releases the extensions that are loaded and calls IExtension::Shutdown.

Specified by:
shutdownDevices in interface IInputDeviceManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDevice

public void addDevice(IUID pDeviceCLSID,
                      java.lang.Object initializationData)
               throws java.io.IOException,
                      AutomationException
Creates a single device given the CLSID, then passes initializationData to IInputDevice::Startup.

Specified by:
addDevice in interface IInputDeviceManager
Parameters:
pDeviceCLSID - A reference to a com.esri.arcgis.system.IUID (in)
initializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeviceCount

public int getDeviceCount()
                   throws java.io.IOException,
                          AutomationException
The number of input devices loaded in the application.

Specified by:
getDeviceCount in interface IInputDeviceManager
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDevice

public IExtension getDevice(int index)
                     throws java.io.IOException,
                            AutomationException
The input device at the specified index.

Specified by:
getDevice in interface IInputDeviceManager
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDeviceCLSID

public IUID getDeviceCLSID(int index)
                    throws java.io.IOException,
                           AutomationException
The CLSID of the input device at the specified index.

Specified by:
getDeviceCLSID in interface IInputDeviceManager
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findDevice

public IExtension findDevice(java.lang.Object nameOrID)
                      throws java.io.IOException,
                             AutomationException
Finds the input device by CLSID (IUID) or name (String).

Specified by:
findDevice in interface IInputDeviceManager
Parameters:
nameOrID - A Variant (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.