org.das2.dasml.TransferableFormComponent


COMPONENT_FLAVOR


PANEL_FLAVOR


TEXT_FLAVOR


TEXTFIELD_FLAVOR


BUTTON_FLAVOR


CHECKBOX_FLAVOR


BUTTONGROUP_FLAVOR


RADIOBUTTON_FLAVOR


TAB_FLAVOR


CHOICE_FLAVOR


LIST_FLAVOR


WINDOW_FLAVOR


DASML_FRAGMENT_FLAVOR


getTransferData

getTransferData( java.awt.datatransfer.DataFlavor flavor ) → Object

Returns an object which represents the data to be transferred. The class of the object returned is defined by the representation class of the flavor.

Parameters

flavor - the requested flavor for the data

Returns:

java.lang.Object

See Also:

DataFlavor#getRepresentationClass


search for examples view on GitHub view source


getTransferDataFlavors

getTransferDataFlavors( ) → DataFlavor

Returns an array of DataFlavor objects indicating the flavors the data can be provided in. The array should be ordered according to preference for providing the data (from most richly descriptive to least descriptive).

Returns:

an array of data flavors in which this data can be transferred

search for examples view on GitHub view source


isDataFlavorSupported

isDataFlavorSupported( java.awt.datatransfer.DataFlavor flavor ) → boolean

Returns whether or not the specified data flavor is supported for this object.

Parameters

flavor - the requested flavor for the data

Returns:

boolean indicating whether or not the data flavor is supported

search for examples view on GitHub view source