Package com.teamdev.jxbrowser.view.swt
Interface DragAndDrop
public interface DragAndDrop
Allows managing the drag and drop functionality for the associated
BrowserView.- Since:
- 7.19
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Disables the drag and drop support for the associatedBrowserView.voidDisables the drag-and-drop operations from the outside of the browser.voidenable()Enables the drag and drop support for the associatedBrowserView.voidEnables the drag-and-drop operations from the outside of the browser.booleanIndicates whether the drag and drop support is enabled for the associatedBrowserView.booleanChecks whether the drag-and-drop operations from the outside of the browser is enabled.
-
Method Details
-
enable
void enable()Enables the drag and drop support for the associatedBrowserView. -
disable
void disable()Disables the drag and drop support for the associatedBrowserView. -
isEnabled
boolean isEnabled()Indicates whether the drag and drop support is enabled for the associatedBrowserView.By default, the drag and drop support is enabled.
-
enableExternalDrag
void enableExternalDrag()Enables the drag-and-drop operations from the outside of the browser.- Since:
- 8.1.0
-
disableExternalDrag
void disableExternalDrag()Disables the drag-and-drop operations from the outside of the browser.- Since:
- 8.1.0
-
isExternalDragEnabled
boolean isExternalDragEnabled()Checks whether the drag-and-drop operations from the outside of the browser is enabled.- Since:
- 8.1.0
-