|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.japi.swing.bookmarks.BookmarkTransferable
public class BookmarkTransferable
Class for transfering a bookmark through a clipboard or drag and drop.
Constructor Summary | |
---|---|
BookmarkTransferable(BookmarkManager.Bookmark bookmark)
Create a BookmarkTransferable. |
Method Summary | |
---|---|
static DataFlavor |
getBookmarkDataFlavor()
Get the DataFlavor for Bookmarks. |
Object |
getTransferData(DataFlavor flavor)
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 flavor)
Returns whether or not the specified data flavor is supported for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookmarkTransferable(BookmarkManager.Bookmark bookmark)
bookmark
- Bookmark to transferMethod Detail |
---|
public Object getTransferData(DataFlavor flavor)
getTransferData
in interface Transferable
flavor
- the requested flavor for the dataDataFlavor.getRepresentationClass()
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
public boolean isDataFlavorSupported(DataFlavor flavor)
isDataFlavorSupported
in interface Transferable
flavor
- the requested flavor for the data
public static DataFlavor getBookmarkDataFlavor()
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |