- Type Parameters:
T- the type of the data that can be written and read from the clipboard
public interface ClipboardIO<T>
An interface for reading and writing data of a specific type from/to the Clipboard.
- Author:
- Werner Randelshofer
-
Method Details
-
write
Writes items to the clipboard- Parameters:
clipboard- The clipboarditems- the items
-
read
Returns null if read failed.- Parameters:
clipboard- The clipboard- Returns:
- the items
-
canRead
boolean canRead(javafx.scene.input.Clipboard clipboard) Returns true if data from the clipboard can be imported- Parameters:
clipboard- The clipboard- Returns:
- true if import is possible
-