nl.knowledgeplaza.dh.service.entry
Class EntryForm.ProjectTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by org.tbee.swing.dnd.StringTransferHandler
          extended by nl.knowledgeplaza.dh.service.entry.EntryForm.ProjectTransferHandler
All Implemented Interfaces:
Serializable
Enclosing class:
EntryForm

public class EntryForm.ProjectTransferHandler
extends org.tbee.swing.dnd.StringTransferHandler

for drag and drop

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
EntryForm.ProjectTransferHandler()
           
 
Method Summary
protected  String exportString(JComponent c)
          create the string
 int getSourceActions(JComponent c)
          We are a source, copy only
protected  void importString(JComponent c, String str)
          process the string
protected  boolean isDropTarget()
          We also support drop
 
Methods inherited from class org.tbee.swing.dnd.StringTransferHandler
canImport, createTransferable, exportDone, importData
 
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
 

Constructor Detail

EntryForm.ProjectTransferHandler

public EntryForm.ProjectTransferHandler()
Method Detail

getSourceActions

public int getSourceActions(JComponent c)
We are a source, copy only

Specified by:
getSourceActions in class org.tbee.swing.dnd.StringTransferHandler

exportString

protected String exportString(JComponent c)
create the string

Overrides:
exportString in class org.tbee.swing.dnd.StringTransferHandler

isDropTarget

protected boolean isDropTarget()
We also support drop

Specified by:
isDropTarget in class org.tbee.swing.dnd.StringTransferHandler

importString

protected void importString(JComponent c,
                            String str)
process the string

Overrides:
importString in class org.tbee.swing.dnd.StringTransferHandler


Copyright © 2011 KnowledgePlaza. All Rights Reserved.