com.jidesoft.grid
Class JideTable.NonContiguousTransferHandler
java.lang.Object
javax.swing.TransferHandler
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
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 |
JideTable.NonContiguousTransferHandler
protected JideTable.NonContiguousTransferHandler()
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