Class MultiClipboardInputFormat

java.lang.Object
org.jhotdraw8.draw.input.MultiClipboardInputFormat
All Implemented Interfaces:
ClipboardInputFormat

public class MultiClipboardInputFormat extends Object implements ClipboardInputFormat
MultiClipboardOutputFormat.
Author:
Werner Randelshofer
  • Constructor Details

  • Method Details

    • read

      public Set<Figure> read(javafx.scene.input.Clipboard clipboard, DrawingModel model, Drawing drawing, Figure layer) throws IOException
      Description copied from interface: ClipboardInputFormat
      Reads a Drawing from the clipboard.
      Specified by:
      read in interface ClipboardInputFormat
      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.
      layer - 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