org.rococoa.cocoa.coregraphics
Interface CoreGraphicsLibrary.CGEventField

Enclosing interface:
CoreGraphicsLibrary

public static interface CoreGraphicsLibrary.CGEventField

native declaration : /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h
enum values


Field Summary
static int kCGEventSourceGroupID
          Key to access a field that contains the event source Unix effective
GID.
static int kCGEventSourceStateID
          Key to access a field that contains the event source state ID used to
create this event.
static int kCGEventSourceUnixProcessID
           
static int kCGEventSourceUserData
          Key to access a field that contains the event source user-supplied
data, up to 64 bits.
static int kCGEventSourceUserID
          Key to access a field that contains the event source Unix effective
UID.
static int kCGEventTargetProcessSerialNumber
          Key to access a field that contains the event target process serial
number.
static int kCGEventTargetUnixProcessID
           
static int kCGKeyboardEventAutorepeat
          Key to access an integer field, non-zero when this is an autorepeat of
a key-down, and zero otherwise.
static int kCGKeyboardEventKeyboardType
          Key to access an integer field that contains the keyboard type
identifier.
static int kCGKeyboardEventKeycode
          Key to access an integer field that contains the virtual keycode of the
key-down or key-up event.
static int kCGMouseEventButtonNumber
          Key to access an integer field that contains the mouse button
number.
static int kCGMouseEventClickState
          Key to access an integer field that contains the mouse button click
state.
static int kCGMouseEventDeltaX
          Key to access an integer field that contains the horizontal mouse delta
since the last mouse movement event.
static int kCGMouseEventDeltaY
          Key to access an integer field that contains the vertical mouse delta
since the last mouse movement event.
static int kCGMouseEventInstantMouser
          Key to access an integer field.
static int kCGMouseEventNumber
          Key to access an integer field that contains the mouse button event
number.
static int kCGMouseEventPressure
          Key to access a double field that contains the mouse button pressure.
static int kCGMouseEventSubtype
          Key to access an integer field that encodes the mouse event subtype as
