net.sf.jaxodraw.gui
Class JaxoClipboard

java.lang.Object
  extended by net.sf.jaxodraw.gui.JaxoClipboard

public class JaxoClipboard
extends Object

A Clipboard for JaxoGraphs.


Constructor Summary
JaxoClipboard(Component parent)
          Constructor.
 
Method Summary
protected  boolean canPasteGraphFromSystemClipboard()
          Check if the system clipboard contains a JaxoGraph.
protected  JaxoGraph getSystemClipboardGraph()
          Graph on the system clipboard.
protected  void putToSystemClipboard(JaxoGraph g)
          Make 'g' the contents of the system clipboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxoClipboard

public JaxoClipboard(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.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.