|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.util.DNDObject
public class DNDObject
Field Summary | |
---|---|
static java.awt.datatransfer.DataFlavor |
dndObjectDataFlavor
the data flavor |
static java.awt.datatransfer.DataFlavor[] |
supportedFlavors
flavors supported by this class if you want to transfer something else, or do something special, then extend this class |
Constructor Summary | |
---|---|
DNDObject()
|
Method Summary | |
---|---|
java.lang.Object |
getTransferData(java.awt.datatransfer.DataFlavor flavor)
method required by the Transferable interface. |
java.awt.datatransfer.DataFlavor[] |
getTransferDataFlavors()
method required by the Transferable interface get the supported flavors |
boolean |
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
method required by the Transferable interface tell whether a flavor is supported in this class |
Field Detail |
---|
public static java.awt.datatransfer.DataFlavor dndObjectDataFlavor
public static java.awt.datatransfer.DataFlavor[] supportedFlavors
Constructor Detail |
---|
public DNDObject()
Method Detail |
---|
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
getTransferData
in interface java.awt.datatransfer.Transferable
flavor
- DataFlavor desired
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable
NONE
-
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |