Java javafx.scene.input Dragboard fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.input Dragboard fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.input Dragboard.

The text is from its open source code.

Method

ObjectgetContent(DataFormat dataFormat)
Returns the content stored in this clipboard of the given type, or null if there is no content with this type.
ListgetFiles()
Gets the List of Files from the clipboard which had previously been registered.
ImagegetImage()
Gets the Image from the clipboard which had previously been registered.
StringgetString()
Gets the plain text String from the clipboard which had previously been registered.
StringgetUrl()
Gets the URL String from the clipboard which had previously been registered.
booleanhasContent(DataFormat dataFormat)
Tests whether there is any content on this clipboard of the given DataFormat type.
booleanhasFiles()
Gets whether an List of Files (DataFormat.FILES) has been registered on this Clipboard.
booleanhasImage()
Gets whether an Image (DataFormat.IMAGE) has been registered on this Clipboard.
booleanhasString()
Gets whether a plain text String (DataFormat.PLAIN_TEXT) has been registered on this Clipboard.
booleanhasUrl()
Gets whether a url String (DataFormat.URL) has been registered on this Clipboard.
booleansetContent(Map content)
Puts content onto the clipboard.