com.esri.arcgis.framework
Class IAcceleratorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.framework.IAcceleratorProxy
All Implemented Interfaces:
IAccelerator, java.io.Externalizable, java.io.Serializable

public class IAcceleratorProxy
extends com.esri.arcgis.interop.Dispatch
implements IAccelerator, java.io.Serializable

Internal use class Proxy for COM Interface 'IAccelerator'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description: 'Provides access to members that define an accelerator.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.framework.IAccelerator
IID, IID08300de1_27fd_11d2_aa2f_000000000000
 
Constructor Summary
  IAcceleratorProxy()
          For internal use only
  IAcceleratorProxy(java.lang.Object obj)
           
protected IAcceleratorProxy(java.lang.Object obj, java.lang.String iid)
           
  IAcceleratorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IAcceleratorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void delete()
          Removes this accelerator from the accelerator table.
 java.lang.Object getCommandID()
          The identifier of the command that this accelerator activates.
 int getKey()
          The keycode for this accelerator.
 boolean isAlt()
          Indicates if the Alt key is pressed for this accelerator.
 boolean isCtrl()
          Indicates if the Ctrl key is pressed for this accelerator.
 boolean isShift()
          Indicates if the Shift key is pressed for this accelerator.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setAlt(boolean bAlt)
          Indicates if the Alt key is pressed for this accelerator.
 void setCommandID(java.lang.Object cmdID)
          The identifier of the command that this accelerator activates.
 void setCtrl(boolean bCtrl)
          Indicates if the Ctrl key is pressed for this accelerator.
 void setKey(int keyCode)
          The keycode for this accelerator.
 void setShift(boolean bShift)
          Indicates if the Shift key is pressed for this accelerator.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IAcceleratorProxy

public IAcceleratorProxy(java.lang.String CLSID,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IAcceleratorProxy

public IAcceleratorProxy()
For internal use only


IAcceleratorProxy

public IAcceleratorProxy(java.lang.Object obj)
                  throws java.io.IOException
Throws:
java.io.IOException

IAcceleratorProxy

protected IAcceleratorProxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException
Throws:
java.io.IOException

IAcceleratorProxy

protected IAcceleratorProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setShift

public void setShift(boolean bShift)
              throws java.io.IOException,
                     AutomationException
Indicates if the Shift key is pressed for this accelerator.

Specified by:
setShift in interface IAccelerator
Parameters:
bShift - The bShift (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShift

public boolean isShift()
                throws java.io.IOException,
                       AutomationException
Indicates if the Shift key is pressed for this accelerator.

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

setAlt

public void setAlt(boolean bAlt)
            throws java.io.IOException,
                   AutomationException
Indicates if the Alt key is pressed for this accelerator.

Specified by:
setAlt in interface IAccelerator
Parameters:
bAlt - The bAlt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlt

public boolean isAlt()
              throws java.io.IOException,
                     AutomationException
Indicates if the Alt key is pressed for this accelerator.

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

setCtrl

public void setCtrl(boolean bCtrl)
             throws java.io.IOException,
                    AutomationException
Indicates if the Ctrl key is pressed for this accelerator.

Specified by:
setCtrl in interface IAccelerator
Parameters:
bCtrl - The bCtrl (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCtrl

public boolean isCtrl()
               throws java.io.IOException,
                      AutomationException
Indicates if the Ctrl key is pressed for this accelerator.

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

setKey

public void setKey(int keyCode)
            throws java.io.IOException,
                   AutomationException
The keycode for this accelerator.

Specified by:
setKey in interface IAccelerator
Parameters:
keyCode - The keyCode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getKey

public int getKey()
           throws java.io.IOException,
                  AutomationException
The keycode for this accelerator.

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

setCommandID

public void setCommandID(java.lang.Object cmdID)
                  throws java.io.IOException,
                         AutomationException
The identifier of the command that this accelerator activates.

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

getCommandID

public java.lang.Object getCommandID()
                              throws java.io.IOException,
                                     AutomationException
The identifier of the command that this accelerator activates.

Specified by:
getCommandID in interface IAccelerator
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Removes this accelerator from the accelerator table.

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