Skip to content

DraggableProperty.DraggableType

enum DraggableProperty.DraggableType
Package: dev.joid.lib.ui.node.property · Module: core · Source: DraggableProperty.java

Whether a drag moves the node or a copy of it.

ValueSummary
MOVEThe node follows the mouse, then stays where it is dropped.
COPYA copy follows the mouse above the UI while the node stays in place; the copy disappears on drop.

MOVE

The node follows the mouse, then stays where it is dropped.

COPY

A copy follows the mouse above the UI while the node stays in place; the copy disappears on drop.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page