Example usage for Java javafx.scene.input Dragboard fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | getContent(DataFormat dataFormat) Returns the content stored in this clipboard of the given type, or null if there is no content with this type. |
List | getFiles() Gets the List of Files from the clipboard which had previously been registered. |
Image | getImage() Gets the Image from the clipboard which had previously been registered. |
String | getString() Gets the plain text String from the clipboard which had previously been registered. |
String | getUrl() Gets the URL String from the clipboard which had previously been registered. |
boolean | hasContent(DataFormat dataFormat) Tests whether there is any content on this clipboard of the given DataFormat type. |
boolean | hasFiles() Gets whether an List of Files (DataFormat.FILES) has been registered on this Clipboard. |
boolean | hasImage() Gets whether an Image (DataFormat.IMAGE) has been registered on this Clipboard. |
boolean | hasString() Gets whether a plain text String (DataFormat.PLAIN_TEXT) has been registered on this Clipboard. |
boolean | hasUrl() Gets whether a url String (DataFormat.URL) has been registered on this Clipboard. |
boolean | setContent(Map Puts content onto the clipboard. |