Class JaxoClipboard


  • public class JaxoClipboard
    extends java.lang.Object
    A Clipboard for JaxoGraphs.
    • Constructor Detail

      • JaxoClipboard

        public JaxoClipboard​(java.awt.Component parent)
        Constructor.
        Parameters:
        parent - the parent component. Not null.
    • Method Detail

      • canPasteGraphFromSystemClipboard

        protected boolean canPasteGraphFromSystemClipboard()
        Check if the system clipboard contains a JaxoGraph.
        Returns:
        true if the system clipboard contains a JaxoGraph, false otherwise.
      • getSystemClipboardGraph

        protected JaxoGraph getSystemClipboardGraph()
        Graph on the system clipboard.
        Returns:
        the current graph on the system clipboard, or null if none.
      • putToSystemClipboard

        protected void putToSystemClipboard​(JaxoGraph g)
        Make 'g' the contents of the system clipboard.
        Parameters:
        g - the graph to put on the clipboard.