|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.appworx.AppDbObjectTransferable
public class AppDbObjectTransferable
Transferable for Drag and Drop of AppDbObjects or lists of.
| Field Summary | |
|---|---|
static DataFlavor |
appDbObjectFlavor
flavor for a single AppDbObject |
static DataFlavor |
appDbObjectListFlavor
flavor for a list of AppDbObjects |
| Constructor Summary | |
|---|---|
AppDbObjectTransferable(AppDbObject object)
Creates a transfertable for an object. |
|
AppDbObjectTransferable(Collection<?> objects)
Creates a transferable for a collection of objects. |
|
| Method Summary | |
|---|---|
Object |
getTransferData(DataFlavor flv)
Returns an object which represents the data to be transferred. |
DataFlavor[] |
getTransferDataFlavors()
Returns an array of DataFlavor objects indicating the flavors the data can be provided in. |
boolean |
isDataFlavorSupported(DataFlavor flv)
Returns whether or not the specified data flavor is supported for this object. |
void |
lostOwnership(Clipboard clipboard,
Transferable contents)
Notifies this object that it is no longer the clipboard owner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DataFlavor appDbObjectFlavor
AppDbObject
public static final DataFlavor appDbObjectListFlavor
AppDbObjects
| Constructor Detail |
|---|
public AppDbObjectTransferable(AppDbObject object)
object - the AppDbObjectpublic AppDbObjectTransferable(Collection<?> objects)
objects - | Method Detail |
|---|
public DataFlavor[] getTransferDataFlavors()
java.awt.datatransfer.Transferable
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flv)
java.awt.datatransfer.Transferable
isDataFlavorSupported in interface Transferableflv - the requested flavor for the data
public Object getTransferData(DataFlavor flv)
throws UnsupportedFlavorException
java.awt.datatransfer.Transferable
getTransferData in interface Transferableflv - the requested flavor for the data
UnsupportedFlavorException - if the requested data flavor is
not supported.DataFlavor.getRepresentationClass()
public void lostOwnership(Clipboard clipboard,
Transferable contents)
java.awt.datatransfer.ClipboardOwner
lostOwnership in interface ClipboardOwnerclipboard - the clipboard that is no longer ownedcontents - the contents which this owner had placed on the clipboard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||