a `kCFNumberIntType'.
static int kCGScrollWheelEventDeltaAxis1
          Key to access an integer field that contains scrolling data.
static int kCGScrollWheelEventDeltaAxis2
          Key to access an integer field that contains scrolling data.
static int kCGScrollWheelEventDeltaAxis3
           
static int kCGScrollWheelEventFixedPtDeltaAxis1
          Key to access a field that contains scrolling data.
static int kCGScrollWheelEventFixedPtDeltaAxis2
          Key to access a field that contains scrolling data.
static int kCGScrollWheelEventFixedPtDeltaAxis3
           
static int kCGScrollWheelEventInstantMouser
          Key to access an integer field that indicates whether the event should
be ignored by the Inkwell subsystem.
static int kCGScrollWheelEventIsContinuous
          Key to access an integer field that indicates whether a scrolling event
contains continuous, pixel-based scrolling data.
static int kCGScrollWheelEventPointDeltaAxis1
          Key to access an integer field that contains pixel-based scrolling
data.
static int kCGScrollWheelEventPointDeltaAxis2
          Key to access an integer field that contains pixel-based scrolling
data.
static int kCGScrollWheelEventPointDeltaAxis3
           
static int kCGTabletEventDeviceID
          Key to access an integer field that contains the system-assigned unique
device ID.
static int kCGTabletEventPointButtons
          Key to access an integer field that contains the tablet button state.
static int kCGTabletEventPointPressure
          Key to access a double field that contains the tablet pen pressure.
static int kCGTabletEventPointX
          Key to access an integer field that contains the absolute X coordinate
in tablet space at full tablet resolution.
static int kCGTabletEventPointY
          Key to access an integer field that contains the absolute Y coordinate
in tablet space at full tablet resolution.
static int kCGTabletEventPointZ
          Key to access an integer field that contains the absolute Z coordinate
in tablet space at full tablet resolution.
static int kCGTabletEventRotation
           
static int kCGTabletEventTangentialPressure
          Key to access a double field that contains the tangential pressure on
the device.
static int kCGTabletEventTiltX
          Key to access a double field that contains the horizontal tablet pen
tilt.
static int kCGTabletEventTiltY
          Key to access a double field that contains the vertical tablet pen
tilt.
static int kCGTabletEventVendor1
           
static int kCGTabletEventVendor2
           
static int kCGTabletEventVendor3
           
static int kCGTabletProximityEventCapabilityMask
          Key to access an integer field that contains the device capabilities
mask.
static int kCGTabletProximityEventDeviceID
          Key to access an integer field that contains the system-assigned device
ID.
static int kCGTabletProximityEventEnterProximity
          Key to access an integer field that indicates whether the pen is in
proximity to the tablet.
static int kCGTabletProximityEventPointerID
          Key to access an integer field that contains the vendor-defined ID of
the pointing device.
static int kCGTabletProximityEventPointerType
           
static int kCGTabletProximityEventSystemTabletID
          Key to access an integer field that contains the system-assigned unique
tablet ID.
static int kCGTabletProximityEventTabletID
          Key to access an integer field that contains the vendor-defined tablet
ID, typically the USB product ID.
static int kCGTabletProximityEventVendorID
          Key to access an integer field that contains the vendor-defined ID,
typically the USB vendor ID.
static int kCGTabletProximityEventVendorPointerSerialNumber
          Key to access an integer field that contains the vendor-defined pointer
serial number.
static int kCGTabletProximityEventVendorPointerType
          Key to access an integer field that contains the vendor-assigned
pointer type.
static int kCGTabletProximityEventVendorUniqueID
          Key to access an integer field that contains the vendor-defined unique
ID.
 

Field Detail

kCGMouseEventNumber

static final int kCGMouseEventNumber
Key to access an integer field that contains the mouse button event
number. Matching mouse-down and mouse-up events will have the same
event number.

See Also:
Constant Field Values

kCGMouseEventClickState

static final int kCGMouseEventClickState
Key to access an integer field that contains the mouse button click
state. A click state of 1 represents a single click. A click state of 2
represents a double-click. A click state of 3 represents a
triple-click.

See Also:
Constant Field Values

kCGMouseEventPressure

static final int kCGMouseEventPressure
Key to access a double field that contains the mouse button pressure.
The pressure value may range from 0 to 1, with 0 representing the mouse
being up. This value is commonly set by tablet pens mimicking a
mouse.

See Also:
Constant Field Values

kCGMouseEventButtonNumber

static final int kCGMouseEventButtonNumber
Key to access an integer field that contains the mouse button
number.

See Also:
Constant Field Values

kCGMouseEventDeltaX

static final int kCGMouseEventDeltaX
Key to access an integer field that contains the horizontal mouse delta
since the last mouse movement event.

See Also:
Constant Field Values

kCGMouseEventDeltaY

static final int kCGMouseEventDeltaY
Key to access an integer field that contains the vertical mouse delta
since the last mouse movement event.

See Also:
Constant Field Values

kCGMouseEventInstantMouser

static final int kCGMouseEventInstantMouser
Key to access an integer field. The value is non-zero if the event
should be ignored by the Inkwell subsystem.

See Also:
Constant Field Values

kCGMouseEventSubtype

static final int kCGMouseEventSubtype
Key to access an integer field that encodes the mouse event subtype as
a `kCFNumberIntType'.

See Also:
Constant Field Values

kCGKeyboardEventAutorepeat

static final int kCGKeyboardEventAutorepeat
Key to access an integer field, non-zero when this is an autorepeat of
a key-down, and zero otherwise.

See Also:
Constant Field Values

kCGKeyboardEventKeycode

static final int kCGKeyboardEventKeycode
Key to access an integer field that contains the virtual keycode of the
key-down or key-up event.

See Also:
Constant Field Values

kCGKeyboardEventKeyboardType

static final int kCGKeyboardEventKeyboardType
Key to access an integer field that contains the keyboard type
identifier.

See Also:
Constant Field Values

kCGScrollWheelEventDeltaAxis1

static final int kCGScrollWheelEventDeltaAxis1
Key to access an integer field that contains scrolling data. This field
typically contains the change in vertical position since the last
scrolling event from a Mighty Mouse scroller or a single-wheel mouse
scroller.

See Also:
Constant Field Values

kCGScrollWheelEventDeltaAxis2

static final int kCGScrollWheelEventDeltaAxis2
Key to access an integer field that contains scrolling data. This field
typically contains the change in horizontal position since the last
scrolling event from a Mighty Mouse scroller.

