javafx.scene.input (JavaFX 25)
Description: declaration: module: javafx.graphics, package: javafx.scene.input

# Package javafx.scene.input

package javafx.scene.input

Provides the set of classes for mouse and keyboard input event handling.

- Related Packages
  Package
  Description
  javafx.scene
  Provides the core set of base classes for the JavaFX Scene Graph API.
- Class
  Description
  Clipboard
  Represents an operating system clipboard, on which data may be placed during, for example, cut, copy, and paste operations.
  ClipboardContent
  Data container for `Clipboard` data.
  ContextMenuEvent
  When the user requests a context menu, this event occurs.
  DataFormat
  Data format identifier used as means of identifying the data stored on a clipboard/dragboard.
  Dragboard
  A drag and drop specific `Clipboard`.
  DragEvent
  Drag events replace mouse events during drag-and-drop gesture.
  GestureEvent
  An event indicating gesture input.
  InputEvent
  An event indicating a user input.
  InputMethodEvent
  An event which indicates that the underlying input method notifies its text change in a `Node`.
  InputMethodHighlight
  The enum that contains the input method text highlights.
  InputMethodRequests
  InputMethodRequests defines the requests that a text editing node has to handle in order to work with input methods.
  InputMethodTextRun
  Represents a single run in which the characters have the same set of highlights in the input method text.
  KeyCharacterCombination
  This class represents a key combination in which the main key is specified by its character.
  KeyCode
  Set of key codes for `KeyEvent` objects.
  KeyCodeCombination
  This class represents a key combination in which the main key is specified by its `KeyCode`.
  KeyCombination
  Represents a combination of keys which are used in keyboard shortcuts.
  KeyCombination.Modifier
  This class represents a pair of modifier key and its value.
  KeyCombination.ModifierValue
  `ModifierValue` specifies state of modifier keys.
  KeyEvent
  An event which indicates that a keystroke occurred in a `Node`.
  Mnemonic
  This class is used when creating a Mnemonic.
  MouseButton
  Mapping for Button Names
  MouseDragEvent
  Mouse drag events are delivered to potential gesture targets during full press-drag-release gestures.
  MouseEvent
  When a mouse event occurs, the top-most node under cursor is picked and the event is delivered to it through capturing and bubbling phases described at `EventDispatcher`.
  PickResult
  A container object that contains the result of a pick event
  RotateEvent
  Rotate event indicates that user performed rotating gesture such as dragging two fingers around each other on track pad, touch screen or other similar device.
  ScrollEvent
  Scroll event indicates that user performed scrolling by mouse wheel, track pad, touch screen or other similar device.
  ScrollEvent.HorizontalTextScrollUnits
  Horizontal text-based scrolling units.
  ScrollEvent.VerticalTextScrollUnits
  Vertical text-based scrolling units.
  SwipeEvent
  Swipe event indicates that user performed a swipe gesture such as dragging a finger in one direction on touch screen.
  TouchEvent
  Touch event indicates a touch screen action.
  TouchPoint
  Touch point represents a single point of a multi-touch action, typically one finger touching a screen.
  TouchPoint.State
  Represents current state of the touch point
  TransferMode
  Describes the mode of data transfer with respect to a drag and drop gesture.
  ZoomEvent
  Zoom event indicates that user performed zooming gesture such as dragging two fingers apart on track pad, touch screen or other similar device.