- All Known Implementing Classes:
MultiClipboardInputFormat,SimpleXmlReader
public interface ClipboardInputFormat
InputFormat for clipboard.
- Author:
- Werner Randelshofer
-
Method Summary
-
Method Details
-
read
Set<Figure> read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, @Nullable Figure parent) throws IOException Reads a Drawing from the clipboard.- Parameters:
clipboard- The clipboard.model- the drawing model over which updates of the drawing must be performed.drawing- The contents of the clipboard is added to this drawing.parent- If you provide a non-null value, the contents of the clipboard is added to this parent. Otherwise, the content is added into an unspecified layer.- Returns:
- the figures that were read from the clipboard
- Throws:
IOException- if an IO error occurs
-