JIDE 3.5.15

com.jidesoft.grid
Class JideTable.NonContiguousTransferHandler

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by com.jidesoft.grid.JideTable.NonContiguousTransferHandler
All Implemented Interfaces:
Serializable, UIResource
Enclosing class:
JideTable

protected static class JideTable.NonContiguousTransferHandler
extends TransferHandler
implements UIResource, Serializable

The transfer handler for JDK5 and lower version just for backward compatibility concern.

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
protected JideTable.NonContiguousTransferHandler()
           
 
Method Summary
protected  String convertElementToString(JTable table, int rowIndex, int columnIndex, Object value)
           
protected  Transferable createTransferable(JComponent c)
          Create a Transferable to use as the source for a data transfer.
 Transferable createTransferableFromOutside(JComponent c)
           
 int getSourceActions(JComponent c)
           
 
Methods inherited from class javax.swing.TransferHandler
canImport, canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData, importData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JideTable.NonContiguousTransferHandler

protected JideTable.NonContiguousTransferHandler()
Method Detail

createTransferableFromOutside

public Transferable createTransferableFromOutside(JComponent c)

createTransferable

protected Transferable createTransferable(JComponent c)
Create a Transferable to use as the source for a data transfer.

Overrides:
createTransferable in class TransferHandler
Parameters:
c - The component holding the data to be transferred. This argument is provided to enable sharing of TransferHandlers by multiple components.
Returns:
The representation of the data to be transferred.

convertElementToString

protected String convertElementToString(JTable table,
                                        int rowIndex,
                                        int columnIndex,
                                        Object value)

getSourceActions

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

JIDE 3.5.15