See Also:
Constant Field Values

kCGScrollWheelEventDeltaAxis3

static final int kCGScrollWheelEventDeltaAxis3
See Also:
Constant Field Values

kCGScrollWheelEventFixedPtDeltaAxis1

static final int kCGScrollWheelEventFixedPtDeltaAxis1
Key to access a field that contains scrolling data. The scrolling data
represents a line-based or pixel-based change in vertical position
since the last scrolling event from a Mighty Mouse scroller or a
single-wheel mouse scroller. The scrolling data uses a fixed-point
16.16 signed integer format. If this key is passed to
`CGEventGetDoubleValueField', the fixed-point value is converted to a
double value.

See Also:
Constant Field Values

kCGScrollWheelEventFixedPtDeltaAxis2

static final int kCGScrollWheelEventFixedPtDeltaAxis2
Key to access a field that contains scrolling data. The scrolling data
represents a line-based or pixel-based change in horizontal position
since the last scrolling event from a Mighty Mouse scroller. The
scrolling data uses a fixed-point 16.16 signed integer format. If this
key is passed to `CGEventGetDoubleValueField', the fixed-point value is
converted to a double value.

See Also:
Constant Field Values

kCGScrollWheelEventFixedPtDeltaAxis3

static final int kCGScrollWheelEventFixedPtDeltaAxis3
See Also:
Constant Field Values

kCGScrollWheelEventPointDeltaAxis1

static final int kCGScrollWheelEventPointDeltaAxis1
Key to access an integer field that contains pixel-based scrolling
data. The scrolling data represents the change in vertical position
since the last scrolling event from a Mighty Mouse scroller or a
single-wheel mouse scroller.

See Also:
Constant Field Values

kCGScrollWheelEventPointDeltaAxis2

static final int kCGScrollWheelEventPointDeltaAxis2
Key to access an integer field that contains pixel-based scrolling
data. The scrolling data represents the change in horizontal position
since the last scrolling event from a Mighty Mouse scroller.

See Also:
Constant Field Values

kCGScrollWheelEventPointDeltaAxis3

static final int kCGScrollWheelEventPointDeltaAxis3
See Also:
Constant Field Values

kCGScrollWheelEventInstantMouser

static final int kCGScrollWheelEventInstantMouser
Key to access an integer field that indicates whether the event should
be ignored by the Inkwell subsystem. If the value is non-zero, the
event should be ignored.

See Also:
Constant Field Values

kCGTabletEventPointX

static final int kCGTabletEventPointX
Key to access an integer field that contains the absolute X coordinate
in tablet space at full tablet resolution.

See Also:
Constant Field Values

kCGTabletEventPointY

static final int kCGTabletEventPointY
Key to access an integer field that contains the absolute Y coordinate
in tablet space at full tablet resolution.

See Also:
Constant Field Values

kCGTabletEventPointZ

static final int kCGTabletEventPointZ
Key to access an integer field that contains the absolute Z coordinate
in tablet space at full tablet resolution.

See Also:
Constant Field Values

kCGTabletEventPointButtons

static final int kCGTabletEventPointButtons
Key to access an integer field that contains the tablet button state.
Bit 0 is the first button, and a set bit represents a closed or pressed
button. Up to 16 buttons are supported.

See Also:
Constant Field Values

kCGTabletEventPointPressure

static final int kCGTabletEventPointPressure
Key to access a double field that contains the tablet pen pressure. A
value of 0.0 represents no pressure, and 1.0 represents maximum
pressure.

See Also:
Constant Field Values

kCGTabletEventTiltX

static final int kCGTabletEventTiltX
Key to access a double field that contains the horizontal tablet pen
tilt. A value of 0 represents no tilt, and 1 represents maximum tilt.

See Also:
Constant Field Values

kCGTabletEventTiltY

static final int kCGTabletEventTiltY
Key to access a double field that contains the vertical tablet pen
tilt. A value of 0 represents no tilt, and 1 represents maximum tilt.

See Also:
Constant Field Values

kCGTabletEventRotation

static final int kCGTabletEventRotation
See Also:
Constant Field Values

kCGTabletEventTangentialPressure

static final int kCGTabletEventTangentialPressure
Key to access a double field that contains the tangential pressure on
the device. A value of 0.0 represents no pressure, and 1.0 represents
maximum pressure.

