com.esri.arcgis.controls
Class IPageLayoutControlEventsOnKeyUpEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.controls.IPageLayoutControlEventsOnKeyUpEvent
All Implemented Interfaces:
Serializable

public class IPageLayoutControlEventsOnKeyUpEvent
extends EventObject

Description

The OnKeyUp event is triggered when when the user releases a key whilst the PageLayoutControl has focus.

keyCode specifies a virtual key code value of the key pressed on the keyboard. For alpha-numeric keys this corresponds to the ASCII value, for example "A" key returns 65 which is the ASCII value for capital A. Other key codes are F1 to F12 are 112 to 123 respectively.

Shift specifies an integer corresponding to the state of the SHIFT (bit 0), CTRL (bit 1) and ALT (bit 2) keys. When none, some or all of these keys are pressed none, some or all the bits get set. These bits correspond to the values 1, 2, and 4, respectively. For example, if both SHIFT and ALT were pressed, ShiftState would return 5.

Remarks

Some development environments will filter out keystrokes. Typically the arrow keys are used to change control focus and will not fire the OnKeyUp event. To intercept these keys use the KeyIntercept property.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IPageLayoutControlEventsOnKeyUpEvent(Object source)
           
 
Method Summary
 int getKeyCode()
           
 int getShift()
           
 void init(int keyCode, int shift)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPageLayoutControlEventsOnKeyUpEvent

public IPageLayoutControlEventsOnKeyUpEvent(Object source)
Method Detail

init

public void init(int keyCode,
                 int shift)

getKeyCode

public final int getKeyCode()

getShift

public final int getShift()