Package limn.backend.lwjgl.transfer
Interface WindowDrag
public interface WindowDrag
One window's part in the system's drags: it begins them, and stops taking them when it closes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidanswerChanged(@Nullable DropAction action) What the window answers the drag over it now, with no move of the pointer to ask it: the content scrolled under the pointer.voidclose()The window is closing.booleanstart(DragRequest request) Begins a drag the system drives.
-
Method Details
-
start
Begins a drag the system drives. UI thread.- Parameters:
request- what is dragged- Returns:
- whether it was taken; the request hears its end
-
answerChanged
What the window answers the drag over it now, with no move of the pointer to ask it: the content scrolled under the pointer. Told to the drag's source as the answer to a move would be, while that drag is over this window and not yet dropped. UI thread.- Parameters:
action- what a widget there would carry out, or null when none takes it
-
close
void close()The window is closing. UI thread.
-