See Also:
Constant Field Values

kCGTabletEventDeviceID

static final int kCGTabletEventDeviceID
Key to access an integer field that contains the system-assigned unique
device ID.

See Also:
Constant Field Values

kCGTabletEventVendor1

static final int kCGTabletEventVendor1
See Also:
Constant Field Values

kCGTabletEventVendor2

static final int kCGTabletEventVendor2
See Also:
Constant Field Values

kCGTabletEventVendor3

static final int kCGTabletEventVendor3
See Also:
Constant Field Values

kCGTabletProximityEventVendorID

static final int kCGTabletProximityEventVendorID
Key to access an integer field that contains the vendor-defined ID,
typically the USB vendor ID.

See Also:
Constant Field Values

kCGTabletProximityEventTabletID

static final int kCGTabletProximityEventTabletID
Key to access an integer field that contains the vendor-defined tablet
ID, typically the USB product ID.

See Also:
Constant Field Values

kCGTabletProximityEventPointerID

static final int kCGTabletProximityEventPointerID
Key to access an integer field that contains the vendor-defined ID of
the pointing device.

See Also:
Constant Field Values

kCGTabletProximityEventDeviceID

static final int kCGTabletProximityEventDeviceID
Key to access an integer field that contains the system-assigned device
ID.

See Also:
Constant Field Values

kCGTabletProximityEventSystemTabletID

static final int kCGTabletProximityEventSystemTabletID
Key to access an integer field that contains the system-assigned unique
tablet ID.

See Also:
Constant Field Values

kCGTabletProximityEventVendorPointerType

static final int kCGTabletProximityEventVendorPointerType
Key to access an integer field that contains the vendor-assigned
pointer type.

See Also:
Constant Field Values

kCGTabletProximityEventVendorPointerSerialNumber

static final int kCGTabletProximityEventVendorPointerSerialNumber
Key to access an integer field that contains the vendor-defined pointer
serial number.

See Also:
Constant Field Values

kCGTabletProximityEventVendorUniqueID

static final int kCGTabletProximityEventVendorUniqueID
Key to access an integer field that contains the vendor-defined unique
ID.

See Also:
Constant Field Values

kCGTabletProximityEventCapabilityMask

static final int kCGTabletProximityEventCapabilityMask
Key to access an integer field that contains the device capabilities
mask.

See Also:
Constant Field Values

kCGTabletProximityEventPointerType

static final int kCGTabletProximityEventPointerType
See Also:
Constant Field Values

kCGTabletProximityEventEnterProximity

static final int kCGTabletProximityEventEnterProximity
Key to access an integer field that indicates whether the pen is in
proximity to the tablet. The value is non-zero if the pen is in
proximity to the tablet and zero when leaving the tablet.

See Also:
Constant Field Values

kCGEventTargetProcessSerialNumber

static final int kCGEventTargetProcessSerialNumber
Key to access a field that contains the event target process serial
number. The value is a 64-bit value.

See Also:
Constant Field Values

kCGEventTargetUnixProcessID

static final int kCGEventTargetUnixProcessID
See Also:
Constant Field Values

kCGEventSourceUnixProcessID

static final int kCGEventSourceUnixProcessID
See Also:
Constant Field Values

kCGEventSourceUserData

static final int kCGEventSourceUserData
Key to access a field that contains the event source user-supplied
data, up to 64 bits.

See Also:
Constant Field Values

kCGEventSourceUserID

static final int kCGEventSourceUserID
Key to access a field that contains the event source Unix effective
UID.

See Also:
Constant Field Values

kCGEventSourceGroupID

static final int kCGEventSourceGroupID
Key to access a field that contains the event source Unix effective
GID.

See Also:
Constant Field Values

kCGEventSourceStateID

static final int kCGEventSourceStateID
Key to access a field that contains the event source state ID used to
create this event.

See Also:
Constant Field Values

kCGScrollWheelEventIsContinuous

static final int kCGScrollWheelEventIsContinuous
Key to access an integer field that indicates whether a scrolling event
contains continuous, pixel-based scrolling data. The value is non-zero
when the scrolling data is pixel-based and zero when the scrolling data
is line-based.

See Also:
Constant Field Values


Copyright © 2009. All Rights Reserved.