public interface ApplicationServices
extends com.sun.jna.Library
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
double |
CGEventSourceSecondsSinceLastEventType(int sourceStateId,
int eventType)
Returns the elapsed time since the last event for a Quartz event source.
|
static final ApplicationServices INSTANCE
static final int kCGAnyInputEventType
static final int kCGEventSourceStatePrivate
static final int kCGEventSourceStateCombinedSessionState
static final int kCGEventSourceStateHIDSystemState
double CGEventSourceSecondsSinceLastEventType(int sourceStateId, int eventType)
sourceStateId
- The source state to accesseventType
- The event type to accessCopyright © 2007–2013 CodeLutin. All rights reserved.