org.das2.dasml.TransferableFormComponent

TransferableFormComponent( org.das2.dasml.FormPanel panel )

TransferableFormComponent( org.das2.dasml.FormText text )

TransferableFormComponent( org.das2.dasml.FormTextField textField )

TransferableFormComponent( org.das2.dasml.FormButton button )

TransferableFormComponent( org.das2.dasml.FormCheckBox checkBox )

TransferableFormComponent( org.das2.dasml.FormRadioButtonGroup buttonGroup )

TransferableFormComponent( org.das2.dasml.FormRadioButton radioButton )

TransferableFormComponent( org.das2.dasml.FormTab form )

TransferableFormComponent( org.das2.dasml.FormChoice choice )

TransferableFormComponent( org.das2.dasml.FormList list )

TransferableFormComponent( org.das2.dasml.FormWindow window )


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 on old javadoc] [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 on old javadoc] [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 on old javadoc] [view source]