-
Packages that use DataFormat
Package |
Description |
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
-
-
Fields in javafx.scene.input declared as DataFormat
Modifier and Type |
Field |
Description |
static DataFormat |
DataFormat.FILES |
Represents a List of Files.
|
static DataFormat |
DataFormat.HTML |
Represents an HTML formatted string.
|
static DataFormat |
DataFormat.IMAGE |
A special platform specific image type, such as is commonly used
on the clipboard and interoperates widely with other applications.
|
static DataFormat |
DataFormat.PLAIN_TEXT |
Represents a plain text string.
|
static DataFormat |
DataFormat.RTF |
Represents an RTF formatted string
|
static DataFormat |
DataFormat.URL |
Represents a URL, encoded as a String
|
Methods in javafx.scene.input with parameters of type DataFormat
Modifier and Type |
Method |
Description |
Object |
Clipboard.getContent(DataFormat dataFormat) |
Returns the content stored in this clipboard of the given type, or null
if there is no content with this type.
|
boolean |
Clipboard.hasContent(DataFormat dataFormat) |
Tests whether there is any content on this clipboard of the given DataFormat type.
|