MonobjcMonobjc Documented Class Library
NSEvent Class
NamespacesMonobjc.AppKitNSEvent

[Missing <summary> documentation for "T:Monobjc.AppKit.NSEvent"]

Declaration Syntax
C#Visual BasicVisual C++
public class NSEvent : NSObject, IManagedWrapper, 
	INSCopying, INSCoding
Public Class NSEvent _
	Inherits NSObject _
	Implements IManagedWrapper, INSCopying, INSCoding
public ref class NSEvent : public NSObject, 
	IManagedWrapper, INSCopying, INSCoding
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
NSEvent(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


NSEvent()()()()
Initializes a new instance of the NSEvent class.

NSEvent(IntPtr)
Initializes a new instance of the NSEvent class.

NSEvent(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSEvent class.

AbsoluteX

Reports the absolute x coordinate of a pointing device on its tablet at full tablet resolution.

Original signature is '- (NSInteger)absoluteX'

Available in Mac OS X v10.4 and later.


AbsoluteY

Reports the absolute y coordinate of a pointing device on its tablet at full tablet resolution.

Original signature is '- (NSInteger)absoluteY'

Available in Mac OS X v10.4 and later.


AbsoluteZ

Reports the absolute z coordinate of pointing device on its tablet at full tablet resolution.

Original signature is '- (NSInteger)absoluteZ'

Available in Mac OS X v10.4 and later.


AddGlobalMonitorForEventsMatchingMaskHandler(NSEventMask, Action<(Of <<'(NSEvent>)>>))

Installs an event monitor that receives copies of events posted to other applications.

Original signature is '+ (id)addGlobalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(void (^)(NSEvent*))block'

Available in Mac OS X v10.6 and later.


AddLocalMonitorForEventsMatchingMaskHandler(NSEventMask, Func<(Of <<'(NSEvent, NSEvent>)>>))

Installs an event monitor that receives copies of events posted to this application before they are dispatched.

Original signature is '+ (id)addLocalMonitorForEventsMatchingMask:(NSEventMask)mask handler:(NSEvent* (^)(NSEvent*))block'

Available in Mac OS X v10.6 and later.


AddObserverForKeyPathOptionsContext(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers anObserver to receive KVO notifications for the specified key-path relative to the receiver.

Original signature is '- (void)addObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Alloc()()()()
Allocates a new native instance.
(Inherited from Id.)
AttributeKeys

Returns an array of NSString objects containing the names of immutable values that instances of the receiver's class contain.

Original signature is '- (NSArray *)attributeKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
AutoContentAccessingProxy

Creates and returns an autoreleased proxy for the receiving object

Original signature is '- (id)autoContentAccessingProxy'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
Autorelease()()()()

Adds the receiver to the current autorelease pool.

Original signature is '- (id)autorelease'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
AwakeAfterUsingCoder(NSCoder)

Overridden by subclasses to substitute another object in place of the object that was decoded and subsequently received this message.

Original signature is '- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
BindToObjectWithKeyPathOptions(NSString, Id, NSString, NSDictionary)

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

Original signature is '- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ButtonMask

Returns a bit mask identifying the buttons pressed when the tablet event represented by the receiver was generated.

Original signature is '- (NSUInteger)buttonMask'

Available in Mac OS X v10.4 and later.


ButtonNumber

Returns the button number for the mouse button that generated an NSOtherMouse... event.

Original signature is '- (NSInteger)buttonNumber'

Available in Mac OS X v10.1 and later.


CapabilityMask

Returns a mask whose set bits indicate the capabilities of the tablet device that generated the event represented by the receiver.

Original signature is '- (NSUInteger)capabilityMask'

Available in Mac OS X v10.4 and later.


CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from Id.)
CGEvent

Returns a Core Graphics event object corresponding to the receiver.

Original signature is '- (CGEventRef)CGEvent'

Available in Mac OS X v10.5 and later.


Characters

Returns the characters associated with the receiving key-up or key-down event.

Original signature is '- (NSString *)characters'

Available in Mac OS X v10.0 and later.


CharactersIgnoringModifiers

Returns the characters generated by the receiving key event as if no modifier key (except for Shift) applies.

Original signature is '- (NSString *)charactersIgnoringModifiers'

Available in Mac OS X v10.0 and later.


Class

Gets the class of the underlying instance.

(Inherited from Id.)
ClassCode

Returns the receiver's Apple event type code, as stored in the NSScriptClassDescription object for the object’s class.

Original signature is '- (FourCharCode)classCode'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassDescription

Returns an object containing information about the attributes and relationships of the receiver’s class.

Original signature is '- (NSClassDescription *)classDescription'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForArchiver

Overridden by subclasses to substitute a class other than its own during archiving.

Original signature is '- (Class)classForArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForCoder

Overridden by subclasses to substitute a class other than its own during coding.

Original signature is '- (Class)classForCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassForKeyedArchiver

Overridden by subclasses to substitute a new class for instances during keyed archiving.

Original signature is '- (Class)classForKeyedArchiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ClassForPortCoder

Overridden by subclasses to substitute a class other than its own for distribution encoding.

Original signature is '- (Class)classForPortCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClassName

Returns a string containing the name of the class.

Original signature is '- (NSString *)className'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ClickCount

Returns the number of mouse clicks associated with the receiver, which represents a mouse-down or mouse-up event.

Original signature is '- (NSInteger)clickCount'

Available in Mac OS X v10.0 and later.


CoerceValueForKey(Id, NSString)

Uses type info from the class description and NSScriptCoercionHandler to attempt to convert value for key to the proper type, if necessary.

Original signature is '- (id)coerceValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ConformsToProtocol(IntPtr)

Returns a Boolean value that indicates whether the receiver conforms to a given protocol. (required)

Original signature is '- (BOOL)conformsToProtocol:(Protocol *)aProtocol'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Context

Returns the display graphics context of the receiver.

Original signature is '- (NSGraphicsContext *)context'

Available in Mac OS X v10.0 and later.


Copy()()()()

Returns the object returned by copyWithZone:, where the zone is nil.

Original signature is '- (id)copy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
CopyScriptingValueForKeyWithProperties(Id, NSString, NSDictionary)

Creates and returns one or more scripting objects to be inserted into the specified relationship by copying the passed-in value and setting the properties in the copied object or objects.

Original signature is '- (id)copyScriptingValue:(id)value forKey:(NSString *)key withProperties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
CopyWithZone(IntPtr)

Returns a new instance that’s a copy of the receiver. (required)

Original signature is '- (id)copyWithZone:(NSZone *)zone'

Available in Mac OS X v10.0 and later.


Data1

Returns additional data associated with the receiver.

Original signature is '- (NSInteger)data1'

Available in Mac OS X v10.0 and later.


Data2

Returns additional data associated with the receiver.

Original signature is '- (NSInteger)data2'

Available in Mac OS X v10.0 and later.


Dealloc()()()()

Deallocates the memory occupied by the receiver.

Original signature is '- (void)dealloc'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DeltaX

Returns the x-coordinate change for a scroll wheel, mouse-move, or mouse-drag event.

Original signature is '- (CGFloat)deltaX'

Available in Mac OS X v10.0 and later.


DeltaY

Returns the y-coordinate change for a scroll wheel, mouse-move, or mouse-drag event.

Original signature is '- (CGFloat)deltaY'

Available in Mac OS X v10.0 and later.


DeltaZ

Returns the z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event.

Original signature is '- (CGFloat)deltaZ'

Available in Mac OS X v10.0 and later.


Description

Returns a string that describes the contents of the receiver. (required)

Original signature is '- (NSString *)description'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DeviceID

Returns a special identifier that is used to match tablet-pointer events with the tablet-proximity event represented by the receiver.

Original signature is '- (NSUInteger)deviceID'

Available in Mac OS X v10.4 and later.


DictionaryWithValuesForKeys(NSArray)

Returns a dictionary containing the property values identified by each of the keys in a given array.

Original signature is '- (NSDictionary *)dictionaryWithValuesForKeys:(NSArray *)keys'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property has changed.

Original signature is '- (void)didChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
DidChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change was made to a specified unordered to-many relationship.

Original signature is '- (void)didChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
DidChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change has occurred on the indexes for a specified ordered to-many relationship.

Original signature is '- (void)didChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Id.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from Id.)
DoesNotRecognizeSelector(IntPtr)

Handles messages the receiver doesn’t recognize.

Original signature is '- (void)doesNotRecognizeSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
DoubleClickInterval

Returns the time, in seconds, in which a second mouse click must occur in order to be considered a double click.

Original signature is '+ (NSTimeInterval)doubleClickInterval'

Available in Mac OS X v10.6 and later.


EncodeWithCoder(NSCoder)

Encodes the receiver using a given archiver. (required)

Original signature is '- (void)encodeWithCoder:(NSCoder *)encoder'

Available in Mac OS X v10.0 and later.


EnterExitEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberTrackingNumberUserData(NSEventType, NSPoint, NSUInteger, Double, NSInteger, NSGraphicsContext, NSInteger, NSInteger, IntPtr)

Returns a new NSEvent object describing a tracking-rectangle or cursor-update event.

Original signature is '+ (NSEvent *)enterExitEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)windowNumber context:(NSGraphicsContext *)context eventNumber:(NSInteger)eventNumber trackingNumber:(NSInteger)trackingNumber userData:(void *)userData'

Available in Mac OS X v10.0 and later.


Equals(Id)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Id.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Id.)
EventNumber

Returns the counter value of the latest mouse or tracking-rectangle event object; every system-generated mouse and tracking-rectangle event increments this counter.

Original signature is '- (NSInteger)eventNumber'

Available in Mac OS X v10.0 and later.


EventRef

Returns the Carbon type associated with the receiver for representing an event.

Original signature is '- (const void *)eventRef'

Available in Mac OS X v10.5 and later.


EventWithCGEvent(IntPtr)

Creates and returns an event object that is based on a Core Graphics type of event.

Original signature is '+ (NSEvent *)eventWithCGEvent:(CGEventRef)cgEvent'

Available in Mac OS X v10.5 and later.


EventWithEventRef(IntPtr)

Creates an event object that is based on a Carbon type of event.

Original signature is '+ (NSEvent *)eventWithEventRef:(const void *)eventRef'

Available in Mac OS X v10.5 and later.


ExposedBindings

Returns an array containing the bindings exposed by the receiver.

Original signature is '- (NSArray *)exposedBindings'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Id is reclaimed by garbage collection.
(Inherited from Id.)
ForwardingTargetForSelector(IntPtr)

Returns the object to which unrecognized messages should first be directed.

Original signature is '- (id)forwardingTargetForSelector:(SEL)aSelector'

Available in Mac OS X v10.6 and later.

(Inherited from NSObject.)
ForwardInvocation(NSInvocation)

Overridden by subclasses to forward messages to other objects.

Original signature is '- (void)forwardInvocation:(NSInvocation *)anInvocation'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Id.)
GetInstanceVariable<(Of <<'(T>)>>)(String)
Gets the instance variable of the specified name.
(Inherited from Id.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GlobalModifierFlags

Returns the currently pressed modifier flags.

Original signature is '+ (NSUInteger)modifierFlags'

Available in Mac OS X v10.6 and later.


Hash

Returns an integer that can be used as a table address in a hash table structure. (required)

Original signature is '- (NSUInteger)hash'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InfoForBinding(NSString)

Returns a dictionary describing the receiver’s binding.

Original signature is '- (NSDictionary *)infoForBinding:(NSString *)binding'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
Init()()()()

Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated.

Original signature is '- (id)init'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InitWithCoder(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


InsertValueAtIndexInPropertyWithKey(Id, NSUInteger, NSString)

Inserts an object at the specified index in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
InsertValueInPropertyWithKey(Id, NSString)

Inserts an object in the collection specified by the passed key.

Original signature is '- (void)insertValue:(id)value inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
InverseForRelationshipKey(NSString)

For a given key that defines the name of the relationship from the receiver’s class to another class, returns the name of the relationship from the other class to the receiver’s class.

Original signature is '- (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsARepeat

Returns YES if the receiving key event is a repeat caused by the user holding the key down, NO if the key event is new.

Original signature is '- (BOOL)isARepeat'

Available in Mac OS X v10.0 and later.


IsEnteringProximity

Returns YES to indicate that a pointing device is entering the proximity of its tablet and NO when it is leaving it.

Original signature is '- (BOOL)isEnteringProximity'

Available in Mac OS X v10.4 and later.


IsEqual(Id)

Returns a Boolean value that indicates whether the receiver and a given object are equal. (required)

Original signature is '- (BOOL)isEqual:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsKindOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class. (required)

Original signature is '- (BOOL)isKindOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsMemberOfClass(Class)

Returns a Boolean value that indicates whether the receiver is an instance of a given class. (required)

Original signature is '- (BOOL)isMemberOfClass:(Class)aClass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
IsMouseCoalescingEnabled

Indicates whether mouse-movement event coalescing is enabled.

Original signature is '+ (BOOL)isMouseCoalescingEnabled'

Available in Mac OS X v10.5 and later.


IsProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject. (required)

Original signature is '- (BOOL)isProxy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
KeyCode

Returns the virtual key code for the keyboard key associated with the receiving key event.

Original signature is '- (unsigned short)keyCode'

Available in Mac OS X v10.0 and later.


KeyEventWithTypeLocationModifierFlagsTimestampWindowNumberContextCharactersCharactersIgnoringModifiersIsARepeatKeyCode(NSEventType, NSPoint, NSUInteger, Double, NSInteger, NSGraphicsContext, NSString, NSString, Boolean, UInt16)

Returns a new NSEvent object describing a key event.

Original signature is '+ (NSEvent *)keyEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)windowNum context:(NSGraphicsContext *)context characters:(NSString *)characters charactersIgnoringModifiers:(NSString *)unmodCharacters isARepeat:(BOOL)repeatKey keyCode:(unsigned short)code'

Available in Mac OS X v10.0 and later.


KeyRepeatDelay

Returns the length of time a key must be held down in order to generate the first key repeat event.

Original signature is '+ (NSTimeInterval)keyRepeatDelay'

Available in Mac OS X v10.6 and later.


KeyRepeatInterval

Returns the length between subsequent key repeat events being posted.

Original signature is '+ (NSTimeInterval)keyRepeatInterval'

Available in Mac OS X v10.6 and later.


LocationInWindow

Returns the receiver’s location in the base coordinate system of the associated window.

Original signature is '- (NSPoint)locationInWindow'

Available in Mac OS X v10.0 and later.


Magnification

Returns the change in magnification.

Original signature is '- (CGFloat)magnification'

Available in Mac OS X v10.6 and later.


MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MethodForSelector(IntPtr)

Locates and returns the address of the receiver’s implementation of a method so it can be called as a function.

Original signature is '- (IMP)methodForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MethodSignatureForSelector(IntPtr)

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ModifierFlags

Returns an integer bit field indicating the modifier keys in effect for the receiver.

Original signature is '- (NSUInteger)modifierFlags'

Available in Mac OS X v10.0 and later.


MouseEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberClickCountPressure(NSEventType, NSPoint, NSUInteger, Double, NSInteger, NSGraphicsContext, NSInteger, NSInteger, Single)

Returns a new NSEvent object describing a mouse-down, -up, -moved, or -dragged event.

Original signature is '+ (NSEvent *)mouseEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)windowNum context:(NSGraphicsContext *)context eventNumber:(NSInteger)eventNumber clickCount:(NSInteger)clickNumber pressure:(float)pressure'

Available in Mac OS X v10.0 and later.


MouseLocation

Reports the current mouse position in screen coordinates.

Original signature is '+ (NSPoint)mouseLocation'

Available in Mac OS X v10.0 and later.


MutableArrayValueForKey(NSString)

Returns a mutable array proxy that provides read-write access to an ordered to-many relationship specified by a given key.

Original signature is '- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableArrayValueForKeyPath(NSString)

Returns a mutable array that provides read-write access to the ordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableArray *)mutableArrayValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
MutableCopy()()()()

Returns the object returned by mutableCopyWithZone: where the zone is nil.

Original signature is '- (id)mutableCopy'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
MutableSetValueForKey(NSString)

Returns a mutable set proxy that provides read-write access to the unordered to-many relationship specified by a given key.

Original signature is '- (NSMutableSet *)mutableSetValueForKey:(NSString *)key'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
MutableSetValueForKeyPath(NSString)

Returns a mutable set that provides read-write access to the unordered to-many relationship specified by a given key path.

Original signature is '- (NSMutableSet *)mutableSetValueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
NativePointer
Gets or sets the native pointer.
(Inherited from Id.)
NewScriptingObjectOfClassForValueForKeyWithContentsValueProperties(Class, NSString, Id, NSDictionary)

Creates and returns an instance of a scriptable class, setting its contents and properties, for insertion into the relationship identified by the key.

Original signature is '- (id)newScriptingObjectOfClass:(Class)class forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
NSEventClass
Static field for a quick access to the NSEvent class.

ObservationInfo

Returns a pointer that identifies information about all of the observers that are registered with the receiver.

Original signature is '- (void *)observationInfo'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ObserveValueForKeyPathOfObjectChangeContext(NSString, Id, NSDictionary, IntPtr)

This message is sent to the receiver when the value at the specified key path relative to the given object has changed.

Original signature is '- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
OptionDescriptionsForBinding(NSString)

Returns an array describing the options for the specified binding.

Original signature is '- (NSArray *)optionDescriptionsForBinding:(NSString *)binding'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
OtherEventWithTypeLocationModifierFlagsTimestampWindowNumberContextSubtypeData1Data2(NSEventType, NSPoint, NSUInteger, Double, NSInteger, NSGraphicsContext, Int16, NSInteger, NSInteger)

Returns a new NSEvent object describing a custom event.

Original signature is '+ (NSEvent *)otherEventWithType:(NSEventType)type location:(NSPoint)location modifierFlags:(NSUInteger)flags timestamp:(NSTimeInterval)time windowNumber:(NSInteger)windowNum context:(NSGraphicsContext *)context subtype:(short)subtype data1:(NSInteger)data1 data2:(NSInteger)data2'

Available in Mac OS X v10.0 and later.


PerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

Original signature is '- (id)performSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorInBackgroundWithObject(IntPtr, Id)

Invokes a method of the receiver on a new background thread.

Original signature is '- (void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDone(IntPtr, Id, Boolean)

Invokes a method of the receiver on the main thread using the default mode.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnMainThreadWithObjectWaitUntilDoneModes(IntPtr, Id, Boolean, NSArray)

Invokes a method of the receiver on the main thread using the specified modes.

Original signature is '- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDone(IntPtr, NSThread, Id, Boolean)

Invokes a method of the receiver on the specified thread using the default mode.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorOnThreadWithObjectWaitUntilDoneModes(IntPtr, NSThread, Id, Boolean, NSArray)

Invokes a method of the receiver on the specified thread using the specified modes.

Original signature is '- (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
PerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelay(IntPtr, Id, Double)

Invokes a method of the receiver on the current thread using the default mode after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectAfterDelayInModes(IntPtr, Id, Double, NSArray)

Invokes a method of the receiver on the current thread using the specified modes after a delay.

Original signature is '- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray *)modes'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
PointingDeviceID

Returns the index of the pointing device currently in proximity with the tablet.

Original signature is '- (NSUInteger)pointingDeviceID'

Available in Mac OS X v10.4 and later.


PointingDeviceSerialNumber

Returns the vendor-assigned serial number of a pointing device of a certain type.

Original signature is '- (NSUInteger)pointingDeviceSerialNumber'

Available in Mac OS X v10.4 and later.


PointingDeviceType

Returns a NSPointingDeviceType constant indicating the kind of pointing device associated with the receiver.

Original signature is '- (NSPointingDeviceType)pointingDeviceType'

Available in Mac OS X v10.4 and later.


PressedMouseButtons

Returns the indices of the currently depressed mouse buttons.

Original signature is '+ (NSUInteger)pressedMouseButtons'

Available in Mac OS X v10.6 and later.


Pressure

Returns a value from 0.0 through 1.0 indicating the pressure applied to the input device (used for appropriate devices).

Original signature is '- (float)pressure'

Available in Mac OS X v10.0 and later.


Release()()()()

Decrements the receiver�s reference count.

Original signature is '- (oneway void)release'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RemoveMonitor(Id)

Remove the specified event monitor.

Original signature is '+ (void)removeMonitor:(id)eventMonitor'

Available in Mac OS X v10.6 and later.


RemoveObserverForKeyPath(NSObject, NSString)

Stops a given object from receiving change notifications for the property specified by a given key-path relative to the receiver.

Original signature is '- (void)removeObserver:(NSObject *)anObserver forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
RemoveValueAtIndexFromPropertyWithKey(NSUInteger, NSString)

Removes the object at the specified index from the collection specified by the passed key.

Original signature is '- (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForArchiver(NSArchiver)

Overridden by subclasses to substitute another object for itself during archiving.

Original signature is '- (id)replacementObjectForArchiver:(NSArchiver *)anArchiver'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForCoder(NSCoder)

Overridden by subclasses to substitute another object for itself during encoding.

Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplacementObjectForKeyedArchiver(NSKeyedArchiver)

Overridden by subclasses to substitute another object for itself during keyed archiving.

Original signature is '- (id)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ReplacementObjectForPortCoder(NSPortCoder)

Overridden by subclasses to substitute another object or a copy for itself during distribution encoding.

Original signature is '- (id)replacementObjectForPortCoder:(NSPortCoder *)aCoder'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ReplaceValueAtIndexInPropertyWithKeyWithValue(NSUInteger, NSString, Id)

Replaces the object at the specified index in the collection specified by the passed key.

Original signature is '- (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key withValue:(id)value'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(IntPtr)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message. (required)

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
RespondsToSelector(String)

Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.

Original signature is '- (BOOL)respondsToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Retain()()()()

Increments the receiver�s reference count.

Original signature is '- (id)retain'

Available in Mac OS X v10.0 and later.

(Inherited from Id.)
RetainCount

Returns the receiver’s reference count. (required)

Original signature is '- (NSUInteger)retainCount'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Rotation

Returns the rotation in degrees of the tablet pointing device associated with the receiver.

Original signature is '- (float)rotation'

Available in Mac OS X v10.4 and later.


SafeCastAs<(Of <<'(TInstance>)>>)(Id)
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IdExtensions.)
SafeCastTo<(Of <<'(TInstance>)>>)(Id)
Cast the current instance to the given type. the cast is dynamically tested for safety
(Inherited from IdExtensions.)
SafeRelease(Id)

Performs a safe release operation on the given instance.

The equivalent code is:

CopyC#
if (instance != null) instance.Release();
(Inherited from IdExtensions.)
ScriptingProperties

Returns an NSString-keyed dictionary of the receiver's scriptable properties.

Original signature is '- (NSDictionary *)scriptingProperties'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ScriptingValueForSpecifier(NSScriptObjectSpecifier)

Given an object specifier, returns the specified object or objects in the receiving container.

Original signature is '- (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.5 and later.

(Inherited from NSObject.)
Self

Returns the receiver. (required)

Original signature is '- (id)self'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SendMessage(String, array<Object>[]()[][])
Sends a message to this receiver (either a Class or an object instance).
(Inherited from Id.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from Id.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from Id.)
SetInstanceVariable<(Of <<'(T>)>>)(String, T)
Sets the instance variable of the specified name.
(Inherited from Id.)
SetNilValueForKey(NSString)

Invoked by setValue:forKey: when it’s given a nil value for a scalar value (such as an int or float).

Original signature is '- (void)setNilValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Id, NSString)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(String, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int16, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int64, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Int32, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Single, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Double, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Char, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKey(Boolean, String)

Sets the property of the receiver specified by a given key to a given value.

Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForKeyPath(Id, NSString)

Sets the value for the property identified by a given key path to a given value.

Original signature is '- (void)setValue:(id)value forKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValueForUndefinedKey(Id, NSString)

Invoked by setValue:forKey: when it finds no property for a given key.

Original signature is '- (void)setValue:(id)value forUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
SetValuesForKeysWithDictionary(NSDictionary)

Sets properties of the receiver with values from a given dictionary, using its keys to identify the properties.

Original signature is '- (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
StartPeriodicEventsAfterDelayWithPeriod(Double, Double)

Begins generating periodic events for the current thread.

Original signature is '+ (void)startPeriodicEventsAfterDelay:(NSTimeInterval)delaySeconds withPeriod:(NSTimeInterval)periodSeconds'

Available in Mac OS X v10.0 and later.


StopPeriodicEvents()()()()

Stops generating periodic events for the current thread and discards any periodic events remaining in the queue.

Original signature is '+ (void)stopPeriodicEvents'

Available in Mac OS X v10.0 and later.


Subtype

Returns the subtype of the receiving event object.

Original signature is '- (short)subtype'

Available in Mac OS X v10.0 and later.


Superclass

Returns the class object for the receiver’s superclass. (required)

Original signature is '- (Class)superclass'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
SystemTabletID

Returns the index of the tablet device connected to the system.

Original signature is '- (NSUInteger)systemTabletID'

Available in Mac OS X v10.4 and later.


TabletID

Returns the USB model identifier of the tablet device associated with the receiver.

Original signature is '- (NSUInteger)tabletID'

Available in Mac OS X v10.4 and later.


TangentialPressure

Reports the tangential pressure on the device that generated the event represented by the receiver.

Original signature is '- (float)tangentialPressure'

Available in Mac OS X v10.4 and later.


Tilt

Reports the scaled tilt values of the pointing device that generated the event represented by the receiver.

Original signature is '- (NSPoint)tilt'

Available in Mac OS X v10.4 and later.


Timestamp

Returns the time the receiver occurred in seconds since system startup.

Original signature is '- (NSTimeInterval)timestamp'

Available in Mac OS X v10.0 and later.


ToManyRelationshipKeys

Returns array containing the keys for the to-many relationship properties of the receiver.

Original signature is '- (NSArray *)toManyRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToOneRelationshipKeys

Returns the keys for the to-one relationship properties of the receiver, if any.

Original signature is '- (NSArray *)toOneRelationshipKeys'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ToString()()()()
Returns a String that represents this instance.
(Inherited from NSObject.)
TouchesMatchingPhaseInView(NSTouchPhase, NSView)

Returns all the NSTouch objects associated with a specific phase.

Original signature is '- (NSSet *)touchesMatchingPhase:(NSTouchPhase)phase inView:(NSView *)view'

Available in Mac OS X v10.6 and later.


TrackingArea

Returns the NSTrackingArea object that generated the event represented by the receiver.

Original signature is '- (NSTrackingArea *)trackingArea'

Available in Mac OS X v10.5 and later.


TrackingNumber

Returns the identifier of a mouse-tracking event.

Original signature is '- (NSInteger)trackingNumber'

Available in Mac OS X v10.0 and later.


Type

Returns the type of the receiving event.

Original signature is '- (NSEventType)type'

Available in Mac OS X v10.0 and later.


Unbind(NSString)

Removes a given binding between the receiver and a controller.

Original signature is '- (void)unbind:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
UniqueID

Returns the unique identifier of the pointing device that generated the event represented by the receiver.

Original signature is '- (unsigned long long)uniqueID'

Available in Mac OS X v10.4 and later.


UserData

Returns data associated with a mouse-tracking event,

Original signature is '- (void *)userData'

Available in Mac OS X v10.0 and later.


ValidateValueForKeyError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for the property identified by a given key.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)key error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValidateValueForKeyPathError(Id%, NSString, NSError%)

Returns a Boolean value that indicates whether the value specified by a given pointer is valid for a given key path relative to the receiver.

Original signature is '- (BOOL)validateValue:(id *)ioValue forKeyPath:(NSString *)inKeyPath error:(NSError **)outError'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueAtIndexInPropertyWithKey(NSUInteger, NSString)

Retrieves an indexed object from the collection specified by the passed key.

Original signature is '- (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueClassForBinding(NSString)

Returns the class of the value that will be returned for the specified binding.

Original signature is '- (Class)valueClassForBinding:(NSString *)binding'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueForKey(NSString)

Returns the value for the property identified by a given key.

Original signature is '- (id)valueForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForKeyPath(NSString)

Returns the value for the derived property identified by a given key path.

Original signature is '- (id)valueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
ValueForUndefinedKey(NSString)

Invoked by valueForKey: when it finds no property corresponding to a given key.

Original signature is '- (id)valueForUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
ValueWithNameInPropertyWithKey(NSString, NSString)

Retrieves a named object from the collection specified by the passed key.

Original signature is '- (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
ValueWithUniqueIDInPropertyWithKey(Id, NSString)

Retrieves an object by ID from the collection specified by the passed key.

Original signature is '- (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key'

Available in Mac OS X v10.2 and later.

(Inherited from NSObject.)
VendorDefined

Returns an array of three vendor-defined NSNumber objects associated with the pointing-type event represented by the receiver.

Original signature is '- (id)vendorDefined'

Available in Mac OS X v10.4 and later.


VendorID

Returns the vendor identifier of the tablet associated with the receiver.

Original signature is '- (NSUInteger)vendorID'

Available in Mac OS X v10.4 and later.


VendorPointingDeviceType

Returns a coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the receiver.

Original signature is '- (NSUInteger)vendorPointingDeviceType'

Available in Mac OS X v10.4 and later.


WillChangeValueForKey(NSString)

Invoked to inform the receiver that the value of a given property is about to change.

Original signature is '- (void)willChangeValueForKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
WillChangeValueForKeyWithSetMutationUsingObjects(NSString, NSKeyValueSetMutationKind, NSSet)

Invoked to inform the receiver that the specified change is about to be made to a specified unordered to-many relationship.

Original signature is '- (void)willChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects'

Available in Mac OS X v10.4 and later.

(Inherited from NSObject.)
WillChangeValuesAtIndexesForKey(NSKeyValueChange, NSIndexSet, NSString)

Invoked to inform the receiver that the specified change is about to be executed at given indexes for a specified ordered to-many relationship.

Original signature is '- (void)willChange:(NSKeyValueChange)change valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

(Inherited from NSObject.)
Window

Returns the window object associated with the receiver.

Original signature is '- (NSWindow *)window'

Available in Mac OS X v10.0 and later.


WindowNumber

Returns the identifier for the window device associated with the receiver.

Original signature is '- (NSInteger)windowNumber'

Available in Mac OS X v10.0 and later.


Zone

Returns a pointer to the zone from which the receiver was allocated. (required)

Original signature is '- (NSZone *)zone'

Available in Mac OS X v10.0 and later.

(Inherited from NSObject.)
Inheritance Hierarchy
Object
Id
 NSObject
  NSEvent
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)