DESY ACOP Beans Home
com.cosylab.gui.util
Class MultipleDisplayerParametersTransferHandler
java.lang.Object
javax.swing.TransferHandler
com.cosylab.gui.components.util.CosyTransferHandler
com.cosylab.gui.util.AbstractDisplayerParametersTransferHandler
com.cosylab.gui.util.MultipleDisplayerParametersTransferHandler
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable, java.awt.event.MouseMotionListener, java.io.Serializable, java.util.EventListener
public class MultipleDisplayerParametersTransferHandler
- extends AbstractDisplayerParametersTransferHandler
MultipleDisplayerParametersTransferHandler
can handle
MultipleDisplayerParameters.
- Author:
- tkusterle
- 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 |
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 |
mDisplayer
protected MultipleDisplayer mDisplayer
MultipleDisplayerParametersTransferHandler
public MultipleDisplayerParametersTransferHandler(MultipleDisplayer comp,
boolean reciveEnabled,
boolean exportEnabled)
MultipleDisplayerParametersTransferHandler
public MultipleDisplayerParametersTransferHandler(MultipleDisplayer 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
exportDisplayerParameters
protected DisplayerParameters exportDisplayerParameters()
- Specified by:
exportDisplayerParameters
in class AbstractDisplayerParametersTransferHandler
exportMultipleDisplayerParameters
protected DisplayerParameters[] exportMultipleDisplayerParameters()
importData
public boolean importData(javax.swing.JComponent comp,
java.awt.datatransfer.Transferable t)
- Overrides:
importData
in class AbstractDisplayerParametersTransferHandler
displayerParametersDimension
public int displayerParametersDimension()
getMultipleDisplayer
public MultipleDisplayer getMultipleDisplayer()
- Returns the displayer.
- Returns:
- Returns the displayer.
Copyright © 2010. All Rights Reserved.