org.rococoa.cocoa.foundation
Class NSAppleEventManager
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSAppleEventManager
- All Implemented Interfaces:
- NSObject, ObjCObject
public abstract class NSAppleEventManager
- extends NSObject
- implements ObjCObject
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Method Summary |
static NSAppleEventManager |
alloc()
|
abstract NSAppleEventDescriptor |
appleEventForSuspensionID(Pointer suspensionID)
Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, return the descriptor for the event whose handling was suspended. |
abstract NSAppleEventDescriptor |
currentAppleEvent()
If an Apple event is being handled on the current thread (i.e., a handler that was registered with -setEventHandler:andSelector:forEventClass:andEventID: is being messaged at this instant or -setCurrentAppleEventAndReplyEventWithSuspensionID: has just been invoked), return the descriptor for the event. |
abstract NSAppleEventDescriptor |
currentReplyAppleEvent()
If an Apple event is being handled on the current thread (i.e., -currentAppleEvent would not return nil), return the corresponding reply event descriptor. |
static NSAppleEventManager._class_ |
getNSClass()
|
static NSAppleEventManager |
new_()
|
abstract NSAppleEventDescriptor |
replyAppleEventForSuspensionID(Pointer suspensionID)
Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, return the corresponding reply event descriptor. |
abstract void |
resumeWithSuspensionID(Pointer suspensionID)
Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, signal that handling of the suspended event may now continue. |
abstract void |
setCurrentAppleEventAndReplyEventWithSuspensionID(Pointer suspensionID)
Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, set the values that will be returned by subsequent invocations of -currentAppleEvent and -currentReplyAppleEvent to be the event whose handling was suspended and its corresponding reply event, respectively. |
static NSAppleEventManager |
sharedAppleEventManager()
Get the pointer to the program's single NSAppleEventManager. |
abstract Pointer |
suspendCurrentAppleEvent()
If an Apple event is being handled on the current thread (i.e., -currentAppleEvent would not return nil), suspend the handling of the event, returning an ID that must be used to resume the handling of the event. |
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
NSAppleEventManager
public NSAppleEventManager()
sharedAppleEventManager
public static NSAppleEventManager sharedAppleEventManager()
- Get the pointer to the program's single NSAppleEventManager.
Original signature : +(NSAppleEventManager*)sharedAppleEventManager
native declaration : NSAppleEventManager.h:31
currentAppleEvent
public abstract NSAppleEventDescriptor currentAppleEvent()
- If an Apple event is being handled on the current thread (i.e., a handler that was registered with -setEventHandler:andSelector:forEventClass:andEventID: is being messaged at this instant or -setCurrentAppleEventAndReplyEventWithSuspensionID: has just been invoked), return the descriptor for the event. Return nil otherwise. The effects of mutating or retaining the returned descriptor are undefined, though it may be copied.
Original signature : -(NSAppleEventDescriptor*)currentAppleEvent
native declaration : NSAppleEventManager.h:46
currentReplyAppleEvent
public abstract NSAppleEventDescriptor currentReplyAppleEvent()
- If an Apple event is being handled on the current thread (i.e., -currentAppleEvent would not return nil), return the corresponding reply event descriptor. Return nil otherwise. This descriptor, including any mutatations, will be returned to the sender of the current event when all handling of the event has been completed, if the sender has requested a reply. The effects of retaining the descriptor are undefined; it may be copied, but mutations of the copy will not be returned to the sender of the current event.
Original signature : -(NSAppleEventDescriptor*)currentReplyAppleEvent
native declaration : NSAppleEventManager.h:49
suspendCurrentAppleEvent
public abstract Pointer suspendCurrentAppleEvent()
- If an Apple event is being handled on the current thread (i.e., -currentAppleEvent would not return nil), suspend the handling of the event, returning an ID that must be used to resume the handling of the event. Return zero otherwise. The suspended event will no longer be the current event after this method has returned.
Original signature : -(NSAppleEventManagerSuspensionID)suspendCurrentAppleEvent
native declaration : NSAppleEventManager.h:52
appleEventForSuspensionID
public abstract NSAppleEventDescriptor appleEventForSuspensionID(Pointer suspensionID)
- Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, return the descriptor for the event whose handling was suspended. The effects of mutating or retaining the returned descriptor are undefined, though it may be copied. This method may be invoked in any thread, not just the one in which the corresponding invocation of -suspendCurrentAppleEvent occurred.
Original signature : -(NSAppleEventDescriptor*)appleEventForSuspensionID:(NSAppleEventManagerSuspensionID)
native declaration : NSAppleEventManager.h:55
replyAppleEventForSuspensionID
public abstract NSAppleEventDescriptor replyAppleEventForSuspensionID(Pointer suspensionID)
- Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, return the corresponding reply event descriptor. This descriptor, including any mutatations, will be returned to the sender of the suspended event when handling of the event is resumed, if the sender has requested a reply. The effects of retaining the descriptor are undefined; it may be copied, but mutations of the copy will not be returned to the sender of the suspended event. This method may be invoked in any thread, not just the one in which the corresponding invocation of -suspendCurrentAppleEvent occurred.
Original signature : -(NSAppleEventDescriptor*)replyAppleEventForSuspensionID:(NSAppleEventManagerSuspensionID)
native declaration : NSAppleEventManager.h:58
setCurrentAppleEventAndReplyEventWithSuspensionID
public abstract void setCurrentAppleEventAndReplyEventWithSuspensionID(Pointer suspensionID)
- Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, set the values that will be returned by subsequent invocations of -currentAppleEvent and -currentReplyAppleEvent to be the event whose handling was suspended and its corresponding reply event, respectively. Redundant invocations of this method will be ignored.
Original signature : -(void)setCurrentAppleEventAndReplyEventWithSuspensionID:(NSAppleEventManagerSuspensionID)
native declaration : NSAppleEventManager.h:61
resumeWithSuspensionID
public abstract void resumeWithSuspensionID(Pointer suspensionID)
- Given a nonzero suspension ID returned by an invocation of -suspendCurrentAppleEvent, signal that handling of the suspended event may now continue. This may result in the immediate sending of the reply event to the sender of the suspended event, if the sender has requested a reply. If the suspension ID has been used in a previous invocation of -setCurrentAppleEventAndReplyEventWithSuspensionID: the effects of that invocation will be completely undone. Subsequent invocations of other NSAppleEventManager methods using the same suspension ID are invalid. This method may be invoked in any thread, not just the one in which the corresponding invocation of -suspendCurrentAppleEvent occurred.
Original signature : -(void)resumeWithSuspensionID:(NSAppleEventManagerSuspensionID)
native declaration : NSAppleEventManager.h:64
alloc
public static NSAppleEventManager alloc()
new_
public static NSAppleEventManager new_()
getNSClass
public static NSAppleEventManager._class_ getNSClass()
Copyright © 2009. All Rights Reserved.