DESY ACOP Beans Home

com.cosylab.gui.util
Class DefaultDisplayerParametersTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by com.cosylab.gui.components.util.CosyTransferHandler
          extended by com.cosylab.gui.util.AbstractDisplayerParametersTransferHandler
              extended by com.cosylab.gui.util.DefaultDisplayerParametersTransferHandler
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.awt.event.MouseMotionListener, java.io.Serializable, java.util.EventListener
Direct Known Subclasses:
AcopDisplayerTransferHandler

public class DefaultDisplayerParametersTransferHandler
extends AbstractDisplayerParametersTransferHandler

DefaultDisplayerParametersTransferHandler is a default extension of AbstractDisplayerParametersTransferHandler which can handle DisplayerParameters.

Author:
tkusterle
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.cosylab.gui.components.util.CosyTransferHandler
CosyTransferHandler.MouseFilter
 
Nested classes/interfaces inherited from class javax.swing.TransferHandler
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport
 
Field Summary
protected  Displayer displayer
           
 
Fields inherited from class com.cosylab.gui.util.AbstractDisplayerParametersTransferHandler
dialog, flavors
 
Fields inherited from class com.cosylab.gui.components.util.CosyTransferHandler
isDragging
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
DefaultDisplayerParametersTransferHandler(Displayer comp, boolean reciveEnabled, boolean exportEnabled)
           
DefaultDisplayerParametersTransferHandler(Displayer comp, boolean reciveEnabled, boolean exportEnabled, java.awt.datatransfer.DataFlavor[] f, boolean resetFlavors)
           
 
Method Summary
protected  DisplayerParameters exportDisplayerParameters()
           
 Displayer getDisplayer()
          Returns the displayer.
 
Methods inherited from class com.cosylab.gui.util.AbstractDisplayerParametersTransferHandler
canImport, castParameters, getComponent, getParameterSelectionDialog, getTransferData, getTransferDataFlavors, importData, importDisplayerParameters, importString, selectParameters, selectParameters, setParametersToDisplayer
 
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
 

Field Detail

displayer

protected Displayer displayer
Constructor Detail

DefaultDisplayerParametersTransferHandler

public DefaultDisplayerParametersTransferHandler(Displayer comp,
                                                 boolean reciveEnabled,
                                                 boolean exportEnabled)

DefaultDisplayerParametersTransferHandler

public DefaultDisplayerParametersTransferHandler(Displayer comp,
                                                 boolean reciveEnabled,
                                                 boolean exportEnabled,
                                                 java.awt.datatransfer.DataFlavor[] f,
                                                 boolean resetFlavors)
Method Detail

exportDisplayerParameters

protected DisplayerParameters exportDisplayerParameters()
Specified by:
exportDisplayerParameters in class AbstractDisplayerParametersTransferHandler

getDisplayer

public Displayer getDisplayer()
Returns the displayer.

Returns:
Returns the displayer.


Copyright © 2010. All Rights Reserved.