org.akutan.blacklitterman.gui
Class TableTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by org.akutan.blacklitterman.gui.StringTransferHandler
          extended by org.akutan.blacklitterman.gui.TableTransferHandler
All Implemented Interfaces:
java.io.Serializable

public class TableTransferHandler
extends StringTransferHandler

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
TableTransferHandler()
           
 
Method Summary
protected  java.lang.String exportString(javax.swing.JComponent c)
          Exports the entire table as a String
protected  void importString(javax.swing.JComponent c, java.lang.String str)
          Imports the string to cover the total table (we don't support partial drop).
 
Methods inherited from class org.akutan.blacklitterman.gui.StringTransferHandler
canImport, createTransferable, exportDone, getSourceActions, 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

TableTransferHandler

public TableTransferHandler()
Method Detail

exportString

protected java.lang.String exportString(javax.swing.JComponent c)
Exports the entire table as a String

Specified by:
exportString in class StringTransferHandler

importString

protected void importString(javax.swing.JComponent c,
                            java.lang.String str)
Imports the string to cover the total table (we don't support partial drop). This class is pretty stylized for the BLEditStats dialog's tables.

Specified by:
importString in class StringTransferHandler