Package com.teamdev.jxbrowser.view.swing
Interface DragAndDrop
public interface DragAndDrop
Allows managing the drag and drop functionality for the associated
BrowserView
.- Since:
- 7.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
Disables the drag and drop support for the associatedBrowserView
.void
enable()
Enables the drag and drop support for the associatedBrowserView
.boolean
Indicates whether the drag and drop support is enabled for the associatedBrowserView
.
-
Method Details
-
enable
void enable()Enables the drag and drop support for the associatedBrowserView
. Does nothing in case theGraphicsEnvironment.isHeadless()
returns true.- Since:
- 7.4
-
disable
void disable()Disables the drag and drop support for the associatedBrowserView
. Does nothing in case theGraphicsEnvironment.isHeadless()
returns true.- Since:
- 7.4
-
isEnabled
boolean isEnabled()Indicates whether the drag and drop support is enabled for the associatedBrowserView
. By default, the drag and drop support is enabled unless theGraphicsEnvironment.isHeadless()
returns true.- Since:
- 7.4
-