Class/Object

scalafx.scene.input

Dragboard

Related Docs: object Dragboard | package input

Permalink

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

Wraps a JavaFX Dragboard.

Source
Dragboard.scala
Linear Supertypes
Clipboard, SFXDelegate[javafx.scene.input.Dragboard], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dragboard
  2. Clipboard
  3. SFXDelegate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Dragboard(delegate: javafx.scene.input.Dragboard)

    Permalink

    Creates a new Dragboard from a JavaFX one.

    Creates a new Dragboard from a JavaFX one.

    delegate

    A JavaFX Dragboard to be wrapped. Its default value is a new JavaFX Dragboard.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clear(): Unit

    Permalink

    Clears the clipboard of any and all content.

    Clears the clipboard of any and all content.

    Definition Classes
    Clipboard
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def content: ClipboardContent

    Permalink

    Return a copy of the clipboard content.

    Return a copy of the clipboard content.

    Definition Classes
    Clipboard
  8. def content(dataFormat: DataFormat): AnyRef

    Permalink

    Returns the content stored in this clipboard of the given type, or null if there is no content with this type.

    Returns the content stored in this clipboard of the given type, or null if there is no content with this type.

    Definition Classes
    Clipboard
  9. def contentTypes: Set[javafx.scene.input.DataFormat]

    Permalink

    Gets the set of DataFormat types on this Clipboard instance which have associated data registered on the clipboard.

    Gets the set of DataFormat types on this Clipboard instance which have associated data registered on the clipboard.

    Definition Classes
    Clipboard
  10. def content_=(content: ClipboardContent): Unit

    Permalink

    Puts content onto the clipboard.

    Puts content onto the clipboard.

    This call will always result in clearing all previous content from the clipboard, and replacing it with whatever content is specified in the supplied ClipboardContent map.

    Definition Classes
    Clipboard
    Exceptions thrown

    java.lang.NullPointerException - if null data reference is passed for any format

  11. val delegate: javafx.scene.input.Dragboard

    Permalink

    A JavaFX Dragboard to be wrapped.

    A JavaFX Dragboard to be wrapped. Its default value is a new JavaFX Dragboard.

    Definition Classes
    DragboardClipboardSFXDelegate
  12. def dragView: Image

    Permalink

    The image used as a drag view.

  13. def dragViewOffsetX: Double

    Permalink

    The x position of the cursor of the drag view image.

  14. def dragViewOffsetX_=(offsetX: Double): Unit

    Permalink
  15. def dragViewOffsetY: Double

    Permalink

    The y position of the cursor of the drag view image.

  16. def dragViewOffsetY_=(offsetY: Double): Unit

    Permalink
  17. def dragView_=(image: Image, offsetX: Double, offsetY: Double): Unit

    Permalink

    Sets the visual representation of data being transfered in a drag and drop gesture.

  18. def dragView_=(image: Image): Unit

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(ref: Any): Boolean

    Permalink

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  21. def files: Seq[File]

    Permalink

    Gets the list of files from the clipboard which had previously been registered.

    Gets the list of files from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hasContent(dataFormat: DataFormat): Boolean

    Permalink

    Tests whether there is any content on this clipboard of the given DataFormat type.

    Tests whether there is any content on this clipboard of the given DataFormat type.

    Definition Classes
    Clipboard
  25. def hasFiles: Boolean

    Permalink

    Gets whether an list of files (DataFormat.Files) has been registered on this Clipboard.

    Gets whether an list of files (DataFormat.Files) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  26. def hasHtml: Boolean

    Permalink

    Gets whether an HTML text String (DataFormat.Html) has been registered on this Clipboard.

    Gets whether an HTML text String (DataFormat.Html) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  27. def hasImage: Boolean

    Permalink

    Gets whether an Image (DataFormat.Image) has been registered on this Clipboard.

    Gets whether an Image (DataFormat.Image) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  28. def hasRtf: Boolean

    Permalink

    Gets whether an RTF String (DataFormat.Rtf) has been registered on this Clipboard.

    Gets whether an RTF String (DataFormat.Rtf) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  29. def hasString: Boolean

    Permalink

    Gets whether a plain text String (DataFormat.PlainText) has been registered on this Clipboard.

    Gets whether a plain text String (DataFormat.PlainText) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  30. def hasUrl: Boolean

    Permalink

    Gets whether a url String (DataFormat.Url) has been registered on this Clipboard.

    Gets whether a url String (DataFormat.Url) has been registered on this Clipboard.

    Definition Classes
    Clipboard
  31. def hashCode(): Int

    Permalink

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  32. def html: String

    Permalink

    Gets the HTML text String from the clipboard which had previously been registered.

    Gets the HTML text String from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  33. def image: Image

    Permalink

    Gets the Image from the clipboard which had previously been registered.

    Gets the Image from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. def rtf: String

    Permalink

    Gets the RTF text String from the clipboard which had previously been registered.

    Gets the RTF text String from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  39. def string: String

    Permalink

    Gets the plain text String from the clipboard which had previously been registered.

    Gets the plain text String from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  42. def transferModes: Set[javafx.scene.input.TransferMode]

    Permalink

    Transport modes supported by source of this drag operation.

  43. def url: String

    Permalink

    Gets the URL String from the clipboard which had previously been registered.

    Gets the URL String from the clipboard which had previously been registered.

    Definition Classes
    Clipboard
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Clipboard

Inherited from SFXDelegate[javafx.scene.input.Dragboard]

Inherited from AnyRef

Inherited from Any

Ungrouped