net.clackrouter.jgraph.pad
Class GPGraphUI.GPTransferHandler
java.lang.Object
javax.swing.TransferHandler
net.clackrouter.jgraph.pad.GPGraphUI.GraphTransferHandler
net.clackrouter.jgraph.pad.GPGraphUI.GPTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- GPGraphUI
public class GPGraphUI.GPTransferHandler
- extends GPGraphUI.GraphTransferHandler
TransferHandler that can import text.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, MOVE, NONE |
Method Summary |
boolean |
canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] flavors)
|
protected GraphTransferable |
create(JGraph graph,
java.lang.Object[] cells,
java.util.Map viewAttributes,
java.awt.geom.Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
|
boolean |
importDataImpl(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
|
Methods inherited from class javax.swing.TransferHandler |
exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPGraphUI.GPTransferHandler
public GPGraphUI.GPTransferHandler()
create
protected GraphTransferable create(JGraph graph,
java.lang.Object[] cells,
java.util.Map viewAttributes,
java.awt.geom.Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
- Overrides:
create
in class GPGraphUI.GraphTransferHandler
canImport
public boolean canImport(javax.swing.JComponent comp,
java.awt.datatransfer.DataFlavor[] flavors)
- Overrides:
canImport
in class GPGraphUI.GraphTransferHandler
importDataImpl
public boolean importDataImpl(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
- Overrides:
importDataImpl
in class GPGraphUI.GraphTransferHandler