public interface GutterDraggableObject
GutterIconRenderer.getDraggableObject()
Modifier and Type | Field and Description |
---|---|
static java.awt.datatransfer.DataFlavor |
flavor |
Modifier and Type | Method and Description |
---|---|
boolean |
copy(int line,
VirtualFile file,
int actionId)
Called when the icon is dropped over the specified line.
|
java.awt.Cursor |
getCursor(int line,
int actionId)
Returns the cursor to show when the drag is over the specified line.
|
static java.awt.datatransfer.DataFlavor[] |
getFlavors() |
default void |
remove() |
boolean copy(int line, VirtualFile file, int actionId)
line
- the line over which the icon has been dropped.file
- the DnD target fileactionId
- the id of the DnD action DnDConstants
.java.awt.Cursor getCursor(int line, int actionId)
line
- the line over which the drag is performed.actionId
- the id of the DnD action DnDConstants
.default void remove()
static java.awt.datatransfer.DataFlavor[] getFlavors()