com.esri.arcgis.framework
Interface IAccelerator

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Accelerator, IAcceleratorProxy

public interface IAccelerator
extends java.io.Serializable

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID08300de1_27fd_11d2_aa2f_000000000000
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 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 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.
 

Field Detail

IID08300de1_27fd_11d2_aa2f_000000000000

static final int IID08300de1_27fd_11d2_aa2f_000000000000
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setShift

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

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

isShift

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

Returns:
The bShift
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlt

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

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

isAlt

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

Returns:
The bAlt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCtrl

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

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

isCtrl

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

Returns:
The bCtrl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKey

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

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

getKey

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

Returns:
The keyCode
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCommandID

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

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

getCommandID

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

Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.