Version: 1.1.1

org.inb.biomoby.central.gui.dnd
Class ObjectTypeTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by org.inb.biomoby.central.gui.dnd.ObjectTypeTransferHandler
All Implemented Interfaces:
Serializable

public class ObjectTypeTransferHandler
extends TransferHandler

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
 
Field Summary
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
ObjectTypeTransferHandler(DataFlavor flavor)
           
 
Method Summary
 boolean canImport(TransferHandler.TransferSupport support)
           
static Set<ObjectType> getRelationships(DefaultMutableTreeNode root, ObjectType object)
           
 int getSourceActions(JComponent c)
           
 
Methods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData, importData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTypeTransferHandler

public ObjectTypeTransferHandler(DataFlavor flavor)
Method Detail

canImport

public boolean canImport(TransferHandler.TransferSupport support)
Overrides:
canImport in class TransferHandler

getSourceActions

public int getSourceActions(JComponent c)
Overrides:
getSourceActions in class TransferHandler

getRelationships

public static Set<ObjectType> getRelationships(DefaultMutableTreeNode root,
                                               ObjectType object)

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010