DESY ACOP Beans Home
de.desy.acop.displayers.tools
Class AbstractMDPTransferHandler
java.lang.Object
javax.swing.TransferHandler
com.cosylab.gui.components.util.CosyTransferHandler
com.cosylab.gui.util.AbstractDisplayerParametersTransferHandler
de.desy.acop.displayers.tools.AbstractMDPTransferHandler
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable, java.awt.event.MouseMotionListener, java.io.Serializable, java.util.EventListener
- Direct Known Subclasses:
- AcopMultipleDisplayerParametersTransferHandler, GraphParametersTransferHandler
public abstract class AbstractMDPTransferHandler
- extends AbstractDisplayerParametersTransferHandler
Abstract base class for TransferHandlers which handle AcopMultipleDisplayerParameters.
- Version:
- $Id: Templates.xml,v 1.10 2004/01/13 16:17:13 jbobnar Exp $
- Author:
- Jaka Bobnar
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class javax.swing.TransferHandler |
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport |
Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, LINK, MOVE, NONE |
Constructor Summary |
AbstractMDPTransferHandler(javax.swing.JComponent comp,
boolean reciveEnabled,
boolean exportEnabled,
java.awt.datatransfer.DataFlavor[] f,
boolean resetFlavors)
|
Methods inherited from class com.cosylab.gui.components.util.CosyTransferHandler |
addMouseFilter, canDrag, createTransferable, exportDone, getMouseFilters, getSourceActions, hookTransferHandler, hookTransferHandler, isDataFlavorSupported, isExportEnabled, isMouseDragGesture, isReceiveEnabled, mouseDragged, mouseMoved, registerTransferHandler, removeMouseFilter, setExportEnabled, setReceiveEnabled, unhookTransferHandler |
Methods inherited from class javax.swing.TransferHandler |
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMDPTransferHandler
public AbstractMDPTransferHandler(javax.swing.JComponent comp,
boolean reciveEnabled,
boolean exportEnabled,
java.awt.datatransfer.DataFlavor[] f,
boolean resetFlavors)
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
- Specified by:
getTransferData
in interface java.awt.datatransfer.Transferable
- Overrides:
getTransferData
in class AbstractDisplayerParametersTransferHandler
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
exportMultipleDisplayerParameters
protected abstract AcopDisplayerParameters[] exportMultipleDisplayerParameters()
convertParameters
protected AcopDisplayerParameters convertParameters(AcopDisplayerParameters adp)
convertParameters
protected AcopDisplayerParameters convertParameters(ConnectionParameters adp)
importString
protected boolean importString(java.lang.String string)
throws java.beans.PropertyVetoException
- Overrides:
importString
in class AbstractDisplayerParametersTransferHandler
- Throws:
java.beans.PropertyVetoException
importDisplayerParameters
protected boolean importDisplayerParameters(DisplayerParameters[] dp)
throws java.beans.PropertyVetoException
- Overrides:
importDisplayerParameters
in class AbstractDisplayerParametersTransferHandler
- Throws:
java.beans.PropertyVetoException
importData
public boolean importData(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
- Overrides:
importData
in class AbstractDisplayerParametersTransferHandler
exportDisplayerParameters
protected DisplayerParameters exportDisplayerParameters()
- Specified by:
exportDisplayerParameters
in class AbstractDisplayerParametersTransferHandler
castParameters
protected DisplayerParameters[] castParameters(java.lang.Object... parameters)
- Overrides:
castParameters
in class AbstractDisplayerParametersTransferHandler
Copyright © 2010. All Rights Reserved.