org.chorem.jtimer.ui.system.macos
Interface ApplicationServices

All Superinterfaces:
com.sun.jna.Library

public interface ApplicationServices
extends com.sun.jna.Library

Quartz 2D API.

Since:
1.3.2 Last update : $Date: 2011-09-05 10:12:54 +0200 (Mon, 05 Sep 2011) $ By : $Author: chatellier $
Version:
$Revision: 2778 $
Author:
chatellier

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static ApplicationServices INSTANCE
           
static int kCGAnyInputEventType
          Constants that specify an input event.
static int kCGEventSourceStateCombinedSessionState
          Specifies that an event source should use the event state table that reflects the combined state of all event sources posting to the current user login session.
static int kCGEventSourceStateHIDSystemState
          Specifies that an event source should use the event state table that reflects the combined state of all hardware event sources posting from the HID system.
static int kCGEventSourceStatePrivate
          Specifies that an event source should use a private event state table.
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 double CGEventSourceSecondsSinceLastEventType(int sourceStateId, int eventType)
          Returns the elapsed time since the last event for a Quartz event source.
 

Field Detail

INSTANCE

static final ApplicationServices INSTANCE

kCGAnyInputEventType

static final int kCGAnyInputEventType
Constants that specify an input event.

See Also:
Constant Field Values

kCGEventSourceStatePrivate

static final int kCGEventSourceStatePrivate
Specifies that an event source should use a private event state table.

See Also:
Constant Field Values

kCGEventSourceStateCombinedSessionState

static final int kCGEventSourceStateCombinedSessionState
Specifies that an event source should use the event state table that reflects the combined state of all event sources posting to the current user login session.

See Also:
Constant Field Values

kCGEventSourceStateHIDSystemState

static final int kCGEventSourceStateHIDSystemState
Specifies that an event source should use the event state table that reflects the combined state of all hardware event sources posting from the HID system.

See Also:
Constant Field Values
Method Detail

CGEventSourceSecondsSinceLastEventType

double CGEventSourceSecondsSinceLastEventType(int sourceStateId,
                                              int eventType)
Returns the elapsed time since the last event for a Quartz event source.

Parameters:
sourceStateId - The source state to access
eventType - The event type to access
Returns:
the time in seconds since the previous input event of the specified type
See Also:
Quartz API


Copyright © 2007-2012 CodeLutin. All Rights Reserved.