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

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

public class EntryForm.TemplateTransferHandler
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.TemplateTransferHandler()
           
 
Method Summary
protected  String exportString(JComponent c)
          create the string
 int getSourceActions(JComponent c)
          We are a source, copy and move
protected  void importString(JComponent c, String str)
          process the string
protected  boolean isDropTarget()
          We also are a target
 
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.TemplateTransferHandler

public EntryForm.TemplateTransferHandler()
Method Detail

getSourceActions

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

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 are a target

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.