Package javafx.scene.input

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

  • Interface Summary
    Interface Description
    InputMethodRequests
    InputMethodRequests defines the requests that a text editing node has to handle in order to work with input methods.
  • Class Summary
    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.
    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.
    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.
    KeyEvent
    An event which indicates that a keystroke occurred in a Node.
    Mnemonic
    This class is used when creating a Mnemonic.
    MouseDragEvent
    Mouse drag events are delivered to potential gesture targets during full press-drag-release gestures.
    MouseEvent
    When 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.
    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.
    ZoomEvent
    Zoom event indicates that user performed zooming gesture such as dragging two fingers apart on track pad, touch screen or other similar device.
  • Enum Summary
    Enum Description
    InputMethodHighlight
    The enum that contains the input method text highlights.
    KeyCode
    Set of key codes for KeyEvent objects.
    KeyCombination.ModifierValue
    ModifierValue specifies state of modifier keys.
    MouseButton
    Mapping for Button Names
    ScrollEvent.HorizontalTextScrollUnits
    Horizontal text-based scrolling units.
    ScrollEvent.VerticalTextScrollUnits
    Vertical text-based scrolling units.
    TouchPoint.State
    Represents current state of the touch point
    TransferMode
    Describes the mode of data transfer with respect to a drag and drop gesture.