dsto.dfc.swing.table
Class TableModelTransferable
java.lang.Object
dsto.dfc.swing.table.TableModelTransferable
- All Implemented Interfaces:
- ClipboardOwner, Transferable
public final class TableModelTransferable
- extends Object
- implements Transferable, ClipboardOwner
Datatransfer transferable implementation for TableModel's.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_MODEL_FLAVOR
public static final DataFlavor TABLE_MODEL_FLAVOR
TableModelTransferable
public TableModelTransferable(TableModel tableModel)
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interface Transferable
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interface Transferable
getTransferData
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
- Specified by:
getTransferData
in interface Transferable
- Throws:
UnsupportedFlavorException
IOException
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable contents)
- Specified by:
lostOwnership
in interface ClipboardOwner
Copyright © 2008 Commonwealth of Australia