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

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

public class EntryForm.HourTransferHandler
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
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport
 
Field Summary
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
 
Constructor Summary
EntryForm.HourTransferHandler()
           
 
Method Summary
protected  java.lang.String exportString(javax.swing.JComponent c)
          create the string
 int getSourceActions(javax.swing.JComponent c)
          We are a source, only copy.
protected  void importString(javax.swing.JComponent c, java.lang.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.HourTransferHandler

public EntryForm.HourTransferHandler()
Method Detail

getSourceActions

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

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

exportString

protected java.lang.String exportString(javax.swing.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(javax.swing.JComponent c,
                            java.lang.String str)
process the string

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


Copyright © 2010 KnowledgePlaza. All Rights Reserved.