Package

scalafx.scene

input

Permalink

package input

Wraps javafx.scene.input package.

Source
package.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. input
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Clipboard extends SFXDelegate[javafx.scene.input.Clipboard]

    Permalink

    Represents an operating system clipboard, on which data may be placed during, for example, cut, copy, and paste operations.

    Represents an operating system clipboard, on which data may be placed during, for example, cut, copy, and paste operations.

    To access the general system clipboard, use the following code:

    val clipboard = Clipboard.systemClipboard

    There is only ever one instance of the system clipboard in the application, so it is perfectly acceptable to stash a reference to it somewhere handy if you so choose.

    The Clipboard operates on the concept of having a single conceptual item on the clipboard at any one time -- though it may be placed on the clipboard in different formats.

    Example use:

    val clipboard = Clipboard.systemClipboard
    val content = new ClipboardContent()
    content.putString("Some text")
    content.putHtml("Some text")
    clipboard.content = content

    Alternative use:

    Clipboard.systemClipboard.content = ClipboardContent(
      DataFormat.PlainText -> "Some text",
      DataFormat.Html -> "Some text"
    )

    Caution when putting files into the clipboard. The recommended method is:

    val content = new ClipboardContent()
    content.putString("Some text")

    Wraps a JavaFX Clipboard.

  2. class ClipboardContent extends JMapWrapperLike[javafx.scene.input.DataFormat, AnyRef, ClipboardContent] with SFXDelegate[javafx.scene.input.ClipboardContent]

    Permalink

    Data container for Clipboard data.

    Data container for Clipboard data. It can hold multiple data in several data formats.

    Example use:

    val content = new ClipboardContent()
    content.putString("Some text")
    content.putHtml("Some text")

    Alternative use:

    val content = ClipboardContent(
      DataFormat.PlainText -> "Some text",
      DataFormat.Html -> "Some text"
    )

    Caution when putting files into the clipboard. The recommended way is to use putFiles method:

    content.putFiles(Seq(new File("one"), new File("two"))) *

    When using with DataFormat.Files you have to use Java List as a container, which is less convenient:

    import scala.collection.JavaConverters._
    
    val content = ClipboardContent(
      DataFormat.Files -> Seq(new File("one"), new File("two")).asJava,
    )

    Wraps a JavaFX ClipboardContent.

  3. class ContextMenuEvent extends InputEvent with SFXDelegate[javafx.scene.input.ContextMenuEvent]

    Permalink
  4. class DataFormat extends SFXDelegate[javafx.scene.input.DataFormat]

    Permalink

    Data format identifier used as means of identifying the data stored on a clipboard/dragboard.

    Data format identifier used as means of identifying the data stored on a clipboard/dragboard.

    Wraps a JavaFX DataFormat.

  5. class DragEvent extends InputEvent with SFXDelegate[javafx.scene.input.DragEvent]

    Permalink
  6. class Dragboard extends Clipboard with SFXDelegate[javafx.scene.input.Dragboard]

    Permalink

    Wraps a JavaFX Dragboard.

  7. class GestureEvent extends InputEvent with SFXDelegate[javafx.scene.input.GestureEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/GestureEvent.html

  8. class InputEvent extends Event with SFXDelegate[javafx.scene.input.InputEvent]

    Permalink
  9. trait InputIncludes extends AnyRef

    Permalink

    Contains implcit methods to convert from javafx.scene.input Classes/Traits to their ScalaFX counterparts.

  10. class InputMethodEvent extends InputEvent with SFXDelegate[javafx.scene.input.InputMethodEvent]

    Permalink
  11. sealed case class InputMethodHighlight(delegate: javafx.scene.input.InputMethodHighlight) extends SFXEnumDelegate[javafx.scene.input.InputMethodHighlight] with Product with Serializable

    Permalink
  12. class InputMethodTextRun extends SFXDelegate[javafx.scene.input.InputMethodTextRun]

    Permalink
  13. class KeyCharacterCombination extends KeyCombination with SFXDelegate[javafx.scene.input.KeyCharacterCombination]

    Permalink
  14. sealed case class KeyCode(delegate: javafx.scene.input.KeyCode) extends SFXEnumDelegate[javafx.scene.input.KeyCode] with Product with Serializable

    Permalink
  15. class KeyCodeCombination extends KeyCombination with SFXDelegate[javafx.scene.input.KeyCodeCombination]

    Permalink
  16. abstract class KeyCombination extends SFXDelegate[javafx.scene.input.KeyCombination]

    Permalink
  17. class KeyEvent extends InputEvent with SFXDelegate[javafx.scene.input.KeyEvent]

    Permalink
  18. class Mnemonic extends FireDelegate[javafx.scene.input.Mnemonic] with SFXDelegate[javafx.scene.input.Mnemonic]

    Permalink
  19. sealed case class MouseButton(delegate: javafx.scene.input.MouseButton) extends SFXEnumDelegate[javafx.scene.input.MouseButton] with Product with Serializable

    Permalink
  20. class MouseDragEvent extends MouseEvent with SFXDelegate[javafx.scene.input.MouseDragEvent]

    Permalink
  21. class MouseEvent extends InputEvent with SFXDelegate[javafx.scene.input.MouseEvent]

    Permalink
  22. class PickResult extends SFXDelegate[javafx.scene.input.PickResult]

    Permalink

    A container for the result of a pick event.

    A container for the result of a pick event. Wrapper for JavaFX's PickResult.

  23. class RotateEvent extends InputEvent with SFXDelegate[javafx.scene.input.RotateEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/RotateEvent.html

  24. class ScrollEvent extends GestureEvent with SFXDelegate[javafx.scene.input.ScrollEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/ScrollEvent.html

  25. class SwipeEvent extends GestureEvent with SFXDelegate[javafx.scene.input.SwipeEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/SwipeEvent.html

  26. class TouchEvent extends InputEvent with SFXDelegate[javafx.scene.input.TouchEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/TouchEvent.html

  27. class TouchPoint extends SFXDelegate[javafx.scene.input.TouchPoint]

    Permalink
  28. sealed case class TransferMode(delegate: javafx.scene.input.TransferMode) extends SFXEnumDelegate[javafx.scene.input.TransferMode] with Product with Serializable

    Permalink
  29. class ZoomEvent extends GestureEvent with SFXDelegate[javafx.scene.input.ZoomEvent]

    Permalink

    Wraps http://docs.oracle.com/javase/8/javafx/api/javafx/scene/input/ZoomEvent.html

Value Members

  1. object Clipboard

    Permalink
  2. object ClipboardContent

    Permalink
  3. object ContextMenuEvent

    Permalink
  4. object DataFormat

    Permalink
  5. object DragEvent

    Permalink
  6. object Dragboard

    Permalink

    Object companion for scalafx.scene.input.Dragboard.

  7. object GestureEvent

    Permalink
  8. object InputEvent

    Permalink
  9. object InputIncludes extends InputIncludes

    Permalink
  10. object InputMethodEvent

    Permalink
  11. object InputMethodHighlight extends SFXEnumDelegateCompanion[javafx.scene.input.InputMethodHighlight, InputMethodHighlight] with Serializable

    Permalink

    Wrapper for javafx.scene.input.InputMethodHighlight

  12. object InputMethodTextRun

    Permalink
  13. object KeyCharacterCombination

    Permalink
  14. object KeyCode extends SFXEnumDelegateCompanion[javafx.scene.input.KeyCode, KeyCode] with Serializable

    Permalink

    Wrapper for javafx.scene.input.KeyCode

  15. object KeyCodeCombination

    Permalink
  16. object KeyCombination

    Permalink
  17. object KeyEvent

    Permalink
  18. object Mnemonic

    Permalink
  19. object MouseButton extends SFXEnumDelegateCompanion[javafx.scene.input.MouseButton, MouseButton] with Serializable

    Permalink

    Wrapper for javafx.scene.input.MouseButton

  20. object MouseDragEvent

    Permalink
  21. object MouseEvent

    Permalink
  22. object PickResult

    Permalink
  23. object RotateEvent

    Permalink
  24. object ScrollEvent

    Permalink
  25. object SwipeEvent

    Permalink
  26. object TouchEvent

    Permalink
  27. object TouchPoint

    Permalink
  28. object TransferMode extends SFXEnumDelegateCompanion[javafx.scene.input.TransferMode, TransferMode] with Serializable

    Permalink

    Wrapper for javafx.scene.input.TransferMode

  29. object ZoomEvent

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped