Spec-Zone .ru
спецификации, руководства, описания, API
|
public class InputEvent extends Event
Modifier and Type | Field and Description |
---|---|
static EventType<InputEvent> |
ANY
Common supertype for all input event types.
|
consumed, eventType, NULL_SOURCE_TARGET, target
Constructor and Description |
---|
InputEvent(EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
InputEvent(java.lang.Object source,
EventTarget target,
EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
Modifier and Type | Method and Description |
---|---|
EventType<? extends InputEvent> |
getEventType()
Gets the event type of this event.
|
public static final EventType<InputEvent> ANY
public InputEvent(EventType<? extends InputEvent> eventType)
eventType
- Type of the eventpublic InputEvent(java.lang.Object source, EventTarget target, EventType<? extends InputEvent> eventType)
source
- Event sourcetarget
- Event targeteventType
- Type of the eventpublic EventType<? extends InputEvent> getEventType()
Event
Event
class can have different event types. These event types further specify
what kind of event occurred.getEventType
in class Event
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to