最終更新:2012-09-21 (金) 10:08:54 (4233d)  

NSEvent
Top / NSEvent

概要

  • マウスクリック?とかキーダウン?とかのイベントの情報。

メソッド

Creating Events

  • +keyEventWithType?:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers?:isARepeat:keyCode:
  • +mouseEventWithType?:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:
  • +enterExitEventWithType?:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:
  • +otherEventWithType?:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:
  • +eventWithEventRef?:

Getting General Event Information

  • -context
  • -locationInWindow?
  • -modifierFlags
  • -timestamp
  • -type
  • -window
  • -windowNumber
  • -eventRef

Getting Key Event Information

  • -characters
  • -charactersIgnoringModifiers?
  • -isARepeat
  • -keyCode

Getting Mouse Event Information

  • +mouseLocation
  • -buttonNumber
  • -clickCount
  • -pressure

Getting Mouse-Tracking Event Information

  • -eventNumber
  • -trackingNumber
  • -trackingArea
  • -userData

Getting Custom Event Information

  • -data1
  • -data2
  • -subtype

Getting Scroll Wheel Event Information

  • -deltaX
  • -deltaY
  • -deltaZ

Getting Tablet Proximity Information

  • -capabilityMask
  • -deviceID
  • -isEnteringProximity?
  • -pointingDeviceID
  • -pointingDeviceSerialNumber?
  • -pointingDeviceType?
  • -systemTabletID
  • -tabletID
  • -uniqueID
  • -vendorID
  • -vendorPointingDeviceType?

Getting Tablet Pointing Information

  • -absoluteX
  • -absoluteY
  • -absoluteZ
  • -buttonMask
  • -rotation
  • -tangentialPressure
  • -tilt
  • -vendorDefined

Requesting and Stopping Periodic Events

  • +startPeriodicEventsAfterDelay?:withPeriod:
  • +stopPeriodicEvents?