Package net.sf.jaxodraw.gui
Class JaxoClipboard
- java.lang.Object
-
- net.sf.jaxodraw.gui.JaxoClipboard
-
public class JaxoClipboard extends java.lang.ObjectA Clipboard for JaxoGraphs.
-
-
Constructor Summary
Constructors Constructor Description JaxoClipboard(java.awt.Component parent)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanPasteGraphFromSystemClipboard()Check if the system clipboard contains a JaxoGraph.protected JaxoGraphgetSystemClipboardGraph()Graph on the system clipboard.protected voidputToSystemClipboard(JaxoGraph g)Make 'g' the contents of the system clipboard.
-
-
-
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.
-
-