Uses of Class
javafx.scene.input.DataFormat
-
Uses of DataFormat in javafx.scene.input
Modifier and TypeFieldDescriptionstatic final DataFormat
DataFormat.FILES
Represents a List of Files.static final DataFormat
DataFormat.HTML
Represents an HTML formatted string.static final DataFormat
DataFormat.IMAGE
A special platform specific image type, such as is commonly used on the clipboard and interoperates widely with other applications.static final DataFormat
DataFormat.PLAIN_TEXT
Represents a plain text string.static final DataFormat
DataFormat.RTF
Represents an RTF formatted stringstatic final DataFormat
DataFormat.URL
Represents a URL, encoded as a StringModifier and TypeMethodDescriptionstatic DataFormat
DataFormat.lookupMimeType
(String mimeType) Looks for the DataFormat which has been previously created with the given mime type as one of its ids.Modifier and TypeMethodDescriptionfinal Set<DataFormat>
Clipboard.getContentTypes()
Gets the set of DataFormat types on this Clipboard instance which have associated data registered on the clipboard.Modifier and TypeMethodDescriptionfinal 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.protected Object
Clipboard.getContentImpl
(DataFormat dataFormat) Getting content overridable by internal subclasses.boolean
Clipboard.hasContent
(DataFormat dataFormat) Tests whether there is any content on this clipboard of the given DataFormat type.Modifier and TypeMethodDescriptionboolean
Clipboard.setContent
(Map<DataFormat, Object> content) Puts content onto the clipboard.