Package net.sf.jaxodraw.gui
Class JaxoClipboard
java.lang.Object
net.sf.jaxodraw.gui.JaxoClipboard
A Clipboard for JaxoGraphs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check if the system clipboard contains a JaxoGraph.protected JaxoGraph
Graph on the system clipboard.protected void
Make 'g' the contents of the system clipboard.
-
Constructor Details
-
JaxoClipboard
Constructor.- Parameters:
parent
- the parent component. Not null.
-
-
Method Details
-
canPasteGraphFromSystemClipboard
protected boolean canPasteGraphFromSystemClipboard()Check if the system clipboard contains a JaxoGraph.- Returns:
- true if the system clipboard contains a JaxoGraph, false otherwise.
-
getSystemClipboardGraph
Graph on the system clipboard.- Returns:
- the current graph on the system clipboard, or null if none.
-
putToSystemClipboard
Make 'g' the contents of the system clipboard.- Parameters:
g
- the graph to put on the clipboard.
-