|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSEvent
public abstract class NSEvent
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.
Nested Class Summary | |
---|---|
class |
NSEvent._class_
|
static class |
NSEvent._data_union
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
---|
NSCopying._static_ |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
---|
NSCoding._static_ |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSEvent()
|
Method Summary | |
---|---|
abstract int |
absoluteX()
absolute x coordinate in tablet space at full tablet resolution Original signature : -(NSInteger)absoluteX |
abstract int |
absoluteY()
absolute y coordinate in tablet space at full tablet resolution Original signature : -(NSInteger)absoluteY |
abstract int |
absoluteZ()
absolute z coordinate in tablet space at full tablet resolution Original signature : -(NSInteger)absoluteZ |
static NSEvent |
alloc()
|
abstract int |
buttonMask()
mask indicating which buttons are pressed. |
abstract int |
buttonNumber()
Original signature : -(NSInteger)buttonNumber for NSOtherMouse events, but will return valid constants for NSLeftMouse and NSRightMouse |
abstract int |
capabilityMask()
mask representing capabilities of device Original signature : -(NSUInteger)capabilityMask |
abstract NSObject |
CGEvent()
-CGEvent returns an autoreleased CGEventRef corresponding to the NSEvent. |
abstract NSString |
characters()
these messages are valid for keyup and keydown events Original signature : -(NSString*)characters |
abstract NSString |
charactersIgnoringModifiers()
|
abstract int |
clickCount()
these messages are valid for all mouse down/up/drag events Original signature : -(NSInteger)clickCount |
abstract NSGraphicsContext |
context()
|
abstract int |
data1()
these messages are valid for kit, system, and app-defined events Original signature : -(NSInteger)data1 |
abstract int |
data2()
|
abstract float |
deltaX()
these messages are valid for scroll wheel events and mouse move/drag events Original signature : -(CGFloat)deltaX |
abstract float |
deltaY()
|
abstract float |
deltaZ()
Original signature : -(CGFloat)deltaZ 0 for most scroll wheel and mouse events |
abstract int |
deviceID()
this message is valid for mouse events with subtype NSTabletPointEventSubtype or NSTabletProximityEventSubtype, and for NSTabletPoint and NSTabletProximity events Original signature : -(NSUInteger)deviceID |
static NSEvent |
enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(int type,
NSPoint.ByValue location,
int flags,
double time,
int wNum,
NSGraphicsContext context,
int eNum,
int tNum,
Pointer data)
Original signature : +(NSEvent*)enterExitEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) trackingNumber:(NSInteger) userData:(void*) |
abstract int |
eventNumber()
these messages are valid for all mouse down/up/drag and enter/exit events Original signature : -(NSInteger)eventNumber |
abstract Pointer |
eventRef()
-eventRef returns an EventRef corresponding to the NSEvent. |
static NSEvent |
eventWithEventRef(Pointer eventRef)
+eventWithEventRef: returns an autoreleased NSEvent corresponding to the EventRef. |
abstract boolean |
isARepeat()
the chars that would have been generated, regardless of modifier keys (except shift) Original signature : -(BOOL)isARepeat |
abstract boolean |
isEnteringProximity()
YES - entering; NO - leaving Original signature : -(BOOL)isEnteringProximity |
static boolean |
isMouseCoalescingEnabled()
|
abstract short |
keyCode()
this message is valid for keyup, keydown and flagschanged events Original signature : -(unsigned short)keyCode device-independent key number |
static NSEvent |
keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(int type,
NSPoint.ByValue location,
int flags,
double time,
int wNum,
NSGraphicsContext context,
NSString keys,
NSString ukeys,
boolean flag,
short code)
Original signature : +(NSEvent*)keyEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) characters:(NSString*) charactersIgnoringModifiers:(NSString*) isARepeat:(BOOL) keyCode:(unsigned short) |
abstract NSPoint.ByValue |
locationInWindow()
|
abstract int |
modifierFlags()
|
static NSEvent |
mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(int type,
NSPoint.ByValue location,
int flags,
double time,
int wNum,
NSGraphicsContext context,
int eNum,
int cNum,
float pressure)
apps will rarely create these objects Original signature : +(NSEvent*)mouseEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) clickCount:(NSInteger) pressure:(float) |
static NSPoint.ByValue |
mouseLocation()
global mouse coordinates Original signature : +(NSPoint)mouseLocation |
static NSEvent |
otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(int type,
NSPoint.ByValue location,
int flags,
double time,
int wNum,
NSGraphicsContext context,
short subtype,
int d1,
int d2)
Original signature : +(NSEvent*)otherEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) subtype:(short) data1:(NSInteger) data2:(NSInteger) |
abstract int |
pointingDeviceID()
index of the device on the tablet. |
abstract int |
pointingDeviceSerialNumber()
vendor defined serial number of pointing device Original signature : -(NSUInteger)pointingDeviceSerialNumber |
abstract int |
pointingDeviceType()
mask representing capabilities of device Original signature : -(NSPointingDeviceType)pointingDeviceType |
abstract float |
pressure()
These messages are also valid for NSTabletPoint events on 10.4 or later Original signature : -(float)pressure |
abstract float |
rotation()
device rotation in degrees Original signature : -(float)rotation |
static void |
setMouseCoalescingEnabled(boolean flag)
Enable or disable coalescing of mouse movement events, including mouse moved, mouse dragged, and tablet events. |
static void |
startPeriodicEventsAfterDelay_withPeriod(double delay,
double period)
used for initial delay and periodic behavior in tracking loops Original signature : +(void)startPeriodicEventsAfterDelay:(NSTimeInterval) withPeriod:(NSTimeInterval) |
static void |
stopPeriodicEvents()
|
abstract short |
subtype()
this message is also valid for mouse events on 10.4 or later Original signature : -(short)subtype |
abstract int |
systemTabletID()
system assigned unique tablet ID Original signature : -(NSUInteger)systemTabletID |
abstract int |
tabletID()
vendor defined tablet ID Original signature : -(NSUInteger)tabletID |
abstract float |
tangentialPressure()
tangential pressure on the device; range is -1 to 1 Original signature : -(float)tangentialPressure |
abstract NSPoint.ByValue |
tilt()
range is -1 to 1 for both axes Original signature : -(NSPoint)tilt |
abstract double |
timestamp()
|
abstract NSTrackingArea |
trackingArea()
-trackingArea returns the NSTrackingArea that generated this event. |
abstract int |
trackingNumber()
these messages are valid for enter and exit events Original signature : -(NSInteger)trackingNumber |
abstract int |
type()
these messages are valid for all events Original signature : -(NSEventType)type |
abstract long |
uniqueID()
vendor defined unique ID Original signature : -(unsigned long long)uniqueID |
abstract Pointer |
userData()
|
abstract NSObject |
vendorDefined()
NSArray of 3 vendor defined shorts Original signature : -(id)vendorDefined |
abstract int |
vendorID()
vendor defined, typically USB vendor ID Original signature : -(NSUInteger)vendorID |
abstract int |
vendorPointingDeviceType()
vendor defined pointing device type Original signature : -(NSUInteger)vendorPointingDeviceType |
abstract NSWindow |
window()
|
abstract int |
windowNumber()
|
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
---|
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying |
---|
copyWithZone |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding |
---|
encodeWithCoder, initWithCoder |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDistantObjectRequestMethods |
---|
connection_handleRequest |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObserverNotification |
---|
didChange_valuesAtIndexes_forKey, didChangeValueForKey_withSetMutation_usingObjects, didChangeValueForKey, willChange_valuesAtIndexes_forKey, willChangeValueForKey_withSetMutation_usingObjects, willChangeValueForKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSoundDelegateMethods |
---|
sound_didFinishPlaying |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNetServiceDelegateMethods |
---|
netService_didNotPublish, netService_didNotResolve, netService_didUpdateTXTRecordData, netServiceDidPublish, netServiceDidResolveAddress, netServiceDidStop, netServiceWillPublish, netServiceWillResolve |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSRuleEditorDelegateMethods |
---|
ruleEditor_child_forCriterion_withRowType, ruleEditor_displayValueForCriterion_inRow, ruleEditor_numberOfChildrenForCriterion_withRowType, ruleEditor_predicatePartsForCriterion_withDisplayValue_inRow, ruleEditorRowsDidChange |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSLayoutManagerDelegate |
---|
layoutManager_didCompleteLayoutForTextContainer_atEnd, layoutManagerDidInvalidateLayout |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxDataSource |
---|
comboBox_completedString, comboBox_indexOfItemWithStringValue, comboBox_objectValueForItemAtIndex, numberOfItemsInComboBox |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDatePickerCellDelegate |
---|
datePickerCell_validateProposedDateValue_timeInterval, datePickerCell_validateProposedDateValue_timeInterval |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSEditorRegistration |
---|
objectDidBeginEditing, objectDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSClassDescriptionPrimitives |
---|
attributeKeys, classDescription, inverseForRelationshipKey, toManyRelationshipKeys, toOneRelationshipKeys |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSCoderMethods |
---|
awakeAfterUsingCoder, classForCoder, replacementObjectForCoder |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.AMWorkflowControllerDelegate |
---|
workflowController_didError, workflowController_didRunAction, workflowController_willRunAction, workflowControllerDidRun, workflowControllerDidStop, workflowControllerWillRun, workflowControllerWillStop |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxNotifications |
---|
comboBoxSelectionDidChange, comboBoxSelectionIsChanging, comboBoxWillDismiss, comboBoxWillPopUp |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSavePanelDelegate |
---|
panel_compareFilename_with_caseSensitive, panel_directoryDidChange, panel_isValidFilename, panel_shouldShowFilename, panel_userEnteredFilename_confirmed, panel_willExpand, panelSelectionDidChange |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueBindingCreation |
---|
bind_toObject_withKeyPath_options, exposedBindings, infoForBinding, optionDescriptionsForBinding, unbind, valueClassForBinding |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
---|
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSErrorRecoveryAttempting |
---|
attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo, attemptRecoveryFromError_optionIndex |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSThreadPerformAdditions |
---|
performSelector_onThread_withObject_waitUntilDone_modes, performSelector_onThread_withObject_waitUntilDone, performSelectorInBackground_withObject, performSelectorOnMainThread_withObject_waitUntilDone_modes, performSelectorOnMainThread_withObject_waitUntilDone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSToolbarNotifications |
---|
toolbarDidRemoveItem, toolbarWillAddItem |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTCaptureViewDelegate |
---|
view_willDisplayImage |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptClassDescription |
---|
classCode, className |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontPanelValidationAdditions |
---|
validModesForFontPanel |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibilityAdditions |
---|
accessibilitySetOverrideValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingSource |
---|
draggingSourceOperationMaskForLocal, ignoreModifierKeysWhileDragging, namesOfPromisedFilesDroppedAtDestination |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSConnectionDelegateMethods |
---|
authenticateComponents_withData, authenticationDataForComponents, connection_shouldMakeNewConnection, createConversationForConnection, makeNewConnection_sender |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSPasteboardOwner |
---|
pasteboard_provideDataForType, pasteboardChangedOwner |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSStreamDelegateEventExtensions |
---|
stream_handleEvent |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDeprecatedKeyValueCoding |
---|
handleQueryWithUnboundKey, handleTakeValue_forUnboundKey, storedValueForKey, takeStoredValue_forKey, takeValue_forKey, takeValue_forKeyPath, takeValuesFromDictionary, unableToSetNilForKey, valuesForKeys |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedArchiverObjectSubstitution |
---|
classForKeyedArchiver, replacementObjectForKeyedArchiver |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNetServiceBrowserDelegateMethods |
---|
netServiceBrowser_didFindDomain_moreComing, netServiceBrowser_didFindService_moreComing, netServiceBrowser_didNotSearch, netServiceBrowser_didRemoveDomain_moreComing, netServiceBrowser_didRemoveService_moreComing, netServiceBrowserDidStopSearch, netServiceBrowserWillSearch |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.ABActionDelegate |
---|
actionProperty, performActionForPerson_identifier, shouldEnableActionForPerson_identifier, titleForPerson_identifier |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTMovieDelegate |
---|
externalMovie, movie_linkToURL, movie_shouldContinueOperation_withPhase_atPercent_withAttributes, movieShouldLoadData, movieShouldTask |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDrawerDelegate |
---|
drawerShouldClose, drawerShouldOpen |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScripting |
---|
copyScriptingValue_forKey_withProperties, newScriptingObjectOfClass_forValueForKey_withContentsValue_properties, scriptingProperties, scriptingValueForSpecifier, setScriptingProperties |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebPlugInContainer |
---|
webFrame, webPlugInContainerLoadRequest_inFrame, webPlugInContainerSelectionColor, webPlugInContainerShowStatus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebScripting |
---|
finalizeForWebScript, invokeDefaultMethodWithArguments, invokeUndefinedMethodFromWebScript_withArguments |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFChooseIdentityPanelDelegate |
---|
chooseIdentityPanelShowHelp |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSToolbarDelegate |
---|
toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar, toolbarAllowedItemIdentifiers, toolbarDefaultItemIdentifiers, toolbarSelectableItemIdentifiers |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComparisonMethods |
---|
doesContain, isCaseInsensitiveLike, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isLike, isNotEqualTo |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMetadataQueryDelegate |
---|
metadataQuery_replacementObjectForResultObject, metadataQuery_replacementValueForAttribute_value |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebDownloadDelegate |
---|
downloadWindowForAuthenticationSheet |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedArchiverDelegate |
---|
archiver_didEncodeObject, archiver_willEncodeObject, archiver_willReplaceObject_withObject, archiverDidFinish, archiverWillFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFAuthorizationViewDelegate |
---|
authorizationViewCreatedAuthorization, authorizationViewDidAuthorize, authorizationViewDidDeauthorize, authorizationViewReleasedAuthorization, authorizationViewShouldDeauthorize |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowDelegate |
---|
window_shouldPopUpDocumentPathMenu, window_willPositionSheet_usingRect, windowShouldClose, windowShouldZoom_toFrame, windowWillResize_toSize, windowWillReturnFieldEditor_toObject, windowWillReturnUndoManager, windowWillUseStandardFrame_defaultFrame |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAnimationDelegate |
---|
animation_didReachProgressMark, animation_valueForProgress, animationDidEnd, animationDidStop, animationShouldStart |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObservingCustomization |
---|
observationInfo, setObservationInfo |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDictionaryControllerKeyValuePair |
---|
isExplicitlyIncluded, key, localizedKey, setKey, setLocalizedKey, setValue, value |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTabViewDelegate |
---|
tabView_didSelectTabViewItem, tabView_shouldSelectTabViewItem, tabView_willSelectTabViewItem, tabViewDidChangeNumberOfTabViewItems |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSApplicationScriptingDelegation |
---|
application_delegateHandlesKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpeechRecognizerDelegate |
---|
speechRecognizer_didRecognizeCommand |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLConnectionDelegate |
---|
connection_didCancelAuthenticationChallenge, connection_didFailWithError, connection_didReceiveAuthenticationChallenge, connection_didReceiveData, connection_didReceiveResponse, connection_willCacheResponse, connection_willSendRequest_redirectResponse, connectionDidFinishLoading |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSControlSubclassNotifications |
---|
controlTextDidBeginEditing, controlTextDidChange, controlTextDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewNotifications |
---|
outlineViewColumnDidMove, outlineViewColumnDidResize, outlineViewItemDidCollapse, outlineViewItemDidExpand, outlineViewItemWillCollapse, outlineViewItemWillExpand, outlineViewSelectionDidChange, outlineViewSelectionIsChanging |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSPortDelegateMethods |
---|
handlePortMessage |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontManagerDelegate |
---|
fontManager_willIncludeFont |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSControlSubclassDelegate |
---|
control_didFailToFormatString_errorDescription, control_didFailToValidatePartialString_errorDescription, control_isValidObject, control_textShouldBeginEditing, control_textShouldEndEditing, control_textView_doCommandBySelector |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptObjectSpecifiers |
---|
indicesOfObjectsByEvaluatingObjectSpecifier, objectSpecifier |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebPlugIn |
---|
objectForWebScript, webPlugInDestroy, webPlugInInitialize, webPlugInSetIsSelected, webPlugInStart, webPlugInStop |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebJavaPlugIn |
---|
webPlugInGetApplet |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpeechSynthesizerDelegate |
---|
speechSynthesizer_didEncounterErrorAtIndex_ofString_message, speechSynthesizer_didEncounterSyncMessage, speechSynthesizer_didFinishSpeaking, speechSynthesizer_willSpeakPhoneme |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.IMVideoDataSource |
---|
getOpenGLBufferContext_pixelFormat, getPixelBufferPixelFormat, getPixelBufferPixelFormat |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLClient |
---|
URL_resourceDataDidBecomeAvailable, URL_resourceDidFailLoadingWithReason, URLResourceDidCancelLoading, URLResourceDidFinishLoading |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedUnarchiverDelegate |
---|
unarchiver_cannotDecodeObjectOfClassName_originalClasses, unarchiver_didDecodeObject, unarchiver_willReplaceObject_withObject, unarchiverDidFinish, unarchiverWillFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptingComparisonMethods |
---|
scriptingBeginsWith, scriptingContains, scriptingEndsWith, scriptingIsEqualTo, scriptingIsGreaterThan, scriptingIsGreaterThanOrEqualTo, scriptingIsLessThan, scriptingIsLessThanOrEqualTo |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSColorPanelResponderMethod |
---|
changeColor |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
---|
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptKeyValueCoding |
---|
coerceValue_forKey, insertValue_atIndex_inPropertyWithKey, insertValue_inPropertyWithKey, removeValueAtIndex_fromPropertyWithKey, replaceValueAtIndex_inPropertyWithKey_withValue, valueAtIndex_inPropertyWithKey, valueWithName_inPropertyWithKey, valueWithUniqueID_inPropertyWithKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNibAwaking |
---|
awakeFromNib |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSImageDelegate |
---|
image_didLoadPartOfRepresentation_withValidRows, image_didLoadRepresentation_withStatus, image_didLoadRepresentationHeader, image_willLoadRepresentation |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextDelegate |
---|
textDidBeginEditing, textDidChange, textDidEndEditing, textShouldBeginEditing, textShouldEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObserving |
---|
observeValueForKeyPath_ofObject_change_context |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTMovieViewDelegate |
---|
view_willDisplayImage |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSArchiverCallback |
---|
classForArchiver, replacementObjectForArchiver |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxCellDataSource |
---|
comboBoxCell_completedString, comboBoxCell_indexOfItemWithStringValue, comboBoxCell_objectValueForItemAtIndex, numberOfItemsInComboBoxCell |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontManagerResponderMethod |
---|
changeFont |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSEditor |
---|
commitEditing, commitEditingWithDelegate_didCommitSelector_contextInfo, discardEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMenuValidation |
---|
validateMenuItem |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMenuDelegate |
---|
menu_updateItem_atIndex_shouldCancel, menu_willHighlightItem, menuDidClose, menuHasKeyEquivalent_forEvent_target_action, menuNeedsUpdate, menuWillOpen, numberOfItemsInMenu |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDistributedObjects |
---|
classForPortCoder, replacementObjectForPortCoder |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
---|
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSCopyLinkMoveHandler |
---|
fileManager_shouldProceedAfterError, fileManager_willProcessPath |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFCertificatePanelDelegate |
---|
certificatePanelShowHelp |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpellServerDelegate |
---|
spellServer_checkGrammarInString_language_details, spellServer_didForgetWord_inLanguage, spellServer_didLearnWord_inLanguage, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_suggestGuessesForWord_inLanguage |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
---|
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDrawerNotifications |
---|
drawerDidClose, drawerDidOpen, drawerWillClose, drawerWillOpen |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObserverRegistration |
---|
addObserver_forKeyPath_options_context, removeObserver_forKeyPath |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSExceptionHandlerDelegate |
---|
exceptionHandler_shouldHandleException_mask, exceptionHandler_shouldLogException_mask |
Constructor Detail |
---|
public NSEvent()
Method Detail |
---|
public abstract int type()
-(NSEventType)type
public abstract int modifierFlags()
public abstract double timestamp()
public abstract NSWindow window()
public abstract int windowNumber()
public abstract NSGraphicsContext context()
public abstract int clickCount()
-(NSInteger)clickCount
public abstract int buttonNumber()
-(NSInteger)buttonNumber
public abstract int eventNumber()
-(NSInteger)eventNumber
public abstract float pressure()
-(float)pressure
public abstract NSPoint.ByValue locationInWindow()
public abstract float deltaX()
-(CGFloat)deltaX
public abstract float deltaY()
public abstract float deltaZ()
-(CGFloat)deltaZ
public abstract NSString characters()
-(NSString*)characters
public abstract NSString charactersIgnoringModifiers()
public abstract boolean isARepeat()
-(BOOL)isARepeat
public abstract short keyCode()
-(unsigned short)keyCode
public abstract int trackingNumber()
-(NSInteger)trackingNumber
public abstract Pointer userData()
public abstract NSTrackingArea trackingArea()
-(NSTrackingArea*)trackingArea
public abstract short subtype()
-(short)subtype
public abstract int data1()
-(NSInteger)data1
public abstract int data2()
public abstract Pointer eventRef()
-(const void*)eventRef
public static NSEvent eventWithEventRef(Pointer eventRef)
+(NSEvent*)eventWithEventRef:(const void*)
public abstract NSObject CGEvent()
-(id)CGEvent
public static void setMouseCoalescingEnabled(boolean flag)
+(void)setMouseCoalescingEnabled:(BOOL)
public static boolean isMouseCoalescingEnabled()
public abstract int deviceID()
-(NSUInteger)deviceID
public abstract int absoluteX()
-(NSInteger)absoluteX
public abstract int absoluteY()
-(NSInteger)absoluteY
public abstract int absoluteZ()
-(NSInteger)absoluteZ
public abstract int buttonMask()
-(NSUInteger)buttonMask
public abstract NSPoint.ByValue tilt()
-(NSPoint)tilt
public abstract float rotation()
-(float)rotation
public abstract float tangentialPressure()
-(float)tangentialPressure
public abstract NSObject vendorDefined()
-(id)vendorDefined
public abstract int vendorID()
-(NSUInteger)vendorID
public abstract int tabletID()
-(NSUInteger)tabletID
public abstract int pointingDeviceID()
-(NSUInteger)pointingDeviceID
public abstract int systemTabletID()
-(NSUInteger)systemTabletID
public abstract int vendorPointingDeviceType()
-(NSUInteger)vendorPointingDeviceType
public abstract int pointingDeviceSerialNumber()
-(NSUInteger)pointingDeviceSerialNumber
public abstract long uniqueID()
-(unsigned long long)uniqueID
public abstract int capabilityMask()
-(NSUInteger)capabilityMask
public abstract int pointingDeviceType()
-(NSPointingDeviceType)pointingDeviceType
public abstract boolean isEnteringProximity()
-(BOOL)isEnteringProximity
public static void startPeriodicEventsAfterDelay_withPeriod(double delay, double period)
+(void)startPeriodicEventsAfterDelay:(NSTimeInterval) withPeriod:(NSTimeInterval)
public static void stopPeriodicEvents()
public static NSEvent mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure(int type, NSPoint.ByValue location, int flags, double time, int wNum, NSGraphicsContext context, int eNum, int cNum, float pressure)
+(NSEvent*)mouseEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) clickCount:(NSInteger) pressure:(float)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic static NSEvent keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode(int type, NSPoint.ByValue location, int flags, double time, int wNum, NSGraphicsContext context, NSString keys, NSString ukeys, boolean flag, short code)
+(NSEvent*)keyEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) characters:(NSString*) charactersIgnoringModifiers:(NSString*) isARepeat:(BOOL) keyCode:(unsigned short)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic static NSEvent enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData(int type, NSPoint.ByValue location, int flags, double time, int wNum, NSGraphicsContext context, int eNum, int tNum, Pointer data)
+(NSEvent*)enterExitEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) eventNumber:(NSInteger) trackingNumber:(NSInteger) userData:(void*)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic static NSEvent otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2(int type, NSPoint.ByValue location, int flags, double time, int wNum, NSGraphicsContext context, short subtype, int d1, int d2)
+(NSEvent*)otherEventWithType:(NSEventType) location:(NSPoint) modifierFlags:(NSUInteger) timestamp:(NSTimeInterval) windowNumber:(NSInteger) context:(NSGraphicsContext*) subtype:(short) data1:(NSInteger) data2:(NSInteger)
type
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSEventTypepublic static NSPoint.ByValue mouseLocation()
+(NSPoint)mouseLocation
public static NSEvent alloc()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |