Package com.sun.jna.platform.mac
Interface Carbon
- All Superinterfaces:
- Library
Author: Denis Tulskiy
 Date: 7/25/11
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic classstatic classNested classes/interfaces inherited from interface com.sun.jna.LibraryLibrary.Handler
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Carbonstatic final intstatic final intFields inherited from interface com.sun.jna.LibraryOPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
- 
Method SummaryModifier and TypeMethodDescriptionObtains the event target reference for the standard toolbox dispatcherintGetEventParameter(Pointer inEvent, int inName, int inDesiredType, Pointer outActualType, int inBufferSize, IntBuffer outActualSize, Carbon.EventHotKeyID outData) Obtains a parameter from the specified event.intInstallEventHandler(Pointer inTarget, Carbon.EventHandlerProcPtr inHandler, int inNumTypes, Carbon.EventTypeSpec[] inList, Pointer inUserData, PointerByReference outRef) Installs an event handler on a specified event target.intRegisterEventHotKey(int inHotKeyCode, int inHotKeyModifiers, Carbon.EventHotKeyID.ByValue inHotKeyID, Pointer inTarget, int inOptions, PointerByReference outRef) Registers a global hot key.intRemoveEventHandler(Pointer inHandlerRef) Removes the specified event handlerintUnregisterEventHotKey(Pointer inHotKey) Unregisters a global hot key.
- 
Field Details- 
INSTANCE
- 
cmdKeystatic final int cmdKey- See Also:
 
- 
shiftKeystatic final int shiftKey- See Also:
 
- 
optionKeystatic final int optionKey- See Also:
 
- 
controlKeystatic final int controlKey- See Also:
 
 
- 
- 
Method Details- 
GetEventDispatcherTargetPointer GetEventDispatcherTarget()Obtains the event target reference for the standard toolbox dispatcher- Returns:
- event dispatcher reference
 
- 
InstallEventHandlerint InstallEventHandler(Pointer inTarget, Carbon.EventHandlerProcPtr inHandler, int inNumTypes, Carbon.EventTypeSpec[] inList, Pointer inUserData, PointerByReference outRef) Installs an event handler on a specified event target.
- 
RegisterEventHotKeyint RegisterEventHotKey(int inHotKeyCode, int inHotKeyModifiers, Carbon.EventHotKeyID.ByValue inHotKeyID, Pointer inTarget, int inOptions, PointerByReference outRef) Registers a global hot key.
- 
GetEventParameterint GetEventParameter(Pointer inEvent, int inName, int inDesiredType, Pointer outActualType, int inBufferSize, IntBuffer outActualSize, Carbon.EventHotKeyID outData) Obtains a parameter from the specified event.
- 
RemoveEventHandlerRemoves the specified event handler
- 
UnregisterEventHotKeyUnregisters a global hot key.
 
-